Home
last modified time | relevance | path

Searched refs:IsPathSeparator (Results 1 – 5 of 5) sorted by relevance

/third_party/ninja/src/
Dincludes_normalize-win32.cc44 bool IsPathSeparator(char c) { in IsPathSeparator() function
68 return IsPathSeparator(a[2]) && IsPathSeparator(b[2]); in SameDriveFast()
99 !IsPathSeparator(s[2])) { in IsFullPathName()
105 if (!IsPathSeparator(s[i])) { in IsFullPathName()
111 (i + 2 >= s.size() || IsPathSeparator(s[i+2]))) { in IsFullPathName()
117 (i + 3 >= s.size() || IsPathSeparator(s[i+3]))) { in IsFullPathName()
Dutil.cc105 static bool IsPathSeparator(char c) { in IsPathSeparator() function
132 if (IsPathSeparator(*src)) { in CanonicalizePath()
136 if (*len > 1 && IsPathSeparator(*(src + 1))) { in CanonicalizePath()
151 if (src + 1 == end || IsPathSeparator(src[1])) { in CanonicalizePath()
155 } else if (src[1] == '.' && (src + 2 == end || IsPathSeparator(src[2]))) { in CanonicalizePath()
170 if (IsPathSeparator(*src)) { in CanonicalizePath()
180 while (src != end && !IsPathSeparator(*src)) in CanonicalizePath()
/third_party/mesa3d/src/gtest/src/
Dgtest-filepath.cc85 static bool IsPathSeparator(char c) { in IsPathSeparator() function
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
265 IsPathSeparator(name[2]); in IsAbsolutePath()
267 return IsPathSeparator(name[0]); in IsAbsolutePath()
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
360 if (!IsPathSeparator(*src)) { in Normalize()
368 while (IsPathSeparator(*src)) in Normalize()
/third_party/googletest/googletest/src/
Dgtest-filepath.cc85 static bool IsPathSeparator(char c) { in IsPathSeparator() function
254 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
266 IsPathSeparator(name[2]); in IsAbsolutePath()
268 return IsPathSeparator(name[0]); in IsAbsolutePath()
296 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
356 if (!IsPathSeparator(character)) { in Normalize()
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc9956 static bool IsPathSeparator(char c) { in IsPathSeparator() function
10125 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
10137 IsPathSeparator(name[2]); in IsAbsolutePath()
10139 return IsPathSeparator(name[0]); in IsAbsolutePath()
10167 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
10227 if (!IsPathSeparator(character)) { in Normalize()