Home
last modified time | relevance | path

Searched refs:RealPath (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A DCFBundle.cpp121 SmallString<256> RealPath; in SetFromPath() local
122 sys::fs::real_path(Path, RealPath, /*expand_tilde*/ true); in SetFromPath()
127 kCFAllocatorDefault, (const UInt8 *)RealPath.data(), RealPath.size(), in SetFromPath()
140 sys::path::remove_filename(RealPath); in SetFromPath()
141 } while (RealPath != sys::path::root_name(RealPath)); in SetFromPath()
/openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h44 SmallString<256> RealPath; in resolve() local
45 sys::fs::real_path(ParentPath, RealPath); in resolve()
47 {ParentPath, std::string(RealPath.c_str(), RealPath.size())}); in resolve()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DFileCollector.h116 void addFileToMapping(StringRef VirtualPath, StringRef RealPath) { in addFileToMapping() argument
118 VFSWriter.addDirectoryMapping(VirtualPath, RealPath); in addFileToMapping()
120 VFSWriter.addFileMapping(VirtualPath, RealPath); in addFileToMapping()
H A DVirtualFileSystem.h1065 void addEntry(StringRef VirtualPath, StringRef RealPath, bool IsDirectory);
1070 void addFileMapping(StringRef VirtualPath, StringRef RealPath);
1071 void addDirectoryMapping(StringRef VirtualPath, StringRef RealPath);
H A DFileSystem.h1149 SmallVectorImpl<char> *RealPath = nullptr);
1165 SmallVectorImpl<char> *RealPath = nullptr);
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DFileCollector.cpp67 SmallString<256> RealPath; in updateWithRealPath() local
72 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath()
74 CachedDirs[Directory] = std::string(RealPath.str()); in updateWithRealPath()
76 RealPath = DirWithSymlink->second; in updateWithRealPath()
84 sys::path::append(RealPath, Filename); in updateWithRealPath()
87 Path.swap(RealPath); in updateWithRealPath()
H A DVirtualFileSystem.cpp2625 void YAMLVFSWriter::addEntry(StringRef VirtualPath, StringRef RealPath, in addEntry() argument
2628 assert(sys::path::is_absolute(RealPath) && "real path not absolute"); in addEntry()
2630 Mappings.emplace_back(VirtualPath, RealPath, IsDirectory); in addEntry()
2633 void YAMLVFSWriter::addFileMapping(StringRef VirtualPath, StringRef RealPath) { in addFileMapping() argument
2634 addEntry(VirtualPath, RealPath, /*IsDirectory=*/false); in addFileMapping()
2638 StringRef RealPath) { in addDirectoryMapping() argument
2639 addEntry(VirtualPath, RealPath, /*IsDirectory=*/true); in addDirectoryMapping()
/openbsd-src/gnu/llvm/clang/lib/DirectoryWatcher/mac/
H A DDirectoryWatcher-mac.cpp179 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()
/openbsd-src/gnu/llvm/llvm/lib/Support/Windows/
H A DPath.inc383 SmallVectorImpl<char> &RealPath) {
384 RealPath.clear();
405 if (std::error_code EC = UTF16ToUTF8(Data, CountChars, RealPath))
408 llvm::sys::path::make_preferred(RealPath);
1213 SmallVectorImpl<char> &RealPath) {
1220 EC = realPathFromHandle(File, RealPath);
1227 SmallVectorImpl<char> *RealPath) {
1228 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath);
1233 SmallVectorImpl<char> *RealPath) {
1238 if (Result && RealPath)
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/Unix/
H A DPath.inc1127 SmallVectorImpl<char> *RealPath) {
1134 if (!RealPath)
1136 RealPath->clear();
1142 RealPath->append(Buffer, Buffer + strlen(Buffer));
1151 RealPath->append(Buffer, Buffer + CharCount);
1159 RealPath->append(Buffer, Buffer + strlen(Buffer));
1168 SmallVectorImpl<char> *RealPath) {
1170 std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp482 SmallString<256> RealPath; in isFunctionInstrumented() local
488 if (sys::fs::real_path(Filename, RealPath)) { in isFunctionInstrumented()
492 RealFilename = RealPath; in isFunctionInstrumented()
/openbsd-src/gnu/llvm/clang/lib/Driver/
H A DDriver.cpp2933 SmallString<256> RealPath; in addDeviceDependences() local
2934 llvm::sys::fs::real_path(IA->getInputArg().getValue(), RealPath, in addDeviceDependences()
2936 Hasher.update(RealPath); in addDeviceDependences()