Lines Matching defs:const
19 long GetEpoch(const std::string &Path);
21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0,
24 std::string FileToString(const std::string &Path);
26 void CopyFileToErr(const std::string &Path);
28 void WriteToFile(const Unit &U, const std::string &Path);
30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V,
34 std::string DirPlusFile(const std::string &DirPath,
35 const std::string &FileName);
38 std::string DirName(const std::string &FileName);
43 bool IsInterestingCoverageFile(const std::string &FileName);
49 void Printf(const char *Fmt, ...);
52 void RawPrint(const char *Str);
55 bool IsFile(const std::string &Path);
56 size_t FileSize(const std::string &Path);
58 void ListFilesInDirRecursive(const std::string &Dir, long *Epoch,
64 bool operator<(const SizedFile &B) const { return Size < B.Size; }
67 void GetSizedFilesFromDir(const std::string &Dir, Vector<SizedFile> *V);
71 std::string Basename(const std::string &Path);
73 FILE* OpenFile(int Fd, const char *Mode);
79 void RemoveFile(const std::string &Path);