Lines Matching refs:std
45 extern void (*trigger_shutdown)(const std::string& command);
47 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid,
48 gid_t gid, const std::string& socketcon);
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);
55 bool mkdir_recursive(const std::string& pathname, mode_t mode);
56 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
57 void ImportKernelCmdline(const std::function<void(const std::string&, const std::string&)>&);
58 bool make_dir(const std::string& path, mode_t mode);
60 Result<std::string> ExpandProps(const std::string& src);
64 const std::string& get_android_dt_dir();
66 bool read_android_dt_file(const std::string& sub_path, std::string* dt_content);
67 bool is_android_dt_value_expected(const std::string& sub_path, const std::string& expected_content);
69 bool IsLegalPropertyName(const std::string& name);
70 Result<void> IsLegalPropertyValue(const std::string& name, const std::string& value);
73 std::string target;
78 std::string ref_option;
81 Result<MkdirOptions> ParseMkdir(const std::vector<std::string>& args);
84 std::vector<std::string> rc_paths;
85 std::string fstab_path;
90 Result<MountAllOptions> ParseMountAll(const std::vector<std::string>& args);
92 Result<std::pair<int, std::vector<std::string>>> ParseRestorecon(
93 const std::vector<std::string>& args);
95 Result<std::string> ParseSwaponAll(const std::vector<std::string>& args);
97 Result<std::string> ParseUmountAll(const std::vector<std::string>& args);