/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDB.cpp | 23 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, argument 28 MemoryBuffer::getFileOrSTDIN(Path, /*FileSize=*/-1, 37 return DIASession::createFromPdb(Path, Session); 43 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, argument 47 return NativeSession::createFromExe(Path, Session); 50 return DIASession::createFromExe(Path, Session);
|
H A D | PDBSymbolCompiland.cpp | 18 #include "llvm/Support/Path.h" 40 // cmd (Path)\\FileName -> RecordedResult = (Path)\\FileName 65 std::string Path = EnvWorkingDir + "\\" + EnvSrc; local 66 std::replace(Path.begin(), Path.end(), '/', '\\'); 68 if (sys::path::is_absolute(Path)) 69 SourceFileFullPath = Path;
|
/freebsd-11-stable/contrib/bmake/ |
H A D | dir.h | 81 typedef struct Path { struct 87 } Path; typedef in typeref:struct:Path 99 Path *Dir_AddDir(Lst, const char *);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIO.cpp | 26 long GetEpoch(const std::string &Path) { argument 28 if (stat(Path.c_str(), &St)) 33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { argument 34 std::ifstream T(Path, std::ios::binary); 36 Printf("No such directory: %s; exiting\n", Path.c_str()); 53 std::string FileToString(const std::string &Path) { argument 54 std::ifstream T(Path, std::ios::binary); 59 void CopyFileToErr(const std::string &Path) { argument 60 Printf("%s", FileToString(Path).c_str()); 63 void WriteToFile(const Unit &U, const std::string &Path) { argument 67 WriteToFile(const std::string &Data, const std::string &Path) argument 69 Path); local 72 WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) argument 80 ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, long *Epoch, size_t MaxSize, bool ExitOnError) argument [all...] |
H A D | FuzzerIO.h | 18 long GetEpoch(const std::string &Path); 20 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 23 std::string FileToString(const std::string &Path); 25 void CopyFileToErr(const std::string &Path); 27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path); 29 void WriteToFile(const std::string &Data, const std::string &Path); 30 void WriteToFile(const Unit &U, const std::string &Path); 32 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 60 bool IsFile(const std::string &Path); 61 size_t FileSize(const std::string &Path); [all...] |
H A D | FuzzerIOPosix.cpp | 27 bool IsFile(const std::string &Path) { argument 29 if (stat(Path.c_str(), &St)) 34 static bool IsDirectory(const std::string &Path) { argument 36 if (stat(Path.c_str(), &St)) 41 size_t FileSize(const std::string &Path) { argument 43 if (stat(Path.c_str(), &St)) 48 std::string Basename(const std::string &Path) { argument 49 size_t Pos = Path.rfind(GetSeparator()); 50 if (Pos == std::string::npos) return Path; 51 assert(Pos < Path 67 std::string Path = DirPlusFile(Dir, E->d_name); local 90 std::string Path = DirPlusFile(Dir, E->d_name); local 119 RemoveFile(const std::string &Path) argument 161 MkDir(const std::string &Path) argument 165 RmDir(const std::string &Path) argument [all...] |
H A D | FuzzerIOWindows.cpp | 26 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) { argument 35 CreateFileA(Path.c_str(), 0, FILE_SHARE_READ, NULL, OPEN_EXISTING, 39 Printf("CreateFileA() failed for \"%s\" (Error code: %lu).\n", Path.c_str(), 47 Printf("GetFileType() failed for \"%s\" (Error code: %lu).\n", Path.c_str(), 62 bool IsFile(const std::string &Path) { argument 63 DWORD Att = GetFileAttributesA(Path.c_str()); 67 Path.c_str(), GetLastError()); 71 return IsFile(Path, Att); 79 std::string Basename(const std::string &Path) { argument 80 size_t Pos = Path 180 std::string Path = DirPlusFile(Dir, FindInfo.cFileName); local 218 RemoveFile(const std::string &Path) argument 394 MkDir(const std::string &Path) argument 400 RmDir(const std::string &Path) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
H A D | PDB.h | 22 Error loadDataForPDB(PDB_ReaderType Type, StringRef Path, 25 Error loadDataForEXE(PDB_ReaderType Type, StringRef Path,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/ |
H A D | DirectoryScanner.h | 16 /// Gets names (filenames) of items in directory at \p Path. 17 /// \returns empty vector if \p Path is not a directory, doesn't exist or can't 19 std::vector<std::string> scanDirectory(llvm::StringRef Path); 25 /// Gets status of file (or directory) at \p Path. 26 /// \returns llvm::None if \p Path doesn't exist or can't get the status. 27 llvm::Optional<llvm::sys::fs::file_status> getFileStatus(llvm::StringRef Path);
|
H A D | DirectoryScanner.cpp | 11 #include "llvm/Support/Path.h" 17 Optional<sys::fs::file_status> getFileStatus(StringRef Path) { argument 19 std::error_code EC = status(Path, Status); 25 std::vector<std::string> scanDirectory(StringRef Path) { argument 30 for (auto It = fs::directory_iterator(Path, EC),
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | TCE.cpp | 24 // Path mangling to find libexec 25 std::string Path(getDriver().Dir); 27 Path += "/../libexec"; 28 getProgramPaths().push_back(Path);
|
H A D | MipsLinux.cpp | 17 #include "llvm/Support/Path.h" 59 for (const auto &Path : Callback(SelectedMultilib)) 61 D.getInstalledDir() + Path); 99 for (std::string Path : Callback(SelectedMultilib)) { 100 Path = getDriver().getInstalledDir() + Path + "/c++/v1"; 101 if (llvm::sys::fs::exists(Path)) { 102 addSystemInclude(DriverArgs, CC1Args, Path); 122 SmallString<128> Path(getDriver().ResourceDir); 123 llvm::sys::path::append(Path, SelectedMultili [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TextAPI/MachO/ |
H A D | TextAPIContext.h | 26 std::string Path; member in struct:llvm::MachO::TextAPIContext
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | FileSystemStatCache.cpp | 16 #include "llvm/Support/Path.h" 34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status, argument 43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); 47 llvm::ErrorOr<llvm::vfs::Status> StatusOrErr = FS.status(Path); 61 auto OwnedFile = FS.openFileForRead(Path); 102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status, argument 106 auto err = get(Path, Status, isFile, F, nullptr, FS); 116 if (!Status.isDirectory() || llvm::sys::path::is_absolute(Path)) 117 StatCalls[Path] = Status;
|
/freebsd-11-stable/sys/contrib/dev/acpica/common/ |
H A D | dmextern.c | 215 char *Path); 225 char **Path); 229 char *Path, 244 char *Path); 248 char *Path, 255 char *Path); 293 * Path - Path with parent prefix 305 char *Path) 343 while (Node && (*Path 303 AcpiDmNormalizeParentPrefix( ACPI_PARSE_OBJECT *Op, char *Path) argument 645 AcpiDmAddOpToExternalList( ACPI_PARSE_OBJECT *Op, char *Path, UINT8 Type, UINT32 Value, UINT16 Flags) argument 787 AcpiDmRemoveRootPrefix( char **Path) argument 896 AcpiDmAddPathToExternalList( char *Path, UINT8 Type, UINT32 Value, UINT16 Flags) argument 1120 AcpiDmResolveExternal( char *Path, UINT8 Type, ACPI_NAMESPACE_NODE **Node) argument 1225 AcpiDmAddOneExternalToNamespace( char *Path, UINT8 Type, UINT32 ParamCount) argument 1564 AcpiDmConflictingDeclaration( char *Path) argument 1619 AcpiDmCheckForExternalConflict( char *Path) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 43 for (paths_iterator Path = begin(), PathEnd = end(); Path != PathEnd; ++Path) 44 Decls.insert(Path->Decls.front()); 106 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 107 return FindBaseClass(Specifier, Path, BaseDecl); 126 [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { 127 return FindVirtualBaseClass(Specifier, Path, BaseDecl); 363 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { 364 for (const CXXBasePathElement &PE : Path) { [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | FileOutputBuffer.h | 82 FileOutputBuffer(StringRef Path) : FinalPath(Path) {} argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | TarWriter.cpp | 28 #include "llvm/Support/Path.h" 101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) { argument 104 std::string PaxAttr = formatPax("path", Path); 118 // Path fits in a Ustar header if 120 // - Path is less than 100 characters long, or 121 // - Path is in the form of "<prefix>/<name>" where <prefix> is less 125 // If Path fits in a Ustar header, updates Prefix and Name and returns true. 127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { argument 128 if (Path.size() < sizeof(UstarHeader::Name)) { 130 Name = Path; 173 append(StringRef Path, StringRef Data) argument [all...] |
H A D | FileOutputBuffer.cpp | 18 #include "llvm/Support/Path.h" 36 OnDiskBuffer(StringRef Path, fs::TempFile Temp, argument 38 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} 78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, argument 80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), 118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { argument 124 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); 128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { argument 130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); 157 return createInMemoryBuffer(Path, Siz 166 create(StringRef Path, size_t Size, unsigned Flags) argument [all...] |
H A D | FileCollector.cpp | 12 #include "llvm/Support/Path.h" 17 static bool isCaseSensitivePath(StringRef Path) { argument 18 SmallString<256> TmpDest = Path, UpperDest, RealDest; 21 if (!sys::fs::real_path(Path, TmpDest)) 23 Path = TmpDest; 29 UpperDest = Path.upper(); 30 if (sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)) 199 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override { 200 auto Result = FS->status(Path); 202 Collector->addFile(Path); [all...] |
H A D | VirtualFileSystem.cpp | 36 #include "llvm/Support/Path.h" 124 std::error_code FileSystem::makeAbsolute(SmallVectorImpl<char> &Path) const { 125 if (llvm::sys::path::is_absolute(Path)) 132 llvm::sys::fs::make_absolute(WorkingDir.get(), Path); 136 std::error_code FileSystem::getRealPath(const Twine &Path, argument 141 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { argument 145 bool FileSystem::exists(const Twine &Path) { argument 146 auto Status = status(Path); 155 static bool pathHasTraversal(StringRef Path) { argument 158 for (StringRef Comp : llvm::make_range(path::begin(Path), pat 268 adjustPath(const Twine &Path, SmallVectorImpl<char> &Storage) const argument 287 status(const Twine &Path) argument 317 setCurrentWorkingDirectory(const Twine &Path) argument 334 isLocal(const Twine &Path, bool &Result) argument 340 getRealPath(const Twine &Path, SmallVectorImpl<char> &Output) const argument 361 RealFSDirIter(const Twine &Path, std::error_code &EC) argument 400 status(const Twine &Path) argument 411 openFileForRead(const llvm::Twine &Path) argument 428 setCurrentWorkingDirectory(const Twine &Path) argument 435 isLocal(const Twine &Path, bool &Result) argument 443 getRealPath(const Twine &Path, SmallVectorImpl<char> &Output) const argument 457 std::string Path; member in class:__anon2004::OverlayFSDirIterImpl 503 OverlayFSDirIterImpl(const Twine &Path, OverlayFileSystem &FS, std::error_code &EC) argument 579 InMemoryHardLink(StringRef Path, const InMemoryFile &ResolvedFile) argument 699 SmallString<128> Path; local 809 SmallString<128> Path; local 862 status(const Twine &Path) argument 870 openFileForRead(const Twine &Path) argument 951 SmallString<128> Path; local 968 getRealPath(const Twine &Path, SmallVectorImpl<char> &Output) const argument 980 isLocal(const Twine &Path, bool &Result) argument 1052 setCurrentWorkingDirectory(const Twine &Path) argument 1071 isLocal(const Twine &Path, bool &Result) argument 1649 SmallString<256> Path; local 1723 getRedirectedFileStatus(const Twine &Path, bool UseExternalNames, Status ExternalStatus) argument 1732 status(const Twine &Path, RedirectingFileSystem::Entry *E) argument 1748 status(const Twine &Path) argument 1786 openFileForRead(const Twine &Path) argument 1816 getRealPath(const Twine &Path, SmallVectorImpl<char> &Output) const argument 1847 getVFSEntries(RedirectingFileSystem::Entry *SrcE, SmallVectorImpl<StringRef> &Path, SmallVectorImpl<YAMLVFSEntry> &Entries) argument 1928 containedIn(StringRef Parent, StringRef Path) argument 1942 containedPart(StringRef Parent, StringRef Path) argument 1948 startDirectory(StringRef Path) argument 2126 recursive_directory_iterator( FileSystem &FS_, const Twine &Path, std::error_code &EC) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | FileMatchTrie.cpp | 17 #include "llvm/Support/Path.h" 64 if (Path.empty()) { 66 Path = NewPath; 70 // This is a leaf, ignore duplicate entry if 'Path' equals 'NewPath'. 71 if (NewPath == Path) 73 // Make this a node and create a child-leaf with 'Path'. 75 StringRef(Path).drop_back(ConsumedLength))); 76 Children[Element].Path = Path; 109 if (Comparator.equivalent(StringRef(Path), FileNam 161 std::string Path; member in class:clang::tooling::FileMatchTrieNode [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/ |
H A D | DirectoryWatcher-mac.cpp | 15 #include "llvm/Support/Path.h" 103 StringRef Path = ((const char **)EventPaths)[i]; local 114 Path == ctx->WatchedPath) { 125 llvm::sys::path::filename(Path)); 128 if (!getFileStatus(Path).hasValue()) { 130 llvm::sys::path::filename(Path)); 133 llvm::sys::path::filename(Path)); 150 StringRef Path, 153 if (Path.empty()) 160 CFStringCreateWithBytes(nullptr, (const UInt8 *)Path 149 createFSEventStream( StringRef Path, std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver, dispatch_queue_t Queue) argument 205 create( StringRef Path, std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver, bool WaitForInitialSync) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/default/ |
H A D | DirectoryWatcher-not-implemented.cpp | 15 StringRef Path, 14 create( StringRef Path, std::function<void(llvm::ArrayRef<DirectoryWatcher::Event>, bool)> Receiver, bool WaitForInitialSync) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | BitWriter.h | 37 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path);
|