Home
last modified time | relevance | path

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

123

/external/llvm-project/clang-tools-extra/clangd/
DFS.cpp21 llvm::sys::path::remove_dots(MainFileCanonical, /*remove_dot_dot=*/true); in PreambleFileStatusCache()
31 llvm::sys::path::remove_dots(PathStore, /*remove_dot_dot=*/true); in update()
44 llvm::sys::path::remove_dots(PathLookup, /*remove_dot_dot=*/true); in lookup()
116 llvm::sys::path::remove_dots(CanonPath, /*remove_dot_dot=*/true); in removeDots()
/external/llvm-project/llvm/unittests/Support/
DPath.cpp1404 static std::string remove_dots(StringRef path, bool remove_dot_dot, in remove_dots() function
1407 path::remove_dots(buffer, remove_dot_dot, style); in remove_dots()
1413 remove_dots(".\\.\\\\foolz\\wat", false, path::Style::windows)); in TEST()
1414 EXPECT_EQ("", remove_dots(".\\\\\\\\\\", false, path::Style::windows)); in TEST()
1417 remove_dots(".\\a\\..\\b\\c", false, path::Style::windows)); in TEST()
1418 EXPECT_EQ("b\\c", remove_dots(".\\a\\..\\b\\c", true, path::Style::windows)); in TEST()
1419 EXPECT_EQ("c", remove_dots(".\\.\\c", true, path::Style::windows)); in TEST()
1421 remove_dots("..\\a\\b\\..\\c", true, path::Style::windows)); in TEST()
1423 remove_dots("..\\..\\a\\b\\..\\c", true, path::Style::windows)); in TEST()
1424 EXPECT_EQ("C:\\a\\c", remove_dots("C:\\foo\\bar//..\\..\\a\\c", true, in TEST()
[all …]
/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/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DPathConfig.cpp36 llvm::sys::path::remove_dots(CleanedFilePath, /*remove_dot_dot=*/false); in getIncludePath()
/external/llvm-project/lld/Common/
DReproduce.cpp28 path::remove_dots(abs, /*remove_dot_dot=*/true); in relativeToRoot()
/external/llvm-project/llvm/tools/llvm-cov/
DSourceCoverageView.cpp44 sys::path::remove_dots(ParentPath, /*remove_dot_dots=*/true); in getOutputPath()
159 sys::path::remove_dots(SourceText, /*remove_dot_dots=*/true); in getSourceName()
DCodeCoverage.cpp197 sys::path::remove_dots(EffectivePath, /*remove_dot_dots=*/true); in addCollectedPath()
402 sys::path::remove_dots(NativePath, true); in remapPathNames()
414 sys::path::remove_dots(NativeFilename, true); in remapPathNames()
/external/llvm/include/llvm/Support/
DPath.h450 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h451 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
/external/llvm-project/clang/lib/Tooling/DependencyScanning/
DDependencyScanningWorker.cpp37 llvm::sys::path::remove_dots(CanonPath, /*remove_dot_dot=*/true); in finishedMainFile()
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp194 path::remove_dots(CanonicalPath, /*remove_dot_dot=*/true); in copyToRoot()
/external/llvm-project/clang/lib/Frontend/
DModuleDependencyCollector.cpp197 path::remove_dots(VirtualPath, /*remove_dot_dot=*/true); in copyToRoot()
/external/llvm-project/llvm/include/llvm/Support/
DPath.h514 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false,
/external/llvm-project/clang/unittests/Frontend/
DPCHPreambleTest.cpp36 llvm::sys::path::remove_dots(PathVec, true); in openFileForRead()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPath.h468 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVirtualFileSystem.cpp708 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in addFile()
818 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in lookupInMemoryNode()
960 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in setCurrentWorkingDirectory()
976 llvm::sys::path::remove_dots(Output, /*remove_dot_dot=*/true); in getRealPath()
1349 sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in parseEntry()
1410 sys::path::remove_dots(FullPath, /*remove_dot_dot=*/true); in parseEntry()
1661 sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in lookupPath()
DFileCollector.cpp84 sys::path::remove_dots(VirtualPath, /*remove_dot_dot=*/true); in addFileImpl()
DPath.cpp711 static SmallString<256> remove_dots(StringRef path, bool remove_dot_dot, in remove_dots() function
739 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot, in remove_dots() function
743 SmallString<256> result = remove_dots(p, remove_dot_dot, style); in remove_dots()
/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()
/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/llvm-project/clang-tools-extra/clang-tidy/utils/
DHeaderGuard.cpp23 llvm::sys::path::remove_dots(Result, true); in cleanPath()
/external/llvm-project/llvm/lib/Support/
DFileCollector.cpp93 sys::path::remove_dots(VirtualPath, /*remove_dot_dot=*/true); in addFileImpl()
/external/llvm-project/clang/lib/Tooling/
DJSONCompilationDatabase.cpp428 llvm::sys::path::remove_dots(AbsolutePath, /*remove_dot_dot=*/ true); in parse()

123