Home
last modified time | relevance | path

Searched refs:IsSlash (Results 1 – 7 of 7) sorted by relevance

/third_party/gn/src/gn/
Dfilesystem_utils.cc50 if (IsSlash(path[after_dot])) { in ClassifyAfterDot()
63 if (IsSlash(path[after_dot + 1])) { in ClassifyAfterDot()
109 if (!IsSlash(path[2])) in DoesBeginWindowsDriveLetter()
139 IsSlash(static_cast<char>(result[1][0]))) in GetPathComponents()
210 for (; len > min_len && IsSlash(path[len - 1]); len--) in AbsPathLenWithNoTrailingSlash()
234 if (IsSlash(path[i])) in FindExtensionOffset()
252 if (IsSlash(path[i])) in FindFilenameOffset()
286 return !s.empty() && IsSlash(s[s.size() - 1]); in EndsWithSlash()
340 if (!IsSlash(path[0])) { in IsPathAbsolute()
343 if (path.size() > 2 && path[1] == ':' && IsSlash(path[2])) in IsPathAbsolute()
[all …]
Dvisual_studio_writer.cc185 if (IsSlash((*path)[i])) in FindParentDir()
837 if (IsSlash(folder_path[folder_path.size() - 1])) in ResolveSolutionFolders()
860 if (IsSlash(root_folder_path_[i]) && IsSlash(folder_path[i])) in ResolveSolutionFolders()
866 (i == folder_path.size() || IsSlash(folder_path[i]))) in ResolveSolutionFolders()
869 if (IsSlash(root_folder_path_[common_prefix_len - 1])) in ResolveSolutionFolders()
Dsource_dir.cc20 (s.size() > 2 && s[0] != '/' && s[1] == ':' && IsSlash(s[2]))); in AssertValueSourceDirString()
Dfilesystem_utils.h58 inline bool IsSlash(const char ch) { in IsSlash() function
Dlabel.cc109 IsSlash(input[drive_letter_pos + 2]) && in Resolve()
Dsource_file.cc19 (s.size() > 2 && s[0] != '/' && s[1] == ':' && IsSlash(s[2]))); in AssertValueSourceFileString()
Dfunction_rebase_path.cc49 if (IsSlash(value[value_size - num_dots - 1])) in ValueLooksLikeDir()