Home
last modified time | relevance | path

Searched refs:RealPath (Results 1 – 16 of 16) 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-7.0/llvm/tools/dsymutil/
DCFBundle.cpp123 SmallString<256> RealPath; in SetFromPath() local
124 sys::fs::real_path(Path, RealPath, /*expand_tilde*/ true); in SetFromPath()
129 kCFAllocatorDefault, (const UInt8 *)RealPath.data(), RealPath.size(), in SetFromPath()
142 sys::path::remove_filename(RealPath); in SetFromPath()
143 } while (RealPath != sys::path::root_name(RealPath)); in SetFromPath()
DDeclContext.h42 SmallString<256> RealPath; in resolve() local
43 sys::fs::real_path(ParentPath, RealPath); in resolve()
44 ResolvedPaths.insert({ParentPath, StringRef(RealPath).str()}); in resolve()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc800 SmallVectorImpl<char> *RealPath) {
807 if(!RealPath)
809 RealPath->clear();
815 RealPath->append(Buffer, Buffer + strlen(Buffer));
823 RealPath->append(Buffer, Buffer + CharCount);
830 RealPath->append(Buffer, Buffer + strlen(Buffer));
837 SmallVectorImpl<char> *RealPath) {
839 std::error_code EC = openFileForRead(Name, ResultFD, Flags, 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-7.0/llvm/lib/Support/Windows/
DPath.inc369 SmallVectorImpl<char> &RealPath) {
370 RealPath.clear();
385 return UTF16ToUTF8(Data, CountChars, RealPath);
1142 SmallVectorImpl<char> &RealPath) {
1149 EC = realPathFromHandle(File, RealPath);
1156 SmallVectorImpl<char> *RealPath) {
1157 Expected<HANDLE> NativeFile = openNativeFileForRead(Name, Flags, RealPath);
1162 SmallVectorImpl<char> *RealPath) {
1167 if (Result && RealPath)
1168 realPathFromHandle(*Result, *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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFileSystem.h1003 SmallVectorImpl<char> *RealPath = nullptr);
1019 SmallVectorImpl<char> *RealPath = nullptr);
/external/clang/include/clang/Basic/
DVirtualFileSystem.h347 void addFileMapping(StringRef VirtualPath, StringRef RealPath);
/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/llvm/include/llvm/Support/
DFileSystem.h646 SmallVectorImpl<char> *RealPath = nullptr);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h657 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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp525 TEST_F(FileSystemTest, RealPath) { in TEST_F() argument