Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/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_.c_str()[pathname_.length() - 1]); in IsDirectory()
392 if (pathname_.end() - i >= 3 && IsPathSeparator(*i) && in Normalize()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.h83 bool IsPathSeparator(const char c);
H A Dsanitizer_posix.cpp274 bool IsPathSeparator(const char c) { in IsPathSeparator() function
279 return path != nullptr && IsPathSeparator(path[0]); in IsAbsolutePath()
H A Dsanitizer_file.cpp84 if (!IsPathSeparator(path[i])) in RecursiveCreateParentDirs()
H A Dsanitizer_win.cpp560 bool IsPathSeparator(const char c) { in IsPathSeparator() function
571 IsPathSeparator(path[2]); in IsAbsolutePath()