Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/llvm/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.cpp27 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 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()
/openbsd-src/gnu/llvm/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.cpp34 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()
H A DVirtualFileSystem.cpp139 std::error_code FileSystem::getRealPath(const Twine &Path, in getRealPath()
144 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
148 bool FileSystem::exists(const Twine &Path) { in exists()
162 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal()
239 void RealFile::setPath(const Twine &Path) { in setPath()
286 Twine adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const { in adjustPath() argument
305 ErrorOr<Status> RealFileSystem::status(const Twine &Path) { in status()
335 std::error_code RealFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory()
352 std::error_code RealFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
358 RealFileSystem::getRealPath(const Twine &Path, in getRealPath()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp99 std::optional<llvm::StringRef> WinSysRoot, std::string &Path, int &Major, in getWindowsSDKDirViaCommandLine()
355 SmallString<256> Path(VCToolChainPath); in getSubDirectoryPath() local
398 std::optional<StringRef> WinSysRoot, std::string &Path, in getWindowsSDKDir()
455 std::string &Path, std::string &UCRTVersion) { in getUniversalCRTSdkDir()
480 std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaCommandLine()
503 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment()
612 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaSetupConfig()
701 bool findVCToolChainViaRegistry(std::string &Path, ToolsetLayout &VSLayout) { in findVCToolChainViaRegistry()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DBuildID.cpp62 SmallString<128> Path{Directory}; in fetch() local
70 SmallString<128> Path = GetDebugPath( in fetch() local
84 SmallString<128> Path = GetDebugPath(Directory); in fetch() local
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DCXXInheritance.cpp82 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isDerivedFrom()
102 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isVirtuallyDerivedFrom()
329 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { in lookupInBases()
363 CXXBasePath &Path, in FindBaseClass()
372 CXXBasePath &Path, in FindVirtualBaseClass()
386 static bool findOrdinaryMember(const CXXRecordDecl *RD, CXXBasePath &Path, in findOrdinaryMember()
403 [Name](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in hasMemberName()
412 CXXBasePath &Path, DeclarationName Name) { in findOrdinaryMemberInDependentClasses()
450 [&](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in lookupDependentName()
/openbsd-src/gnu/llvm/clang/lib/Driver/
H A DToolChain.cpp80 auto addIfExists = [this](path_list &List, const std::string &Path) { in ToolChain()
85 for (const auto &Path : getRuntimePaths()) in ToolChain() local
87 for (const auto &Path : getStdlibPaths()) in ToolChain() local
491 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRTPath() local
560 SmallString<128> Path(getCompilerRTPath()); in getCompilerRT() local
603 SmallString<128> Path(getDriver().ResourceDir); in getArchSpecificLibPath() local
661 std::string Path(A->getValue()); in GetLinkerPath() local
949 const Twine &Path) { in addSystemInclude()
964 const Twine &Path) { in addExternCSystemInclude()
971 const Twine &Path) { in addExternCSystemIncludeIfExists()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp249 std::string getDarwinDWARFResourceForPath(const std::string &Path, in getDarwinDWARFResourceForPath()
260 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC()
320 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
324 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local
343 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject()
362 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject()
440 if (std::optional<std::string> Path = BIDFetcher->fetch(BuildID)) { in getOrFindDebugBinary() local
452 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path, in getOrCreateObjectPair()
490 LLVMSymbolizer::getOrCreateObject(const std::string &Path, in getOrCreateObject()
634 std::string Path; in getOrCreateModuleInfo() local
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp81 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
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DHIPSPV.cpp40 StringRef Path = Args.getLastArgValue(options::OPT_hipspv_pass_plugin_EQ); in findPassPlugin() local
219 for (auto Path : HipDeviceLibPathArgs) in getDeviceLibs() local
224 SmallString<128> Path(HipPath); in getDeviceLibs() local
237 SmallString<128> Path(LibraryPath); in getDeviceLibs() local
252 SmallString<128> Path(LibPath); in getDeviceLibs() local
H A DMipsLinux.cpp59 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
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DLLJITWithRemoteDebugging.cpp154 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
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Debuginfod/
H A DDebuginfod.cpp307 for (StringRef Path : PathsRef) in DebuginfodCollection() local
316 for (const std::string &Path : Paths) { in update() local
365 Error DebuginfodCollection::findBinaries(StringRef Path) { in findBinaries()
435 std::string Path = Loc->getValue(); in getBinaryPath() local
447 std::string Path = Loc->getValue(); in getDebugBinaryPath() local
459 std::optional<std::string> Path = *PathOrErr; in findBinaryPath() local
490 std::optional<std::string> Path = *PathOrErr; in findDebugBinaryPath() local
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h126 std::string Path; // Path to the cache, empty to disable. member
132 void setCacheDir(std::string Path) { CacheOptions.Path = std::move(Path); } in setCacheDir()
188 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } in setSaveTempsDir()
194 void setGeneratedObjectsDirectory(std::string Path) { in setGeneratedObjectsDirectory()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSupport.cpp33 std::string llvm::logicalview::transformPath(StringRef Path) { in transformPath()
50 std::string llvm::logicalview::flattenedFilePath(StringRef Path) { in flattenedFilePath()
/openbsd-src/gnu/llvm/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()
428 llvm::ErrorOr<Status> status(const Twine &Path) override { in status()
432 openFileForRead(const Twine &Path) override { in openFileForRead()
441 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory()
444 std::error_code getRealPath(const Twine &Path, in getRealPath()
448 std::error_code isLocal(const Twine &Path, bool &Result) override { in isLocal()
468 StringRef Path; member
H A DPath.h76 StringRef Path; ///< The entire path. variable
102 StringRef Path; ///< The entire path. variable
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfod-find/
H A Dllvm-debuginfod-find.cpp97 std::string Path; in main() local
121 if (std::optional<std::string> Path = in fetchDebugInfo() local
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DFileSystemStatCache.cpp34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status, in get()
102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status, in getStat()

1234567891011