Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp23 using llvm::sys::path::is_separator;
54 is_separator(path[0]) && in find_first_component()
56 !is_separator(path[2])) { in find_first_component()
63 if (is_separator(path[0])) in find_first_component()
79 is_separator(str[0]) && in filename_pos()
83 if (str.size() > 0 && is_separator(str[str.size() - 1])) in filename_pos()
94 (pos == 1 && is_separator(str[0]))) in filename_pos()
105 is_separator(str[2])) in root_dir_start()
111 is_separator(str[0]) && in root_dir_start()
117 is_separator(str[0]) && in root_dir_start()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp36 using llvm::sys::path::is_separator;
65 is_separator(path[0]) && in find_first_component()
67 !is_separator(path[2])) { in find_first_component()
74 if (is_separator(path[0])) in find_first_component()
84 is_separator(str[0]) && in filename_pos()
88 if (str.size() > 0 && is_separator(str[str.size() - 1])) in filename_pos()
99 (pos == 1 && is_separator(str[0]))) in filename_pos()
110 is_separator(str[2])) in root_dir_start()
116 is_separator(str[0]) && in root_dir_start()
122 is_separator(str[0]) && in root_dir_start()
[all …]
/external/llvm/lib/Support/
DPath.cpp36 using llvm::sys::path::is_separator;
65 is_separator(path[0]) && in find_first_component()
67 !is_separator(path[2])) { in find_first_component()
74 if (is_separator(path[0])) in find_first_component()
84 is_separator(str[0]) && in filename_pos()
88 if (str.size() > 0 && is_separator(str[str.size() - 1])) in filename_pos()
99 (pos == 1 && is_separator(str[0]))) in filename_pos()
110 is_separator(str[2])) in root_dir_start()
116 is_separator(str[0]) && in root_dir_start()
122 is_separator(str[0]) && in root_dir_start()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DPath.cpp37 using llvm::sys::path::is_separator;
78 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
79 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
86 if (is_separator(path[0], style)) in find_first_component()
97 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
107 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
118 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
123 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
124 !is_separator(str[2], style)) { in root_dir_start()
129 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DPath.cpp32 TEST(is_separator, Works) { in TEST() argument
33 EXPECT_TRUE(path::is_separator('/')); in TEST()
34 EXPECT_FALSE(path::is_separator('\0')); in TEST()
35 EXPECT_FALSE(path::is_separator('-')); in TEST()
36 EXPECT_FALSE(path::is_separator(' ')); in TEST()
39 EXPECT_TRUE(path::is_separator('\\')); in TEST()
41 EXPECT_FALSE(path::is_separator('\\')); in TEST()
/external/llvm/unittests/Support/
DPath.cpp45 TEST(is_separator, Works) { in TEST() argument
46 EXPECT_TRUE(path::is_separator('/')); in TEST()
47 EXPECT_FALSE(path::is_separator('\0')); in TEST()
48 EXPECT_FALSE(path::is_separator('-')); in TEST()
49 EXPECT_FALSE(path::is_separator(' ')); in TEST()
52 EXPECT_TRUE(path::is_separator('\\')); in TEST()
54 EXPECT_FALSE(path::is_separator('\\')); in TEST()
299 EXPECT_TRUE(path::is_separator(LastComponent[0])); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DPath.cpp69 TEST(is_separator, Works) { in TEST() argument
70 EXPECT_TRUE(path::is_separator('/')); in TEST()
71 EXPECT_FALSE(path::is_separator('\0')); in TEST()
72 EXPECT_FALSE(path::is_separator('-')); in TEST()
73 EXPECT_FALSE(path::is_separator(' ')); in TEST()
75 EXPECT_TRUE(path::is_separator('\\', path::Style::windows)); in TEST()
76 EXPECT_FALSE(path::is_separator('\\', path::Style::posix)); in TEST()
79 EXPECT_TRUE(path::is_separator('\\')); in TEST()
81 EXPECT_FALSE(path::is_separator('\\')); in TEST()
293 EXPECT_TRUE(path::is_separator(LastComponent[0], Path.second)); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPathV2.h265 bool is_separator(char value);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h323 bool is_separator(char value);
/external/llvm/include/llvm/Support/
DPath.h323 bool is_separator(char value);
/external/curl/lib/vtls/
Dgskit.c161 static bool is_separator(char c) in is_separator() function
322 while(is_separator(*cipherlist)) /* Skip initial separators. */ in set_ciphers()
347 for(clp = cipherlist; *cipherlist && !is_separator(*cipherlist);) in set_ciphers()
372 while(is_separator(*cipherlist)) in set_ciphers()
/external/clang/lib/Basic/
DFileManager.cpp110 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) in getDirectoryFromFile()
155 llvm::sys::path::is_separator(DirName.back())) in getDirectory()
DVirtualFileSystem.cpp1251 sys::path::is_separator(Trimmed.back())) in parseEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DPath.h340 bool is_separator(char value, Style style = Style::native);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc123 bool is_separator(const wchar_t value) {
703 !is_separator(path_utf16[path.size() - 1]) &&
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DPath.inc53 static bool is_separator(const wchar_t value) {
107 if (I->size() == 1 && is_separator((*I)[0]))
913 !is_separator(path_utf16[path.size() - 1]) &&
1211 StringRef Expr = PathStr.take_until([](char c) { return path::is_separator(c); });
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp110 return !Path.empty() && llvm::sys::path::is_separator(Path[0]); in CanPrefixSysroot()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc50 static bool is_separator(const wchar_t value) {
627 !is_separator(path_utf16[path.size() - 1]) &&
/external/llvm/lib/Support/Windows/
DPath.inc50 static bool is_separator(const wchar_t value) {
633 !is_separator(path_utf16[path.size() - 1]) &&
/external/clang/lib/Driver/
DDriver.cpp1502 !llvm::sys::path::is_separator(V.back())) { in BuildActions()
1514 !llvm::sys::path::is_separator(V.back())) { in BuildActions()
2148 } else if (llvm::sys::path::is_separator(Filename.back())) { in MakeCLOutputFilename()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp230 if (llvm::sys::path::is_separator(CI)) { in stripDirPrefix()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCodeCoverage.cpp400 if (!sys::path::is_separator(NativePath.back())) in remapPathNames()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DPath.inc493 PathStr.take_until([](char c) { return path::is_separator(c); });
/external/clang/lib/Lex/
DPPDirectives.cpp171 else if (::llvm::sys::path::is_separator(Ch)) in warnByDefaultOnWrongCase()
/external/clang/lib/Serialization/
DASTWriter.cpp1196 if (!llvm::sys::path::is_separator(Filename[Pos])) { in adjustFilenameForRelocatableAST()
1197 if (!llvm::sys::path::is_separator(BaseDir.back())) in adjustFilenameForRelocatableAST()