/llvm-project/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() 93 void AppendToFile(const uint8_t *Data, size_t Size, const std::string &Path) { in AppendToFile() 101 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V, long *Epoch, in ReadDirToVectorOfUnits() [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/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/llvm/lib/Support/ |
H A D | FileCollector.cpp | 34 static bool isCaseSensitivePath(StringRef Path) { in isCaseSensitivePath() 59 SmallVectorImpl<char> &Path) { in updateWithRealPath() 91 static void makeAbsolute(SmallVectorImpl<char> &Path) { in makeAbsolute() 263 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override { in status() 271 openFileForRead(const Twine &Path) override { in openFileForRead() 283 std::error_code getRealPath(const Twine &Path, in getRealPath() 294 std::error_code isLocal(const Twine &Path, bool &Result) override { in isLocal() 302 std::error_code setCurrentWorkingDirectory(const llvm::Twine &Path) override { in setCurrentWorkingDirectory()
|
H A D | FileOutputBuffer.cpp | 35 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf) in OnDiskBuffer() 78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() 118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() 128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() 159 FileOutputBuffer::create(StringRef Path, size_t Size, unsigned Flags) { in create()
|
H A D | VirtualFileSystem.cpp | 140 std::error_code FileSystem::getRealPath(const Twine &Path, in getRealPath() argument 145 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal() argument 149 bool FileSystem::exists(const Twine &Path) { in exists() argument 173 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal() argument 250 setPath(const Twine & Path) setPath() argument 297 adjustPath(const Twine & Path,SmallVectorImpl<char> & Storage) const adjustPath() argument 316 status(const Twine & Path) status() argument 348 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument 365 isLocal(const Twine & Path,bool & Result) isLocal() argument 370 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) getRealPath() argument 402 RealFSDirIter(const Twine & Path,std::error_code & EC) RealFSDirIter() argument 441 status(const Twine & Path) status() argument 451 exists(const Twine & Path) exists() argument 461 openFileForRead(const llvm::Twine & Path) openFileForRead() argument 478 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument 485 isLocal(const Twine & Path,bool & Result) isLocal() argument 492 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) getRealPath() argument 678 InMemoryHardLink(StringRef Path,const InMemoryFile & ResolvedFile) InMemoryHardLink() argument 701 InMemorySymbolicLink(StringRef Path,StringRef TargetPath,Status Stat) InMemorySymbolicLink() argument 747 setPath(const Twine & Path) setPath() argument 847 SmallString<128> Path; addFile() local 957 SmallString<128> Path; lookupNode() local 1068 status(const Twine & Path) status() argument 1076 openFileForRead(const Twine & Path) openFileForRead() argument 1100 SmallString<256> Path(RequestedDirName); setCurrentEntry() local 1162 SmallString<128> Path; setCurrentWorkingDirectory() local 1178 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) getRealPath() argument 1190 isLocal(const Twine & Path,bool & Result) isLocal() argument 1210 getExistingStyle(llvm::StringRef Path) getExistingStyle() argument 1222 canonicalize(llvm::StringRef Path) canonicalize() argument 1288 RedirectingFSDirIterImpl(const Twine & Path,RedirectingFileSystem::DirectoryEntry::iterator Begin,RedirectingFileSystem::DirectoryEntry::iterator End,std::error_code & EC) RedirectingFSDirIterImpl() argument 1346 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument 1361 SmallString<256> Path; isLocal() local 1428 SmallString<256> Path; dir_begin() local 2415 SmallString<256> Path; status() local 2452 SmallString<256> Path; exists() local 2520 setPath(const Twine & Path) setPath() argument 2541 SmallString<256> Path; openFileForRead() local 2603 SmallString<256> Path; getRealPath() local 2661 getVFSEntries(RedirectingFileSystem::Entry * SrcE,SmallVectorImpl<StringRef> & Path,SmallVectorImpl<YAMLVFSEntry> & Entries) getVFSEntries() argument 2766 containedIn(StringRef Parent,StringRef Path) containedIn() argument 2780 containedPart(StringRef Parent,StringRef Path) containedPart() argument 2786 startDirectory(StringRef Path) startDirectory() argument 2911 recursive_directory_iterator(FileSystem & FS_,const Twine & Path,std::error_code & EC) recursive_directory_iterator() argument [all...] |
/llvm-project/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/llvm/lib/Object/ |
H A D | BuildID.cpp | 70 SmallString<128> Path{Directory}; in fetch() local 78 SmallString<128> Path = GetDebugPath( in fetch() local 92 SmallString<128> Path = GetDebugPath(Directory); in fetch() local [all...] |
/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/ |
H A D | LLJITWithRemoteDebugging.cpp | 156 std::string Path = in main() local 173 for (const std::string &Path : InputFiles) { in main() local 188 for (const std::string &Path : Dylibs) in main() local
|
/llvm-project/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/clang/lib/InstallAPI/ |
H A D | DirectoryScanner.cpp | 36 SmallString<PATH_MAX> Path(Directory); in scanForUnwrappedLibraries() local 66 static bool isFramework(StringRef Path) { in isFramework() argument 76 DirectoryScanner::getOrCreateLibrary(StringRef Path, in getOrCreateLibrary() argument 90 scanHeaders(StringRef Path,Library & Lib,HeaderType Type,StringRef BasePath,StringRef ParentPath) const scanHeaders() argument 183 scanFrameworkVersionsDirectory(StringRef Path,Library & Lib) const scanFrameworkVersionsDirectory() argument 215 scanFrameworkDirectory(StringRef Path,Library & Framework) const scanFrameworkDirectory() argument 291 SmallString<PATH_MAX> Path(Directory); scanForFrameworks() local [all...] |
/llvm-project/clang/unittests/InstallAPI/ |
H A D | HeaderFileTest.cpp | 18 const char *Path = "/System/Library/Frameworks/Foo.framework/Headers/Foo.h"; in TEST() local 71 const char *Path = "/usr/include/foo.h"; in TEST() local
|
/llvm-project/lldb/unittests/Host/ |
H A D | FileSystemTest.cpp | 49 ErrorOr<vfs::Status> status(const Twine &Path) override { in status() 62 openFileForRead(const Twine &Path) override { in openFileForRead() 71 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() 76 std::error_code getRealPath(const Twine &Path, in getRealPath() 94 std::string Path; member 136 void addEntry(StringRef Path, const vfs::Status &Status) { in addEntry() 140 void addRegularFile(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addRegularFile() 147 void addDirectory(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { in addDirectory() 154 void addSymlink(StringRef Path) { in addSymlink() 161 void addBrokenSymlink(StringRef Path) { in addBrokenSymlink()
|
/llvm-project/flang/examples/FlangOmpReport/ |
H A D | yaml_summarizer.py | 81 def find_yaml_files(search_directory: Path, search_pattern: str): 186 def output_result(yaml: YAML, result, output_file: Path): 206 search_directories: list, search_pattern: str, result_format: str, output_file: Path
|
/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | Utils.h | 77 inline bool isInToolchainDir(StringRef Path) { in isInToolchainDir() 98 inline bool isPathAbsoluteOnWindowsOrPosix(const Twine &Path) { in isPathAbsoluteOnWindowsOrPosix()
|
/llvm-project/clang/include/clang/Basic/ |
H A D | ASTSourceDescriptor.h | 30 StringRef Path; variable 37 ASTSourceDescriptor(StringRef Name, StringRef Path, StringRef ASTFile, in ASTSourceDescriptor()
|
/llvm-project/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/clang/lib/Driver/ToolChains/ |
H A D | MipsLinux.cpp | 59 for (const auto &Path : Callback(SelectedMultilibs.back())) in AddClangSystemIncludeArgs() local 98 for (std::string Path : Callback(SelectedMultilibs.back())) { in addLibCxxIncludePaths() local 123 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRT() local
|
/llvm-project/clang/lib/DirectoryWatcher/ |
H A D | DirectoryScanner.cpp | 18 std::optional<sys::fs::file_status> getFileStatus(StringRef Path) { in getFileStatus() 26 std::vector<std::string> scanDirectory(StringRef Path) { in scanDirectory()
|
/llvm-project/llvm/lib/WindowsDriver/ |
H A D | MSVCPaths.cpp | 100 std::optional<llvm::StringRef> WinSysRoot, std::string &Path, int &Major, in getWindowsSDKDirViaCommandLine() 360 SmallString<256> Path(VCToolChainPath); in getSubDirectoryPath() local 403 std::optional<StringRef> WinSysRoot, std::string &Path, in getWindowsSDKDir() 460 std::string &Path, std::string &UCRTVersion) { in getUniversalCRTSdkDir() 485 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaCommandLine() 508 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment() 619 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaSetupConfig() 714 bool findVCToolChainViaRegistry(std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaRegistry()
|
/llvm-project/llvm/tools/llvm-debuginfod-find/ |
H A D | llvm-debuginfod-find.cpp | 98 std::string Path; main() local 122 if (std::optional<std::string> Path = fetchDebugInfo() local
|
/llvm-project/libcxx/test/libcxx/ |
H A D | transitive_includes_to_csv.py |
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | LSPClient.cpp | 219 llvm::json::Value LSPClient::uri(llvm::StringRef Path) { in uri() 225 llvm::json::Value LSPClient::documentID(llvm::StringRef Path) { in documentID() 229 void LSPClient::didOpen(llvm::StringRef Path, llvm::StringRef Content) { in didOpen() 235 void LSPClient::didChange(llvm::StringRef Path, llvm::StringRef Content) { in didChange() 240 void LSPClient::didClose(llvm::StringRef Path) { in didClose() 247 LSPClient::diagnostics(llvm::StringRef Path) { in diagnostics()
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Path.h | 76 StringRef Path; ///< The entire path. variable 102 StringRef Path; ///< The entire path. variable [all...] |