Home | History | Annotate | Download | only in Fuzzer

Lines Matching refs:Path

23 static long GetEpoch(const std::string &Path) {
25 if (stat(Path.c_str(), &St))
51 Unit FileToVector(const std::string &Path) {
52 std::ifstream T(Path);
54 Printf("No such directory: %s; exiting\n", Path.c_str());
61 std::string FileToString(const std::string &Path) {
62 std::ifstream T(Path);
67 void CopyFileToErr(const std::string &Path) {
68 Printf("%s", FileToString(Path).c_str());
71 void WriteToFile(const Unit &U, const std::string &Path) {
73 FILE *Out = fopen(Path.c_str(), "w");
79 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V,
82 for (auto &X : ListFilesInDir(Path, Epoch)) {
83 auto FilePath = DirPlusFile(Path, X);