Lines Matching refs:string
37 explicit FileInfo(const string& filename);
49 string filename;
54 explicit TrackedFile(const string& filename);
65 void get_directory_contents(const string& dir, map<string,FileInfo>* results);
67 bool directory_contents_differ(const map<string,FileInfo>& before,
68 const map<string,FileInfo>& after);
70 string escape_quotes(const char* str);
72 string escape_for_commandline(const char* str);
74 string trim(const string& trim);
76 bool starts_with(const string& str, const string& prefix);
78 bool ends_with(const string& str, const string& suffix);
80 void split_lines(vector<string>* result, const string& str);
82 string read_file(const string& filename);
84 bool is_executable(const string& filename);
86 string dirname(const string& filename);
87 string leafname(const string& filename);