Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp34 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 DFuzzerIOPosix.cpp28 bool IsFile(const std::string &Path) { in IsFile()
35 bool IsDirectory(const std::string &Path) { in IsDirectory()
42 size_t FileSize(const std::string &Path) { in FileSize()
49 std::string Basename(const std::string &Path) { in Basename()
68 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local
90 std::string Path = DirPlusFile(Dir, E->d_name); in IterateDirRecursive() local
123 void RemoveFile(const std::string &Path) { in RemoveFile()
165 void MkDir(const std::string &Path) { in MkDir()
169 void RmDir(const std::string &Path) { in RmDir()
H A DFuzzerIOWindows.cpp26 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()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp34 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 DFileOutputBuffer.cpp35 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 DVirtualFileSystem.cpp140 std::error_code FileSystem::getRealPath(const Twine &Path, in getRealPath()
145 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
149 bool FileSystem::exists(const Twine &Path) { in exists()
173 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal()
250 void RealFile::setPath(const Twine &Path) { in setPath()
299 Twine adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const { in adjustPath() argument
329 ErrorOr<Status> RealFileSystem::status(const Twine &Path) { in status()
360 std::error_code RealFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory()
377 std::error_code RealFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
382 std::error_code RealFileSystem::getRealPath(const Twine &Path, in getRealPath()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDirectoryScanner.cpp35 SmallString<PATH_MAX> Path(Directory); in scanForUnwrappedLibraries() local
65 static bool isFramework(StringRef Path) { in isFramework()
75 DirectoryScanner::getOrCreateLibrary(StringRef Path, in getOrCreateLibrary()
89 Error DirectoryScanner::scanHeaders(StringRef Path, Library &Lib, in scanHeaders()
183 DirectoryScanner::scanFrameworkVersionsDirectory(StringRef Path, in scanFrameworkVersionsDirectory()
215 llvm::Error DirectoryScanner::scanFrameworkDirectory(StringRef Path, in scanFrameworkDirectory()
292 SmallString<PATH_MAX> Path(Directory); in scanForFrameworks() local
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DBuildID.cpp70 SmallString<128> Path{Directory}; in fetch() local
78 SmallString<128> Path = GetDebugPath( in fetch() local
92 SmallString<128> Path = GetDebugPath(Directory); in fetch() local
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmextern.c305 char *Path) in AcpiDmNormalizeParentPrefix()
647 char *Path, in AcpiDmAddOpToExternalList()
788 char **Path) in AcpiDmRemoveRootPrefix()
897 char *Path, in AcpiDmAddPathToExternalList()
1121 char *Path, in AcpiDmResolveExternal()
1226 char *Path, in AcpiDmAddOneExternalToNamespace()
1557 char *Path) in AcpiDmConflictingDeclaration()
1612 char *Path) in AcpiDmCheckForExternalConflict()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h145 virtual void setPath(const Twine &Path) {} in setPath()
151 std::string Path; variable
156 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry()
286 openFileForReadBinary(const Twine &Path) { in openFileForReadBinary()
461 llvm::ErrorOr<Status> status(const Twine &Path) override { in status()
464 bool exists(const Twine &Path) override { return FS->exists(Path); } in exists()
466 openFileForRead(const Twine &Path) override { in openFileForRead()
475 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory()
478 std::error_code getRealPath(const Twine &Path, in getRealPath()
482 std::error_code isLocal(const Twine &Path, bool &Result) override { in isLocal()
[all …]
H A DPath.h77 StringRef Path; ///< The entire path. variable
103 StringRef Path; ///< The entire path. variable
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp100 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()
467 std::string &Path, std::string &UCRTVersion) { in getUniversalCRTSdkDir()
498 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaCommandLine()
521 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment()
632 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaSetupConfig()
727 bool findVCToolChainViaRegistry(std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaRegistry()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDB.cpp22 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB()
35 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DGetDylibInterface.cpp21 Twine Path) { in getDylibInterfaceFromDylib()
78 Twine Path) { in getDylibInterfaceFromTapiFile()
110 Expected<SymbolNameSet> getDylibInterface(ExecutionSession &ES, Twine Path) { in getDylibInterface()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp94 auto addIfExists = [this](path_list &List, const std::string &Path) { in ToolChain()
99 if (std::optional<std::string> Path = getRuntimePath()) in ToolChain() local
101 if (std::optional<std::string> Path = getStdlibPath()) in ToolChain() local
103 for (const auto &Path : getArchSpecificLibPaths()) in ToolChain() local
705 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRTPath() local
770 SmallString<128> Path; in getCompilerRT() local
840 auto AddLibSearchPathIfExists = [&](const Twine &Path) { in addFortranRuntimeLibraryPath()
946 if (auto Path = getPathForTriple(T)) in getTargetSubDirPath() local
959 if (auto Path = getPathForTriple(AIXTriple)) in getTargetSubDirPath() local
967 if (auto Path = getPathForTriple(TripleWithoutVersion)) in getTargetSubDirPath() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp57 for (const auto &Path : Callback(SelectedMultilibs.back())) in AddClangSystemIncludeArgs() local
96 for (std::string Path : Callback(SelectedMultilibs.back())) { in addLibCxxIncludePaths() local
121 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRT() local
H A DVEToolchain.cpp52 if (std::optional<std::string> Path = getStdlibPath()) in VEToolChain() local
54 for (const auto &Path : getArchSpecificLibPaths()) in VEToolChain() local
146 if (std::optional<std::string> Path = getStdlibPath()) { in AddCXXStdlibLibArgs() local
H A DHIPSPV.cpp39 StringRef Path = Args.getLastArgValue(options::OPT_hipspv_pass_plugin_EQ); in findPassPlugin() local
214 for (auto Path : HipDeviceLibPathArgs) in getDeviceLibs() local
219 SmallString<128> Path(HipPath); in getDeviceLibs() local
233 SmallString<128> Path(LibraryPath); in getDeviceLibs() local
250 SmallString<128> Path(LibPath); in getDeviceLibs() local
H A DAVR.cpp506 SmallString<256> Path(ToolChain::getCompilerRTPath()); in getCompilerRT() local
634 std::string Path(*AVRLibcRoot + "/lib/ldscripts/"); in ConstructJob() local
665 std::string Path(GCCParent + "/avr"); in findAVRLibcInstallation() local
675 std::string Path = getDriver().SysRoot + PossiblePath.str(); in findAVRLibcInstallation() local
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DUtils.h77 inline bool isInToolchainDir(StringRef Path) { in isInToolchainDir()
98 inline bool isPathAbsoluteOnWindowsOrPosix(const Twine &Path) { in isPathAbsoluteOnWindowsOrPosix()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DASTSourceDescriptor.h30 StringRef Path; variable
37 ASTSourceDescriptor(StringRef Name, StringRef Path, StringRef ASTFile, in ASTSourceDescriptor()
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/
H A DDirectoryScanner.cpp18 std::optional<sys::fs::file_status> getFileStatus(StringRef Path) { in getFileStatus()
26 std::vector<std::string> scanDirectory(StringRef Path) { in scanDirectory()
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/
H A DDirectoryWatcher-mac.cpp114 StringRef Path = ((const char **)EventPaths)[i]; in eventStreamCallback() local
161 StringRef Path, in createFSEventStream()
217 StringRef Path, in create()
260 StringRef Path, in create()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp303 std::string getDarwinDWARFResourceForPath(const std::string &Path, in getDarwinDWARFResourceForPath()
314 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC()
374 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
378 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local
397 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject()
416 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject()
492 if (std::optional<std::string> Path = BIDFetcher->fetch(BuildID)) { in getOrFindDebugBinary() local
503 std::string LLVMSymbolizer::lookUpGsymFile(const std::string &Path) { in lookUpGsymFile()
532 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path, in getOrCreateObjectPair()
570 LLVMSymbolizer::getOrCreateObject(const std::string &Path, in getOrCreateObject()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h134 std::string Path; // Path to the cache, empty to disable. member
140 void setCacheDir(std::string Path) { CacheOptions.Path = std::move(Path); } in setCacheDir()
196 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } in setSaveTempsDir()
202 void setGeneratedObjectsDirectory(std::string Path) { in setGeneratedObjectsDirectory()

12345678910>>...12