Home
last modified time | relevance | path

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

1234567891011

/freebsd-src/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-src/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp34 static bool isCaseSensitivePath(StringRef Path) { in isCaseSensitivePath() argument
59 SmallVectorImpl<char> &Path) { in updateWithRealPath() argument
91 makeAbsolute(SmallVectorImpl<char> & Path) makeAbsolute() argument
263 status(const Twine & Path) status() argument
271 openFileForRead(const Twine & Path) openFileForRead() argument
283 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) const getRealPath() argument
294 isLocal(const Twine & Path,bool & Result) isLocal() argument
302 setCurrentWorkingDirectory(const llvm::Twine & Path) setCurrentWorkingDirectory() argument
[all...]
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() 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
163 pathHasTraversal(StringRef Path) pathHasTraversal() argument
240 setPath(const Twine & Path) setPath() argument
287 adjustPath(const Twine & Path,SmallVectorImpl<char> & Storage) const adjustPath() argument
306 status(const Twine & Path) status() argument
338 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument
355 isLocal(const Twine & Path,bool & Result) isLocal() argument
361 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) const getRealPath() argument
393 RealFSDirIter(const Twine & Path,std::error_code & EC) RealFSDirIter() argument
432 status(const Twine & Path) status() argument
443 openFileForRead(const llvm::Twine & Path) openFileForRead() argument
460 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument
467 isLocal(const Twine & Path,bool & Result) isLocal() argument
475 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) const getRealPath() argument
654 InMemoryHardLink(StringRef Path,const InMemoryFile & ResolvedFile) InMemoryHardLink() argument
677 InMemorySymbolicLink(StringRef Path,StringRef TargetPath,Status Stat) InMemorySymbolicLink() argument
723 setPath(const Twine & Path) setPath() argument
823 SmallString<128> Path; addFile() local
932 SmallString<128> Path; lookupNode() local
1043 status(const Twine & Path) status() argument
1051 openFileForRead(const Twine & Path) openFileForRead() argument
1075 SmallString<256> Path(RequestedDirName); setCurrentEntry() local
1137 SmallString<128> Path; setCurrentWorkingDirectory() local
1154 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) const getRealPath() argument
1166 isLocal(const Twine & Path,bool & Result) isLocal() argument
1186 getExistingStyle(llvm::StringRef Path) getExistingStyle() argument
1198 canonicalize(llvm::StringRef Path) canonicalize() argument
1264 RedirectingFSDirIterImpl(const Twine & Path,RedirectingFileSystem::DirectoryEntry::iterator Begin,RedirectingFileSystem::DirectoryEntry::iterator End,std::error_code & EC) RedirectingFSDirIterImpl() argument
1322 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument
1337 SmallString<256> Path; isLocal() local
1404 SmallString<256> Path; dir_begin() local
2434 setPath(const Twine & Path) setPath() argument
2580 getVFSEntries(RedirectingFileSystem::Entry * SrcE,SmallVectorImpl<StringRef> & Path,SmallVectorImpl<YAMLVFSEntry> & Entries) getVFSEntries() argument
2685 containedIn(StringRef Parent,StringRef Path) containedIn() argument
2699 containedPart(StringRef Parent,StringRef Path) containedPart() argument
2705 startDirectory(StringRef Path) startDirectory() argument
2832 recursive_directory_iterator(FileSystem & FS_,const Twine & Path,std::error_code & EC) recursive_directory_iterator() argument
[all...]
/freebsd-src/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-src/sys/contrib/dev/acpica/common/
H A Ddmextern.c305 char *Path) in AcpiDmNormalizeParentPrefix() argument
647 AcpiDmAddOpToExternalList(ACPI_PARSE_OBJECT * Op,char * Path,UINT8 Type,UINT32 Value,UINT16 Flags) AcpiDmAddOpToExternalList() argument
788 AcpiDmRemoveRootPrefix(char ** Path) AcpiDmRemoveRootPrefix() argument
897 AcpiDmAddPathToExternalList(char * Path,UINT8 Type,UINT32 Value,UINT16 Flags) AcpiDmAddPathToExternalList() argument
1121 AcpiDmResolveExternal(char * Path,UINT8 Type,ACPI_NAMESPACE_NODE ** Node) AcpiDmResolveExternal() argument
1226 AcpiDmAddOneExternalToNamespace(char * Path,UINT8 Type,UINT32 ParamCount) AcpiDmAddOneExternalToNamespace() argument
1557 AcpiDmConflictingDeclaration(char * Path) AcpiDmConflictingDeclaration() argument
1612 AcpiDmCheckForExternalConflict(char * Path) AcpiDmCheckForExternalConflict() argument
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp100 std::optional<llvm::StringRef> WinSysRoot, std::string &Path, int &Major, in getWindowsSDKDirViaCommandLine() argument
356 SmallString<256> Path(VCToolChainPath); getSubDirectoryPath() local
399 getWindowsSDKDir(vfs::FileSystem & VFS,std::optional<StringRef> WinSdkDir,std::optional<StringRef> WinSdkVersion,std::optional<StringRef> WinSysRoot,std::string & Path,int & Major,std::string & WindowsSDKIncludeVersion,std::string & WindowsSDKLibVersion) getWindowsSDKDir() argument
456 getUniversalCRTSdkDir(vfs::FileSystem & VFS,std::optional<StringRef> WinSdkDir,std::optional<StringRef> WinSdkVersion,std::optional<StringRef> WinSysRoot,std::string & Path,std::string & UCRTVersion) getUniversalCRTSdkDir() argument
481 findVCToolChainViaCommandLine(vfs::FileSystem & VFS,std::optional<StringRef> VCToolsDir,std::optional<StringRef> VCToolsVersion,std::optional<StringRef> WinSysRoot,std::string & Path,ToolsetLayout & VSLayout) findVCToolChainViaCommandLine() argument
504 findVCToolChainViaEnvironment(vfs::FileSystem & VFS,std::string & Path,ToolsetLayout & VSLayout) findVCToolChainViaEnvironment() argument
615 findVCToolChainViaSetupConfig(vfs::FileSystem & VFS,std::optional<StringRef> VCToolsVersion,std::string & Path,ToolsetLayout & VSLayout) findVCToolChainViaSetupConfig() argument
710 findVCToolChainViaRegistry(std::string & Path,ToolsetLayout & VSLayout) findVCToolChainViaRegistry() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp59 for (const auto &Path : Callback(SelectedMultilibs.back())) in AddClangSystemIncludeArgs() local
99 Path = getDriver().Dir + Path + "/c++/v1"; in addLibCxxIncludePaths() local
124 llvm::sys::path::append(Path, SelectedMultilib in getCompilerRT() local
[all...]
H A DVEToolchain.cpp53 if (std::optional<std::string> Path = getStdlibPath()) in VEToolChain() local
55 for (const auto &Path : getArchSpecificLibPaths()) in VEToolChain() local
147 if (std::optional<std::string> Path = getStdlibPath()) { in AddCXXStdlibLibArgs() 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(HipPat in getDeviceLibs() local
233 SmallString<128> Path(LibraryPath); getDeviceLibs() local
248 SmallString<128> Path(LibPath); getDeviceLibs() local
[all...]
H A DAVR.cpp430 SmallString<256> Path(ToolChain::getCompilerRTPath()); in getCompilerRT() local
568 std::string Path(*AVRLibcRoot + "/lib/ldscripts/"); in ConstructJob() local
599 std::string Path(GCCParent + "/avr"); in findAVRLibcInstallation() local
609 std::string Path = getDriver().SysRoot + PossiblePath.str(); in findAVRLibcInstallation() local
/freebsd-src/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-src/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-src/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp93 auto addIfExists = [this](path_list &List, const std::string &Path) { in ToolChain() local
84 __anoneb66efe80102(path_list &List, const std::string &Path) ToolChain() argument
89 if (std::optional<std::string> Path = getRuntimePath()) ToolChain() local
91 if (std::optional<std::string> Path = getStdlibPath()) ToolChain() local
598 SmallString<128> Path(getDriver().ResourceDir); getCompilerRTPath() local
669 SmallString<128> Path(getCompilerRTPath()); getCompilerRT() local
735 if (auto Path = getPathForTriple(getTriple())) getTargetSubDirPath() local
756 if (auto Path = getPathForTriple(ArmTriple)) getTargetSubDirPath() local
782 SmallString<128> Path(getDriver().ResourceDir); getArchSpecificLibPaths() local
847 std::string Path(A->getValue()); GetLinkerPath() local
1135 addSystemInclude(const ArgList & DriverArgs,ArgStringList & CC1Args,const Twine & Path) addSystemInclude() argument
1150 addExternCSystemInclude(const ArgList & DriverArgs,ArgStringList & CC1Args,const Twine & Path) addExternCSystemInclude() argument
1157 addExternCSystemIncludeIfExists(const ArgList & DriverArgs,ArgStringList & CC1Args,const Twine & Path) addExternCSystemIncludeIfExists() argument
1166 for (const auto &Path : Paths) { addSystemIncludes() local
1172 concat(StringRef Path,const Twine & A,const Twine & B,const Twine & C,const Twine & D) concat() argument
1184 SmallString<128> Path(IncludePath); detectLibcxxVersion() local
1294 std::string Path; addFastMathRuntimeIfAvailable() local
[all...]
/freebsd-src/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-src/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.h145 setPath(const Twine & Path) setPath() argument
151 std::string Path; global() variable
156 directory_entry(std::string Path,llvm::sys::fs::file_type Type) directory_entry() argument
428 status(const Twine & Path) status() argument
432 openFileForRead(const Twine & Path) openFileForRead() argument
441 setCurrentWorkingDirectory(const Twine & Path) setCurrentWorkingDirectory() argument
444 getRealPath(const Twine & Path,SmallVectorImpl<char> & Output) getRealPath() argument
448 isLocal(const Twine & Path,bool & Result) isLocal() argument
468 StringRef Path; global() member
[all...]
/freebsd-src/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-src/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() argument
188 void setSaveTempsDir(std::string Path) { SaveTempsDir = std::move(Path); } in setSaveTempsDir() argument
194 void setGeneratedObjectsDirectory(std::string Path) { in setGeneratedObjectsDirectory() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp298 std::string getDarwinDWARFResourceForPath(const std::string &Path, in getDarwinDWARFResourceForPath() argument
309 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC() argument
369 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
373 for (const auto &Path : DsymPaths) { lookUpDsymFile() local
392 lookUpDebuglinkObject(const std::string & Path,const ObjectFile * Obj,const std::string & ArchName) lookUpDebuglinkObject() argument
411 lookUpBuildIDObject(const std::string & Path,const ELFObjectFileBase * Obj,const std::string & ArchName) lookUpBuildIDObject() argument
487 if (std::optional<std::string> Path = BIDFetcher->fetch(BuildID)) { getOrFindDebugBinary() local
499 getOrCreateObjectPair(const std::string & Path,const std::string & ArchName) getOrCreateObjectPair() argument
537 getOrCreateObject(const std::string & Path,const std::string & ArchName) getOrCreateObject() argument
698 std::string Path; getOrCreateModuleInfo() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp354 for (StringRef Path : PathsRef) DebuginfodCollection() local
363 for (const std::string &Path : Paths) { update() local
412 findBinaries(StringRef Path) findBinaries() argument
482 std::string Path = Loc->getValue(); getBinaryPath() local
494 std::string Path = Loc->getValue(); getDebugBinaryPath() local
506 std::optional<std::string> Path = *PathOrErr; findBinaryPath() local
537 std::optional<std::string> Path = *PathOrErr; findDebugBinaryPath() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h114 SmallString<128> Path; variable
174 SmallString<128> Path; variable
204 SmallString<128> Path; variable

1234567891011