Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DPath.cpp941 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/
DPath.cpp1160 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/
DSourceCoverageView.cpp45 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()
152 sys::path::remove_dots(SourceText, /*remove_dot_dots=*/true); in getSourceName()
DCoverageReport.cpp183 sys::path::remove_dots(FileName, /*remove_dot_dots=*/true); in render()
DSourceCoverageViewHTML.cpp325 sys::path::remove_dots(LinkTextStr, /*remove_dot_dots=*/true); in buildLinkToFile()
DCodeCoverage.cpp192 sys::path::remove_dots(EffectivePath, /*remove_dot_dots=*/true); in addCollectedPath()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h451 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
/external/llvm/include/llvm/Support/
DPath.h450 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp194 path::remove_dots(CanonicalPath, /*remove_dot_dot=*/true); in copyToRoot()
/external/clang/lib/Basic/
DVirtualFileSystem.cpp519 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()
DFileManager.cpp548 llvm::sys::path::remove_dots(CanonicalNameBuf, /* remove_dot_dot */ true); in getCanonicalName()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DPath.h468 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false,
/external/llvm/tools/llvm-cov/
DSourceCoverageView.cpp44 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp702 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/
DPath.cpp702 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/
DPath.cpp704 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/
Dllvm-dwarfdump.cpp516 sys::path::remove_dots(BundlePath); in expandBundle()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dsancov.cpp567 sys::path::remove_dots(S, /* remove_dot_dot */ true); in normalizeFilename()
/external/llvm/tools/sancov/
Dsancov.cc244 sys::path::remove_dots(S, /* remove_dot_dot */ true); in normalizeFilename()
/external/clang/lib/Serialization/
DASTWriter.cpp1164 return Changed | llvm::sys::path::remove_dots(Path); in cleanPathForOutput()