Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/googletest/googletest/src/
H A Dgtest-filepath.cc92 static bool IsPathSeparator(char c) { in IsPathSeparator() function
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()
393 IsPathSeparator(*(i + 1)) && !IsPathSeparator(*(i + 2))) { in Normalize()
[all …]
/freebsd-14.2/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.cpp564 bool IsPathSeparator(const char c) { in IsPathSeparator() function
575 IsPathSeparator(path[2]); in IsAbsolutePath()