Home | History | Annotate | Download | only in aidl

Lines Matching refs:string

35 using std::string;
44 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) {
61 "empty string.";
83 unique_ptr<string> IoDelegate::GetFileContents(
84 const string& filename,
85 const string& content_suffix) const {
86 unique_ptr<string> contents;
91 contents.reset(new string);
96 // Read the file contents into the beginning of the string
106 const string& file_path) const {
110 bool IoDelegate::FileIsReadable(const string& path) const {
121 const string& caller_base_dir,
122 const vector<string>& nested_subdirs) const {
123 string base_dir = caller_base_dir;
127 for (const string& subdir : nested_subdirs) {
149 bool IoDelegate::CreatePathForFile(const string& path) const {
154 string absolute_path;
159 auto directories = Split(absolute_path, string{1u, OS_PATH_SEPARATOR});
163 // string after splitting "/foo" with "/"
164 string base = directories[0];
177 const string& file_path) const {
181 void IoDelegate::RemovePath(const std::string& file_path) const {