Searched refs:remove_dots (Results 1 – 8 of 8) sorted by relevance
/external/llvm/unittests/Support/ |
D | Path.cpp | 918 static std::string remove_dots(StringRef path, in remove_dots() function 921 path::remove_dots(buffer, remove_dot_dot); in remove_dots() 927 EXPECT_EQ("foolz\\wat", remove_dots(".\\.\\\\foolz\\wat", false)); in TEST() 928 EXPECT_EQ("", remove_dots(".\\\\\\\\\\", false)); in TEST() 930 EXPECT_EQ("a\\..\\b\\c", remove_dots(".\\a\\..\\b\\c", false)); in TEST() 931 EXPECT_EQ("b\\c", remove_dots(".\\a\\..\\b\\c", true)); in TEST() 932 EXPECT_EQ("c", remove_dots(".\\.\\c", true)); in TEST() 935 EXPECT_TRUE(path::remove_dots(Path1, true)); in TEST() 938 EXPECT_EQ("foolz/wat", remove_dots("././/foolz/wat", false)); in TEST() 939 EXPECT_EQ("", remove_dots("./////", false)); in TEST() [all …]
|
/external/clang/lib/Frontend/ |
D | ModuleDependencyCollector.cpp | 70 path::remove_dots(AbsoluteSrc); in copyToRoot()
|
/external/llvm/include/llvm/Support/ |
D | Path.h | 431 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
|
/external/llvm/lib/Support/ |
D | Path.cpp | 674 static SmallString<256> remove_dots(StringRef path, bool remove_dot_dot) { in remove_dots() function 698 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot) { in remove_dots() function 701 SmallString<256> result = remove_dots(p, remove_dot_dot); in remove_dots()
|
/external/clang/lib/Basic/ |
D | FileManager.cpp | 546 llvm::sys::path::remove_dots(CanonicalNameBuf, /* remove_dot_dot */ true); in getCanonicalName()
|
D | VirtualFileSystem.cpp | 502 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in addFile() 575 llvm::sys::path::remove_dots(Path, /*remove_dot_dot=*/true); in lookupInMemoryNode()
|
/external/llvm/tools/sancov/ |
D | sancov.cc | 187 sys::path::remove_dots(FileName, /* remove_dot_dot */ true); in computeFunctionsMap()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1114 return Changed | llvm::sys::path::remove_dots(Path); in cleanPathForOutput()
|