Lines Matching defs:String

84 typedef std::string String;
133 String path;
138 String baseName;
143 String suffix;
159 std::map<String, FileRec *> files;
242 String trim(const String &val);
247 String getSuffix(const String &fname);
252 void parseName(const String &fullname,
253 String &path,
254 String &basename,
255 String &suffix);
270 int getword(int pos, String &ret);
280 bool listFilesInDirectory(const String &dirname, int depth);
305 bool addIncludeFile(FileRec *frec, const String &fname);
310 bool scanFile(const String &fname, FileRec *frec);
323 String &fname,
329 std::set<String> excludes;
334 std::set<String> excludesUsed;
339 std::set<String> excludesUnused;
344 std::vector<String> directories;
350 std::map<String, FileRec *> allFiles;
356 std::map<String, FileRec *> refFiles;
362 std::map<String, FileRec *> depFiles;
400 std::map<String, FileRec *>::iterator iter;
462 String DepTool::trim(const String &s)
484 String res = s.substr(begin, end-begin+1);
492 void DepTool::parseName(const String &fullname,
493 String &path,
494 String &basename,
495 String &suffix)
500 String::size_type pos = fullname.find_last_of('/');
528 String DepTool::getSuffix(const String &fname)
532 String::size_type pos = fname.find_last_of('.');
536 String res = fname.substr(pos, fname.size()-pos);
551 bool DepTool::listFilesInDirectory(const String &dirname, int depth)
558 std::vector<String> subdirs;
565 String s = de->d_name;
567 String fname;
597 String path;
598 String basename;
599 String sfx;
655 String s = readBuf;
667 std::set<String>::iterator iter;
670 String fname = *iter;
671 std::set<String>::iterator citer = excludesUsed.find(fname);
719 int DepTool::getword(int pos, String &ret)
756 bool DepTool::addIncludeFile(FileRec *frec, const String &iname)
759 std::map<String, FileRec *>::iterator iter =
772 std::vector<String>::iterator diter;
776 String dfname = *diter;
799 bool DepTool::scanFile(const String &fname, FileRec *frec)
807 String buf;
860 String iname;
887 std::map<String, FileRec *>::iterator iter;
890 String fname = iter->first;
914 String &fname,
917 std::map<String, FileRec *>::iterator iter;
921 std::map<String, FileRec *>::iterator fiter =
925 String cfname = iter->first;
948 std::map<String, FileRec *>::iterator iter;
965 String cFileName = iter->first;
970 String fname = include->path;
985 String fname = iter->first;
1050 std::map<String, FileRec *>::iterator iter;
1061 std::set<String>::iterator uiter;
1064 String fname = *uiter;
1075 String fname = *uiter;
1126 std::vector<String>::iterator inciter;
1129 String dirname = *inciter;
1142 std::map<String, FileRec *>::iterator oiter;
1148 String fname = frec->path;
1166 std::map<String, FileRec *>::iterator iter;
1172 String fname = iter->first;
1174 std::map<String, FileRec *>::iterator citer;
1177 String cfname = citer->first;
1207 std::vector<String>::iterator inciter;
1211 String dirname = *inciter;
1221 std::map<String, FileRec *>::iterator oiter;
1228 String fname = frec->path;
1242 std::map<String, FileRec *>::iterator iter;
1248 String fname = iter->first;
1250 std::map<String, FileRec *>::iterator citer;
1253 String cfname = citer->first;
1302 std::map<String, FileRec *>::iterator iter;
1308 String fname = iter->first;
1310 std::map<String, FileRec *>::iterator citer;
1313 String cfname = citer->first;
1340 std::map<String, FileRec *>::iterator iter;
1346 String fname = iter->first;
1348 std::map<String, FileRec *>::iterator citer;
1351 String cfname = citer->first;
1403 std::map<String, FileRec *>::iterator oiter;
1410 String fname = frec->path;