| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.cpp | 106 void DataFlowTrace::ReadCoverage(const std::string &DirPath) { in ReadCoverage() argument 108 GetSizedFilesFromDir(DirPath, &Files); in ReadCoverage() 163 if (DirPath.empty()) return false; in Init() 164 Printf("INFO: DataFlowTrace: reading from '%s'\n", DirPath.c_str()); in Init() 166 GetSizedFilesFromDir(DirPath, &Files); in Init() 176 std::ifstream IF(DirPlusFile(DirPath, kFunctionsTxt)); in Init() 192 ReadCoverage(DirPath); in Init() 252 DFTBinary.c_str(), DirPath.c_str(), CorporaFiles.size()); in CollectDataFlow() 260 MkDir(DirPath); in CollectDataFlow() 267 auto OutPath = DirPlusFile(DirPath, Hash(FileToVector(F.File))); in CollectDataFlow() [all …]
|
| H A D | FuzzerDataFlowTrace.h | 41 int CollectDataFlow(const std::string &DFTBinary, const std::string &DirPath, 118 void ReadCoverage(const std::string &DirPath); 119 bool Init(const std::string &DirPath, std::string *FocusFunction,
|
| H A D | FuzzerIO.cpp | 131 std::string DirPlusFile(const std::string &DirPath, in DirPlusFile() argument 133 return DirPath + GetSeparator() + FileName; in DirPlusFile()
|
| H A D | FuzzerIO.h | 40 std::string DirPlusFile(const std::string &DirPath,
|
| /llvm-project-15.0.7/clang/include/clang/IndexSerialization/ |
| H A D | SerializablePathCollection.h | 53 struct DirPath { struct 57 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path) in DirPath() argument 62 DirPath Dir; 65 FilePath(const DirPath &Dir, const StringPool::StringOffsetSize &Filename) in FilePath() 92 llvm::StringMap<PathPool::DirPath, llvm::BumpPtrAllocator> UniqueDirs; 123 PathPool::DirPath tryStoreDirPath(llvm::StringRef dirStr);
|
| /llvm-project-15.0.7/clang/lib/IndexSerialization/ |
| H A D | SerializablePathCollection.cpp | 25 FilePaths.emplace_back(DirPath(Root, Dir), Paths.add(Filename)); in addFilePath() 61 PathPool::DirPath SerializablePathCollection::tryStoreDirPath(StringRef Dir) { in tryStoreDirPath() 88 PathPool::DirPath Result(Root, Paths.addDirPath(Dir)); in tryStoreDirPath()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 319 llvm::StringRef DirPath = llvm::sys::path::parent_path(HeaderPath); in add() local 320 if (!HS.getFileMgr().getVirtualFileSystem().getRealPath(DirPath, Path)) in add()
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 82 llvm::SmallString<32> DirPath(Dir.begin(), Dir.end()); in getRelativeIncludeName() local 83 FS.makeAbsolute(DirPath); in getRelativeIncludeName() 84 path::remove_dots(DirPath, true); in getRelativeIncludeName() 85 Dir = DirPath; in getRelativeIncludeName()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 1900 llvm::SmallString<32> DirPath(Dir.begin(), Dir.end()); in suggestPathToFileForDiagnostics() local 1902 fs::make_absolute(WorkingDir, DirPath); in suggestPathToFileForDiagnostics() 1903 path::remove_dots(DirPath, /*remove_dot_dot=*/true); in suggestPathToFileForDiagnostics() 1904 Dir = DirPath; in suggestPathToFileForDiagnostics()
|
| /llvm-project-15.0.7/bolt/runtime/ |
| H A D | instr.cpp | 615 const char DirPath[] = "/proc/self/map_files/"; in getBinaryPath() local 626 uint64_t FDdir = __open(DirPath, in getBinaryPath() 645 char *C = strCopy(FindBuf, DirPath, NameMax); in getBinaryPath()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1989 static std::vector<std::string> getAllowListFilenames(StringRef DirPath) { in getAllowListFilenames() argument 1994 if (DirPath.empty() || !is_directory(DirPath)) in getAllowListFilenames() 1998 directory_iterator DI = directory_iterator(DirPath, EC); in getAllowListFilenames()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 1287 RedirectingFSDirRemapIterImpl(std::string DirPath, in RedirectingFSDirRemapIterImpl() argument 1289 : Dir(std::move(DirPath)), DirStyle(getExistingStyle(Dir)), in RedirectingFSDirRemapIterImpl()
|