Lines Matching refs:IsPathSeparator
92 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()
393 IsPathSeparator(*(i + 1)) && !IsPathSeparator(*(i + 2))) { in Normalize()
400 if (!IsPathSeparator(character)) { in Normalize()