| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIO.cpp | 34 long GetEpoch(const std::string &Path) { in GetEpoch() 41 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { in FileToVector() 61 std::string FileToString(const std::string &Path) { in FileToString() 67 void CopyFileToErr(const std::string &Path) { in CopyFileToErr() 71 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() 75 void WriteToFile(const std::string &Data, const std::string &Path) { in WriteToFile() 80 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in WriteToFile() 88 void AppendToFile(const std::string &Data, const std::string &Path) { in AppendToFile() 205 Dir, [](const std::string &Path) {}, in RmDirRecursive() 206 [](const std::string &Path) { RmDir(Path); }, in RmDirRecursive() [all …]
|
| H A D | FuzzerIOPosix.cpp | 27 bool IsFile(const std::string &Path) { in IsFile() 34 bool IsDirectory(const std::string &Path) { in IsDirectory() 41 size_t FileSize(const std::string &Path) { in FileSize() 48 std::string Basename(const std::string &Path) { in Basename() 67 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local 89 std::string Path = DirPlusFile(Dir, E->d_name); in IterateDirRecursive() local 122 void RemoveFile(const std::string &Path) { in RemoveFile() 164 void MkDir(const std::string &Path) { in MkDir() 168 void RmDir(const std::string &Path) { in RmDir()
|
| H A D | FuzzerIOWindows.cpp | 26 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) { in IsFile() 62 bool IsFile(const std::string &Path) { in IsFile() 79 bool IsDirectory(const std::string &Path) { in IsDirectory() 91 std::string Basename(const std::string &Path) { in Basename() 98 size_t FileSize(const std::string &Path) { in FileSize() 119 std::string Path(Dir); in ListFilesInDirRecursive() local 191 std::string Path = DirPlusFile(Dir, FindInfo.cFileName); in IterateDirRecursive() local 229 void RemoveFile(const std::string &Path) { in RemoveFile() 404 void MkDir(const std::string &Path) { in MkDir() 410 void RmDir(const std::string &Path) { in RmDir()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIFetcher.cpp | 26 SmallString<128> Path{Directory}; in fetchBuildID() local 34 SmallString<128> Path = GetDebugPath( in fetchBuildID() local 48 SmallString<128> Path = GetDebugPath(Directory); in fetchBuildID() local
|
| H A D | Symbolize.cpp | 250 std::string getDarwinDWARFResourceForPath(const std::string &Path, in getDarwinDWARFResourceForPath() 261 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC() 356 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local 360 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local 379 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject() 398 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject() 474 auto recordPath = [&](StringRef Path) { in getOrFindDebugBinary() 481 Optional<std::string> Path; in getOrFindDebugBinary() local 501 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path, in getOrCreateObjectPair() 539 LLVMSymbolizer::getOrCreateObject(const std::string &Path, in getOrCreateObject() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Path.cpp | 15 std::string maybeCaseFoldPath(PathRef Path) { return Path.lower(); } in maybeCaseFoldPath() 22 PathRef absoluteParent(PathRef Path) { in absoluteParent() 36 bool pathStartsWith(PathRef Ancestor, PathRef Path, in pathStartsWith()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 34 static bool isCaseSensitivePath(StringRef Path) { in isCaseSensitivePath() 57 SmallVectorImpl<char> &Path) { in updateWithRealPath() 89 static void makeAbsolute(SmallVectorImpl<char> &Path) { in makeAbsolute() 261 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override { in status() 269 openFileForRead(const Twine &Path) override { in openFileForRead() 281 std::error_code getRealPath(const Twine &Path, in getRealPath() 292 std::error_code isLocal(const Twine &Path, bool &Result) override { in isLocal() 300 std::error_code setCurrentWorkingDirectory(const llvm::Twine &Path) override { in setCurrentWorkingDirectory()
|
| H A D | FileOutputBuffer.cpp | 34 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf) in OnDiskBuffer() 75 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() 115 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() 125 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() 156 FileOutputBuffer::create(StringRef Path, size_t Size, unsigned Flags) { in create()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/ |
| H A D | PDB.cpp | 22 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB() 35 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE()
|
| /llvm-project-15.0.7/llvm/unittests/Testing/Support/ |
| H A D | TempPathTest.cpp | 29 std::string Path = Dir1->path().str(); in TEST() local 57 std::string Path = File1->path().str(); in TEST() local 86 std::string Path = Link1->path().str(); in TEST() local
|
| /llvm-project-15.0.7/flang/examples/FlangOmpReport/ |
| H A D | yaml_summarizer.py | 80 def find_yaml_files(search_directory: Path, search_pattern: str): 174 def output_result(yaml: YAML, result, output_file: Path): 193 result_format: str, output_file: Path):
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | FileSystemTest.cpp | 49 ErrorOr<vfs::Status> status(const Twine &Path) override { in status() 57 openFileForRead(const Twine &Path) override { in openFileForRead() 66 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() 71 std::error_code getRealPath(const Twine &Path, in getRealPath() 89 std::string Path; member 131 void addEntry(StringRef Path, const vfs::Status &Status) { in addEntry() 135 void addRegularFile(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addRegularFile() 142 void addDirectory(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addDirectory() 149 void addSymlink(StringRef Path) { in addSymlink()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/ |
| H A D | TweakTests.cpp | 44 for (const auto *Path : RelPaths) in TEST() local 50 for (const auto *Path : RelPaths) { in TEST() local
|
| /llvm-project-15.0.7/clang/lib/DirectoryWatcher/ |
| H A D | DirectoryScanner.cpp | 17 Optional<sys::fs::file_status> getFileStatus(StringRef Path) { in getFileStatus() 25 std::vector<std::string> scanDirectory(StringRef Path) { in scanDirectory()
|
| /llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/ |
| H A D | LLJITWithRemoteDebugging.cpp | 154 std::string Path = in main() local 171 for (const std::string &Path : InputFiles) { in main() local 214 for (const std::string &Path : Dylibs) in main() local
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | MipsLinux.cpp | 59 for (const auto &Path : Callback(SelectedMultilib)) in AddClangSystemIncludeArgs() local 99 for (std::string Path : Callback(SelectedMultilib)) { in addLibCxxIncludePaths() local 124 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRT() local
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | LSPClient.cpp | 174 llvm::json::Value LSPClient::uri(llvm::StringRef Path) { in uri() 180 llvm::json::Value LSPClient::documentID(llvm::StringRef Path) { in documentID() 184 void LSPClient::didOpen(llvm::StringRef Path, llvm::StringRef Content) { in didOpen() 190 void LSPClient::didChange(llvm::StringRef Path, llvm::StringRef Content) { in didChange() 195 void LSPClient::didClose(llvm::StringRef Path) { in didClose() 202 LSPClient::diagnostics(llvm::StringRef Path) { in diagnostics()
|
| H A D | TestFS.cpp | 25 bool pathConsumeFront(PathRef &Path, PathRef Prefix) { in pathConsumeFront() 99 llvm::SmallString<32> Path; in testPath() local 119 llvm::SmallString<16> Path(Body.begin(), Body.end()); in getAbsolutePath() local
|
| H A D | URITests.cpp | 64 auto Path = URI::resolve(U, HintPath); in resolveOrDie() local 168 auto Path = URI::resolvePath(AbsPath, HintPath); in resolvePathOrDie() local 190 auto Path = testPath("x"); in TEST() local 198 auto Path = URI::resolve(parseOrDie(Uri)); in TEST() local
|
| /llvm-project-15.0.7/llvm/lib/WindowsDriver/ |
| H A D | MSVCPaths.cpp | 99 llvm::Optional<llvm::StringRef> WinSysRoot, std::string &Path, int &Major, in getWindowsSDKDirViaCommandLine() 355 SmallString<256> Path(VCToolChainPath); in getSubDirectoryPath() local 398 Optional<StringRef> WinSysRoot, std::string &Path, in getWindowsSDKDir() 453 Optional<StringRef> WinSysRoot, std::string &Path, in getUniversalCRTSdkDir() 479 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaCommandLine() 502 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment() 611 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaSetupConfig() 700 bool findVCToolChainViaRegistry(std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaRegistry()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Path.h | 76 StringRef Path; ///< The entire path. variable 102 StringRef Path; ///< The entire path. variable
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | FileSystemStatCache.cpp | 34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status, in get() 102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status, in getStat()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FS.cpp | 65 openFileForRead(const llvm::Twine &Path) override { in getProducingFS() 79 llvm::ErrorOr<llvm::vfs::Status> status(const llvm::Twine &Path) override { in getProducingFS() 102 llvm::ErrorOr<llvm::vfs::Status> status(const llvm::Twine &Path) override { in getConsumingFS()
|
| /llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/ |
| H A D | LLJITWithThinLTOSummaries.cpp | 81 for (const std::string &Path : ModulePaths) { in log() local 115 for (const std::string &Path : ModulePaths) { in log() local 157 Expected<ThreadSafeModule> loadModule(StringRef Path, in loadModule() 222 StringRef Path = Entry.first(); in main() local
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 83 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isDerivedFrom() 103 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isVirtuallyDerivedFrom() 330 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { in lookupInBases() 364 CXXBasePath &Path, in FindBaseClass() 373 CXXBasePath &Path, in FindVirtualBaseClass() 387 static bool findOrdinaryMember(const CXXRecordDecl *RD, CXXBasePath &Path, in findOrdinaryMember() 404 [Name](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in hasMemberName() 413 CXXBasePath &Path, DeclarationName Name) { in findOrdinaryMemberInDependentClasses() 451 [&](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in lookupDependentName()
|