Home
last modified time | relevance | path

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

/third_party/googletest/googletest/src/
H A Dgtest-filepath.cc89 static bool IsPathSeparator(char c) { in IsPathSeparator() function
156 (end - s == 2 || IsPathSeparator(s[2])) && in CalculateRootLength()
163 } else if (end - s >= 3 && IsPathSeparator(*s) && IsPathSeparator(*(s + 1)) in CalculateRootLength()
164 && !IsPathSeparator(*(s + 2))) { in CalculateRootLength()
170 bool stop = IsPathSeparator(*s); in CalculateRootLength()
177 } else if (s != end && IsPathSeparator(*s)) { in CalculateRootLength()
182 if (s != end && IsPathSeparator(*s)) { in CalculateRootLength()
294 IsPathSeparator(pathname_[root_length - 1]); in IsRootDirectory()
326 IsPathSeparator(pathname in IsDirectory()
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest-filepath.cc92 static bool IsPathSeparator(char c) { in IsPathSeparator() function
160 if (end - s >= 2 && s[1] == ':' && (end - s == 2 || IsPathSeparator(s[2])) && in CalculateRootLength()
167 } else if (end - s >= 3 && IsPathSeparator(*s) && IsPathSeparator(*(s + 1)) && in CalculateRootLength()
168 !IsPathSeparator(*(s + 2))) { in CalculateRootLength()
174 bool stop = IsPathSeparator(*s); in CalculateRootLength()
181 } else if (s != end && IsPathSeparator(*s)) { in CalculateRootLength()
186 if (s != end && IsPathSeparator(*s)) { in CalculateRootLength()
298 IsPathSeparator(pathname_[root_length - 1]); in IsRootDirectory()
328 IsPathSeparator(pathname in IsDirectory()
[all...]
/third_party/ninja/src/
H A Dincludes_normalize-win32.cc46 bool IsPathSeparator(char c) { in IsPathSeparator() function
70 return IsPathSeparator(a[2]) && IsPathSeparator(b[2]); in SameDriveFast()
101 !IsPathSeparator(s[2])) { in IsFullPathName()
107 if (!IsPathSeparator(s[i])) { in IsFullPathName()
113 (i + 2 >= s.size() || IsPathSeparator(s[i+2]))) { in IsFullPathName()
119 (i + 3 >= s.size() || IsPathSeparator(s[i+3]))) { in IsFullPathName()
H A Dutil.cc131 static bool IsPathSeparator(char c) { in IsPathSeparator() function
155 if (IsPathSeparator(*src)) { in CanonicalizePath()
158 if (src + 2 <= end && IsPathSeparator(src[1])) { in CanonicalizePath()
175 IsPathSeparator(src[2])) { in CanonicalizePath()
200 while (next_sep != end && !IsPathSeparator(*next_sep)) in CanonicalizePath()
224 while (--dst > dst0 && !IsPathSeparator(dst[-1])) { in CanonicalizePath()
259 while (--dst > dst0 && !IsPathSeparator(dst[-1])) { in CanonicalizePath()
280 if (dst > dst_start && IsPathSeparator(dst[-1])) in CanonicalizePath()
/third_party/mesa3d/src/gtest/src/
H A 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()

Completed in 5 milliseconds