Lines Matching refs:Result
47 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid,
50 Result<std::string> ReadFile(const std::string& path);
51 Result<void> WriteFile(const std::string& path, const std::string& content);
53 Result<uid_t> DecodeUid(const std::string& name);
60 Result<std::string> ExpandProps(const std::string& src);
70 Result<void> IsLegalPropertyValue(const std::string& name, const std::string& value);
81 Result<MkdirOptions> ParseMkdir(const std::vector<std::string>& args);
90 Result<MountAllOptions> ParseMountAll(const std::vector<std::string>& args);
92 Result<std::pair<int, std::vector<std::string>>> ParseRestorecon(
95 Result<std::string> ParseSwaponAll(const std::vector<std::string>& args);
97 Result<std::string> ParseUmountAll(const std::vector<std::string>& args);