Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp84 static bool real_path(StringRef SrcPath, SmallVectorImpl<char> &RealPath) { in real_path() argument
93 RealPath.swap(RPath); in real_path()
160 SmallString<256> RealPath; in getRealPath() local
169 if (!real_path(Dir, RealPath)) in getRealPath()
171 SymLinkMap[Dir] = RealPath.str(); in getRealPath()
173 RealPath = DirWithSymLink->second; in getRealPath()
176 path::append(RealPath, FileName); in getRealPath()
177 Result.swap(RealPath); in getRealPath()
199 SmallString<256> RealPath; in copyToRoot() local
200 if (!getRealPath(AbsoluteSrc, RealPath)) in copyToRoot()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp42 SmallString<256> RealPath; in getRealPath() local
51 auto EC = sys::fs::real_path(Directory, RealPath); in getRealPath()
54 SymlinkMap[Directory] = RealPath.str(); in getRealPath()
56 RealPath = DirWithSymlink->second; in getRealPath()
59 sys::path::append(RealPath, FileName); in getRealPath()
60 Result.swap(RealPath); in getRealPath()
DVirtualFileSystem.cpp1897 void YAMLVFSWriter::addFileMapping(StringRef VirtualPath, StringRef RealPath) { in addFileMapping() argument
1899 assert(sys::path::is_absolute(RealPath) && "real path not absolute"); in addFileMapping()
1901 Mappings.emplace_back(VirtualPath, RealPath); in addFileMapping()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinkerDeclContext.h40 SmallString<256> RealPath; in resolve() local
41 sys::fs::real_path(ParentPath, RealPath); in resolve()
42 ResolvedPaths.insert({ParentPath, StringRef(RealPath).str()}); in resolve()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileCollector.h57 void addFileToMapping(StringRef VirtualPath, StringRef RealPath) { in addFileToMapping() argument
58 VFSWriter.addFileMapping(VirtualPath, RealPath); in addFileToMapping()
DFileSystem.h1116 SmallVectorImpl<char> *RealPath = nullptr);
1132 SmallVectorImpl<char> *RealPath = nullptr);
DVirtualFileSystem.h787 void addFileMapping(StringRef VirtualPath, StringRef RealPath);
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py790 class RealPath(pathlib.Path): class
825 class WindowsPath(RealPath, PureWindowsPath):
831 class PosixPath(RealPath, PurePosixPath):
837 Path = RealPath
/external/llvm/lib/Support/Unix/
DPath.inc561 SmallVectorImpl<char> *RealPath) {
569 if(!RealPath)
571 RealPath->clear();
577 RealPath->append(Buffer, Buffer + strlen(Buffer));
585 RealPath->append(Buffer, Buffer + CharCount);
589 RealPath->append(Buffer, Buffer + strlen(Buffer));
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc577 SmallVectorImpl<char> *RealPath) {
585 if(!RealPath)
587 RealPath->clear();
593 RealPath->append(Buffer, Buffer + strlen(Buffer));
601 RealPath->append(Buffer, Buffer + CharCount);
605 RealPath->append(Buffer, Buffer + strlen(Buffer));
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc368 SmallVectorImpl<char> &RealPath) {
369 RealPath.clear();
390 return UTF16ToUTF8(Data, CountChars, RealPath);
1187 SmallVectorImpl<char> &RealPath) {
1194 EC = realPathFromHandle(File, RealPath);
1201 SmallVectorImpl<char> *RealPath) {
1202 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath);
1207 SmallVectorImpl<char> *RealPath) {
1212 if (Result && RealPath)
1213 realPathFromHandle(*Result, *RealPath);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc988 SmallVectorImpl<char> *RealPath) {
995 if(!RealPath)
997 RealPath->clear();
1003 RealPath->append(Buffer, Buffer + strlen(Buffer));
1011 RealPath->append(Buffer, Buffer + CharCount);
1018 RealPath->append(Buffer, Buffer + strlen(Buffer));
1025 SmallVectorImpl<char> *RealPath) {
1027 std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath);
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc705 SmallVectorImpl<char> *RealPath) {
735 if (RealPath) {
736 RealPath->clear();
745 RealPath->append(RealPathUTF8.data(),
/external/llvm/lib/Support/Windows/
DPath.inc711 SmallVectorImpl<char> *RealPath) {
741 if (RealPath) {
742 RealPath->clear();
751 RealPath->append(RealPathUTF8.data(),
/external/clang/include/clang/Basic/
DVirtualFileSystem.h347 void addFileMapping(StringRef VirtualPath, StringRef RealPath);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp494 SmallString<256> RealPath; in isFunctionInstrumented() local
500 if (sys::fs::real_path(Filename, RealPath)) { in isFunctionInstrumented()
504 RealFilename = RealPath; in isFunctionInstrumented()
/external/clang/lib/Basic/
DVirtualFileSystem.cpp1599 void YAMLVFSWriter::addFileMapping(StringRef VirtualPath, StringRef RealPath) { in addFileMapping() argument
1601 assert(sys::path::is_absolute(RealPath) && "real path not absolute"); in addFileMapping()
1603 Mappings.emplace_back(VirtualPath, RealPath); in addFileMapping()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h657 SmallVectorImpl<char> *RealPath = nullptr);
/external/llvm/include/llvm/Support/
DFileSystem.h646 SmallVectorImpl<char> *RealPath = nullptr);
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1649 char RealPath[PATH_MAX + 1]; in getChildDeclContext() local
1650 RealPath[PATH_MAX] = 0; in getChildDeclContext()
1651 if (::realpath(File.c_str(), RealPath)) in getChildDeclContext()
1652 File = RealPath; in getChildDeclContext()