Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DPath.cpp918 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/
DModuleDependencyCollector.cpp70 path::remove_dots(AbsoluteSrc); in copyToRoot()
/external/llvm/include/llvm/Support/
DPath.h431 bool remove_dots(SmallVectorImpl<char> &path, bool remove_dot_dot = false);
/external/llvm/lib/Support/
DPath.cpp674 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/
DFileManager.cpp546 llvm::sys::path::remove_dots(CanonicalNameBuf, /* remove_dot_dot */ true); in getCanonicalName()
DVirtualFileSystem.cpp502 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/
Dsancov.cc187 sys::path::remove_dots(FileName, /* remove_dot_dot */ true); in computeFunctionsMap()
/external/clang/lib/Serialization/
DASTWriter.cpp1114 return Changed | llvm::sys::path::remove_dots(Path); in cleanPathForOutput()