Lines Matching refs:string

39 map_contains(const map<string,string>& m, const string& k, const string& v) {  in map_contains()  argument
40 map<string,string>::const_iterator it = m.find(k); in map_contains()
47 static string
48 make_cache_filename(const string& outDir) in make_cache_filename()
50 string filename(outDir); in make_cache_filename()
55 Module::HasClass(const string& cl) in HasClass()
57 for (vector<string>::const_iterator c = classes.begin(); c != classes.end(); c++) { in HasClass()
66 BuildVars::BuildVars(const string& outDir, const string& buildProduct, in BuildVars()
67 const string& buildVariant, const string& buildType) in BuildVars()
101 map<string,string> cache; in BuildVars()
103 vector<string> names = json.getMemberNames(); in BuildVars()
106 const string& name = names[i]; in BuildVars()
139 for (map<string,string>::const_iterator it = m_cache.begin(); it != m_cache.end(); it++) { in save()
147 string
148 BuildVars::GetBuildVar(const string& name, bool quiet) in GetBuildVar()
152 map<string,string>::iterator it = m_cache.find(name); in GetBuildVar()
158 string output = trim(get_command_output(cmd, &err, quiet)); in GetBuildVar()
164 return string(); in GetBuildVar()
172 json_error(const string& filename, const char* error, bool quiet) in json_error()
182 get_values(const Json::Value& json, const string& name, vector<string>* result) in get_values()
201 read_modules(const string& buildOut, const string& device, map<string,Module>* result, bool quiet) in read_modules() argument
203 string filename(string(buildOut + "/target/product/") + device + "/module-info.json"); in read_modules()
226 vector<string> names = json.getMemberNames(); in read_modules()
229 const string& name = names[i]; in read_modules()
245 string cl = module.classes[i]; in read_modules()
257 string fn = module.installed[i]; in read_modules()
271 build_goals(const vector<string>& goals) in build_goals()