Home
last modified time | relevance | path

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

12345678910

/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.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()
/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.cpp34 OnDiskBuffer(StringRef Path,fs::TempFile Temp,fs::mapped_file_region Buf) OnDiskBuffer() argument
75 InMemoryBuffer(StringRef Path,MemoryBlock Buf,std::size_t BufSize,unsigned Mode) InMemoryBuffer() argument
115 createInMemoryBuffer(StringRef Path,size_t Size,unsigned Mode) createInMemoryBuffer() argument
125 createOnDiskBuffer(StringRef Path,size_t Size,unsigned Mode) createOnDiskBuffer() argument
156 create(StringRef Path,size_t Size,unsigned Flags) create() argument
[all...]
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()
297 Twine adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const { in adjustPath() argument
316 ErrorOr<Status> RealFileSystem::status(const Twine &Path) { in status()
348 std::error_code RealFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory()
365 std::error_code RealFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
370 std::error_code RealFileSystem::getRealPath(const Twine &Path, in getRealPath()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDirectoryScanner.cpp36 SmallString<PATH_MAX> Path(Directory); in scanForUnwrappedLibraries() local
66 static bool isFramework(StringRef Path) { in isFramework()
76 DirectoryScanner::getOrCreateLibrary(StringRef Path, in getOrCreateLibrary()
90 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()
291 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/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()
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()
/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/clang/lib/Sema/
H A DCheckExprLifetime.cpp214 IndirectLocalPath &Path; member
224 static bool isVarOnPath(IndirectLocalPath &Path, VarDecl *VD) { in isVarOnPath()
231 static bool pathContainsInit(IndirectLocalPath &Path) { in pathContainsInit()
329 static void handleGslAnnotatedTypes(IndirectLocalPath &Path, Expr *Call, in handleGslAnnotatedTypes()
426 static void visitLifetimeBoundArguments(IndirectLocalPath &Path, Expr *Call, in visitLifetimeBoundArguments()
493 static void visitLocalsRetainedByReferenceBinding(IndirectLocalPath &Path, in visitLocalsRetainedByReferenceBinding()
637 static void visitLocalsRetainedByInitializer(IndirectLocalPath &Path, in visitLocalsRetainedByInitializer()
675 [&](IndirectLocalPath &Path, Local L, ReferenceKind RK) -> bool { in visitLocalsRetainedByInitializer()
928 shouldLifetimeExtendThroughPath(const IndirectLocalPath &Path) { in shouldLifetimeExtendThroughPath()
940 static SourceRange nextPathEntryRange(const IndirectLocalPath &Path, unsigned I, in nextPathEntryRange()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp59 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
H A DHIPSPV.cpp40 StringRef Path = Args.getLastArgValue(options::OPT_hipspv_pass_plugin_EQ); in findPassPlugin() local
215 for (auto Path : HipDeviceLibPathArgs) in getDeviceLibs() local
220 SmallString<128> Path(HipPath); in getDeviceLibs() local
233 SmallString<128> Path(LibraryPath); in getDeviceLibs() local
248 SmallString<128> Path(LibPath); in getDeviceLibs() local
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp82 [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()
/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/Driver/
H A DToolChain.cpp93 auto addIfExists = [this](path_list &List, const std::string &Path) { in ToolChain()
98 if (std::optional<std::string> Path = getRuntimePath()) in ToolChain() local
100 if (std::optional<std::string> Path = getStdlibPath()) in ToolChain() local
102 for (const auto &Path : getArchSpecificLibPaths()) in ToolChain() local
622 SmallString<128> Path(getDriver().ResourceDir); in getCompilerRTPath() local
682 SmallString<128> Path; in getCompilerRT() local
769 if (auto Path = getPathForTriple(getTriple())) in getTargetSubDirPath() local
790 if (auto Path = getPathForTriple(ArmTriple)) in getTargetSubDirPath() local
828 SmallString<128> Path(getDriver().ResourceDir); in getArchSpecificLibPaths() local
893 std::string Path(A->getValue()); in GetLinkerPath() local
[all …]
/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/include/llvm/Support/
H A DPath.h76 StringRef Path; ///< The entire path. variable
102 StringRef Path; ///< The entire path. variable
H A DVirtualFileSystem.h143 virtual void setPath(const Twine &Path) {} in setPath()
149 std::string Path; variable
154 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry()
444 llvm::ErrorOr<Status> status(const Twine &Path) override { in status()
447 bool exists(const Twine &Path) override { return FS->exists(Path); } in exists()
449 openFileForRead(const Twine &Path) override { in openFileForRead()
458 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory()
461 std::error_code getRealPath(const Twine &Path, in getRealPath()
465 std::error_code isLocal(const Twine &Path, bool &Result) override { in isLocal()
491 StringRef Path; member
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp298 std::string getDarwinDWARFResourceForPath(const std::string &Path, in getDarwinDWARFResourceForPath()
309 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC()
369 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
373 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local
392 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject()
411 ObjectFile *LLVMSymbolizer::lookUpBuildIDObject(const std::string &Path, in lookUpBuildIDObject()
487 if (std::optional<std::string> Path = BIDFetcher->fetch(BuildID)) { in getOrFindDebugBinary() local
499 LLVMSymbolizer::getOrCreateObjectPair(const std::string &Path, in getOrCreateObjectPair()
537 LLVMSymbolizer::getOrCreateObject(const std::string &Path, in getOrCreateObject()
705 std::string Path; in getOrCreateModuleInfo() local

12345678910