/external/llvm-project/clang/unittests/Tooling/ |
D | DependencyScannerTest.cpp | 104 using llvm::sys::path::convert_to_slash; in TEST() 107 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST() 108 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h"); in TEST() 109 EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h"); in TEST() 120 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST() 121 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h"); in TEST() 122 EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h"); in TEST() 159 using llvm::sys::path::convert_to_slash; in TEST() 161 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST() 162 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/header.h"); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ConfigCompileTests.cpp | 130 auto BarPath = llvm::sys::path::convert_to_slash(testPath("foo/bar.h")); in TEST_F() 141 llvm::sys::path::convert_to_slash(testPath("foo/bar.h")), in TEST_F() 147 llvm::sys::path::convert_to_slash(testPath("bar/bar.h")), in TEST_F() 258 BarPath = llvm::sys::path::convert_to_slash(BarPath); in TEST_F() 272 FooPath = llvm::sys::path::convert_to_slash(FooPath); in TEST_F() 296 BazPath = llvm::sys::path::convert_to_slash(BazPath); in TEST_F() 305 BazPath = llvm::sys::path::convert_to_slash(BazPath); in TEST_F()
|
D | TestFS.cpp | 118 llvm::sys::path::convert_to_slash(Body)); in uriFromAbsolutePath()
|
D | HeadersTests.cpp | 252 llvm::sys::path::convert_to_slash(testPath("sub-2/bar.h")); in TEST_F()
|
D | GlobalCompilationDatabaseTests.cpp | 195 llvm::sys::path::convert_to_slash(Root)); in write()
|
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
D | Marshalling.cpp | 36 using llvm::sys::path::convert_to_slash; 63 this->RemoteIndexRoot = convert_to_slash(RemoteIndexRoot, Style::windows); in Marshaller() 70 this->LocalIndexRoot = convert_to_slash(LocalIndexRoot, Style::windows); in Marshaller() 228 convert_to_slash(RelativePath, Style::windows)); in toProtobuf() 315 assert(RelativePath == convert_to_slash(RelativePath)); in relativePathToURI() 341 assert(Result == convert_to_slash(Result, Style::windows)); in uriToRelativePath()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/ |
D | MarshallingTests.cpp | 37 using llvm::sys::path::convert_to_slash; 162 EXPECT_EQ(convert_to_slash(Serialized->definition().file_path(), in TEST() 176 convert_to_slash("/path/to/Declaration.h"); in TEST() 290 InvalidHeader.set_header(convert_to_slash("/absolute/path/Header.h")); in TEST()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CppModuleConfiguration.cpp | 36 std::string dir_buffer = convert_to_slash(f.GetDirectory().GetStringRef()); in analyzeFile()
|
/external/llvm-project/lld/Common/ |
D | Reproduce.cpp | 41 return path::convert_to_slash(res); in relativeToRoot()
|
/external/llvm-project/llvm/tools/llvm-ar/ |
D | llvm-ar.cpp | 505 outs() << sys::path::convert_to_slash(ParentDir) << '/'; in doDisplayTable() 517 return CompareFullPath ? sys::path::convert_to_slash(Path) in normalizePath() 663 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember() 670 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember() 704 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(FileName)); in addMember() 709 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(FileName)); in addMember()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | TarWriter.cpp | 175 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
|
D | Path.cpp | 579 std::string convert_to_slash(StringRef path, Style style) { in convert_to_slash() function
|
/external/llvm-project/llvm/lib/Support/ |
D | TarWriter.cpp | 186 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
|
D | Path.cpp | 566 std::string convert_to_slash(StringRef path, Style style) { in convert_to_slash() function
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Path.h | 235 std::string convert_to_slash(StringRef path, Style style = Style::native);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Path.h | 241 std::string convert_to_slash(StringRef path, Style style = Style::native);
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | PathMapping.cpp | 155 std::string Converted = path::convert_to_slash(Path, path::Style::windows); in parsePath()
|
D | URI.cpp | 73 Body += llvm::sys::path::convert_to_slash(AbsolutePath); in uriFromAbsolutePath()
|
D | Headers.cpp | 245 Suggested = llvm::sys::path::convert_to_slash( in calculateIncludePath()
|
D | ConfigCompile.cpp | 182 FragmentDirectory = llvm::sys::path::convert_to_slash(F.Source.Directory); in compile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 531 return sys::path::convert_to_slash(PathTo); in computeArchiveRelativePath()
|
/external/llvm-project/clang-tools-extra/clangd/tool/ |
D | ClangdMain.cpp | 546 llvm::sys::path::convert_to_slash(Body)); in uriFromAbsolutePath()
|
/external/llvm-project/llvm/lib/Object/ |
D | ArchiveWriter.cpp | 552 return sys::path::convert_to_slash(PathTo); in computeArchiveRelativePath()
|
/external/llvm-project/llvm/tools/sancov/ |
D | sancov.cpp | 472 return stripPathPrefix(sys::path::convert_to_slash(std::string(S))); in normalizeFilename()
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderSearch.cpp | 1852 return path::convert_to_slash(File.drop_front(BestPrefixLength)); in suggestPathToFileForDiagnostics()
|