/external/llvm/unittests/Support/ |
D | Path.cpp | 941 static std::string remove_dots(StringRef path, in remove_dots() function 944 path::remove_dots(buffer, remove_dot_dot); in remove_dots() 950 EXPECT_EQ("foolz\\wat", remove_dots(".\\.\\\\foolz\\wat", false)); in TEST() 951 EXPECT_EQ("", remove_dots(".\\\\\\\\\\", false)); in TEST() 953 EXPECT_EQ("a\\..\\b\\c", remove_dots(".\\a\\..\\b\\c", false)); in TEST() 954 EXPECT_EQ("b\\c", remove_dots(".\\a\\..\\b\\c", true)); in TEST() 955 EXPECT_EQ("c", remove_dots(".\\.\\c", true)); in TEST() 958 EXPECT_TRUE(path::remove_dots(Path1, true)); in TEST() 961 EXPECT_EQ("foolz/wat", remove_dots("././/foolz/wat", false)); in TEST() 962 EXPECT_EQ("", remove_dots("./////", false)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 1160 static std::string remove_dots(StringRef path, bool remove_dot_dot, in remove_dots() function 1163 path::remove_dots(buffer, remove_dot_dot, style); in remove_dots() 1169 remove_dots(".\\.\\\\foolz\\wat", false, path::Style::windows)); in TEST() 1170 EXPECT_EQ("", remove_dots(".\\\\\\\\\\", false, path::Style::windows)); in TEST() 1173 remove_dots(".\\a\\..\\b\\c", false, path::Style::windows)); in TEST() 1174 EXPECT_EQ("b\\c", remove_dots(".\\a\\..\\b\\c", true, path::Style::windows)); in TEST() 1175 EXPECT_EQ("c", remove_dots(".\\.\\c", true, path::Style::windows)); in TEST() 1177 remove_dots("..\\a\\b\\..\\c", true, path::Style::windows)); in TEST() 1179 remove_dots("..\\..\\a\\b\\..\\c", true, path::Style::windows)); in TEST() 1182 EXPECT_TRUE(path::remove_dots(Path1, true, path::Style::windows)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | SourceCoverageView.cpp | 45 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath() 152 sys::path::remove_dots(SourceText, /*remove_dot_dots=*/true); in getSourceName()
|
D | CoverageReport.cpp | 183 sys::path::remove_dots(FileName, /*remove_dot_dots=*/true); in render()
|
D | SourceCoverageViewHTML.cpp | 325 sys::path::remove_dots(LinkTextStr, /*remove_dot_dots=*/true); in buildLinkToFile()
|
D | CodeCoverage.cpp | 192 sys::path::remove_dots(EffectivePath, /*remove_dot_dots=*/true); in addCollectedPath()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 451 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
|
/external/llvm/include/llvm/Support/ |
D | Path.h | 450 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
|
/external/clang/lib/Frontend/ |
D | ModuleDependencyCollector.cpp | 194 path::remove_dots(CanonicalPath, /*remove_dot_dot=*/true); in copyToRoot()
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 519 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in addFile() 592 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in lookupInMemoryNode() 689 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in setCurrentWorkingDirectory() 1152 sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in parseEntry() 1215 sys::path::remove_dots(FullPath, /*remove_dot_dot=*/true); in parseEntry() 1443 sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in lookupPath()
|
D | FileManager.cpp | 548 llvm::sys::path::remove_dots(CanonicalNameBuf, /* remove_dot_dot */ true); in getCanonicalName()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Path.h | 468 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false,
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageView.cpp | 44 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Path.cpp | 702 static SmallString<256> remove_dots(StringRef path, bool remove_dot_dot) { in remove_dots() function 728 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot) { in remove_dots() function 731 SmallString<256> result = remove_dots(p, remove_dot_dot); in remove_dots()
|
/external/llvm/lib/Support/ |
D | Path.cpp | 702 static SmallString<256> remove_dots(StringRef path, bool remove_dot_dot) { in remove_dots() function 726 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot) { in remove_dots() function 729 SmallString<256> result = remove_dots(p, remove_dot_dot); in remove_dots()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Path.cpp | 704 static SmallString<256> remove_dots(StringRef path, bool remove_dot_dot, in remove_dots() function 732 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot, in remove_dots() function 736 SmallString<256> result = remove_dots(p, remove_dot_dot, style); in remove_dots()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/ |
D | llvm-dwarfdump.cpp | 516 sys::path::remove_dots(BundlePath); in expandBundle()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/ |
D | sancov.cpp | 567 sys::path::remove_dots(S, /* remove_dot_dot */ true); in normalizeFilename()
|
/external/llvm/tools/sancov/ |
D | sancov.cc | 244 sys::path::remove_dots(S, /* remove_dot_dot */ true); in normalizeFilename()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1164 return Changed | llvm::sys::path::remove_dots(Path); in cleanPathForOutput()
|