| /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.cpp | 229 llvm::ErrorOr<llvm::StringRef> RealPath) { in getOrEmplaceRealPathForFilename() argument 235 if (!RealPath) in getOrEmplaceRealPathForFilename() 236 return RealPath.getError(); in getOrEmplaceRealPathForFilename() 237 return RealPath->str(); in getOrEmplaceRealPathForFilename() 427 [&Output](const CachedRealPath &RealPath) -> std::error_code { in getRealPath() argument 428 if (!RealPath) in getRealPath() 429 return RealPath.getError(); in getRealPath() 430 Output.assign(RealPath->begin(), RealPath->end()); in getRealPath() 435 if (const auto *RealPath = in getRealPath() local 437 return HandleCachedRealPath(*RealPath); in getRealPath() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | FileCollector.h | 117 void addFileToMapping(StringRef VirtualPath, StringRef RealPath) { in addFileToMapping() argument 119 VFSWriter.addDirectoryMapping(VirtualPath, RealPath); in addFileToMapping() 121 VFSWriter.addFileMapping(VirtualPath, RealPath); in addFileToMapping()
|
| H A D | VirtualFileSystem.h | 1133 void addEntry(StringRef VirtualPath, StringRef RealPath, bool IsDirectory); 1138 LLVM_ABI void addFileMapping(StringRef VirtualPath, StringRef RealPath); 1139 LLVM_ABI void addDirectoryMapping(StringRef VirtualPath, StringRef RealPath);
|
| H A D | FileSystem.h | 1156 SmallVectorImpl<char> *RealPath = nullptr); 1172 SmallVectorImpl<char> *RealPath = nullptr);
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 67 SmallString<256> RealPath; in updateWithRealPath() local 72 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath() 74 CachedDirs[Directory] = std::string(RealPath); in updateWithRealPath() 76 RealPath = DirWithSymlink->second; in updateWithRealPath() 84 sys::path::append(RealPath, Filename); in updateWithRealPath() 87 Path.swap(RealPath); in updateWithRealPath()
|
| H A D | VirtualFileSystem.cpp | 2737 void YAMLVFSWriter::addEntry(StringRef VirtualPath, StringRef RealPath, in addEntry() argument 2740 assert(sys::path::is_absolute(RealPath) && "real path not absolute"); in addEntry() 2742 Mappings.emplace_back(VirtualPath, RealPath, IsDirectory); in addEntry() 2745 void YAMLVFSWriter::addFileMapping(StringRef VirtualPath, StringRef RealPath) { in addFileMapping() argument 2746 addEntry(VirtualPath, RealPath, /*IsDirectory=*/false); in addFileMapping() 2750 StringRef RealPath) { in addDirectoryMapping() argument 2751 addEntry(VirtualPath, RealPath, /*IsDirectory=*/true); in addDirectoryMapping()
|
| /freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/ |
| H A D | DirectoryWatcher-mac.cpp | 179 std::string RealPath; in createFSEventStream() local 185 RealPath = Buffer; in createFSEventStream() 187 RealPath = Path.str(); in createFSEventStream() 192 Context.info = new EventStreamContextData(std::move(RealPath), Receiver); in createFSEventStream()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.h | 47 SmallString<256> RealPath; in resolve() local 48 sys::fs::real_path(ParentPath, RealPath); in resolve() 49 It->second = std::string(RealPath); in resolve()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 215 llvm::ErrorOr<StringRef> RealPath); 303 const CachedRealPath &RealPath) { in insertRealPathForFilename() argument 305 auto [It, Inserted] = Cache.insert({Filename, {nullptr, &RealPath}}); in insertRealPathForFilename() 311 CachedRealPath = &RealPath; in insertRealPathForFilename()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 159 SmallString<256> RealPath; 160 sys::fs::real_path(PathNameUTF8, RealPath); 161 if (RealPath.size()) 162 return std::string(RealPath); 385 SmallVectorImpl<char> &RealPath) { 386 RealPath.clear(); 407 if (std::error_code EC = UTF16ToUTF8(Data, CountChars, RealPath)) 410 llvm::sys::path::make_preferred(RealPath); 1263 SmallVectorImpl<char> &RealPath) { 1270 EC = realPathFromHandle(File, RealPath); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 1133 SmallVectorImpl<char> *RealPath) { 1140 if (!RealPath) 1142 RealPath->clear(); 1148 RealPath->append(Buffer, Buffer + strlen(Buffer)); 1157 RealPath->append(Buffer, Buffer + CharCount); 1165 RealPath->append(Buffer, Buffer + strlen(Buffer)); 1174 SmallVectorImpl<char> *RealPath) { 1176 std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 464 SmallString<256> RealPath; in isFunctionInstrumented() local 470 if (sys::fs::real_path(Filename, RealPath)) { in isFunctionInstrumented() 474 RealFilename = RealPath; in isFunctionInstrumented()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerCompileUnit.cpp | 211 SmallString<256> RealPath; in getFileName() local 212 sys::fs::real_path(ParentPath, RealPath); in getFileName() 215 .insert({ParentPath, GlobalStrings.insert(RealPath).first}) in getFileName()
|