Lines Matching refs:is_separator
37 using llvm::sys::path::is_separator;
79 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
80 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
87 if (is_separator(path[0], style)) in find_first_component()
98 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
108 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
119 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
124 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
125 !is_separator(str[2], style)) { in root_dir_start()
130 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
143 path.size() > 0 && is_separator(path[end_pos], style); in parent_path_end()
149 is_separator(path[end_pos - 1], style)) in parent_path_end()
256 bool was_net = Component.size() > 2 && is_separator(Component[0], S) && in operator ++()
257 Component[1] == Component[0] && !is_separator(Component[2], S); in operator ++()
260 if (is_separator(Path[Position], S)) { in operator ++()
270 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
320 is_separator(Path[end_pos - 1], S)) in operator ++()
325 is_separator(Path.back(), S) && in operator ++()
352 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_path()
356 if ((++pos != e) && is_separator((*pos)[0], style)) { in root_path()
365 if (is_separator((*b)[0], style)) { in root_path()
377 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_name()
394 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_directory()
399 (++pos != e) && is_separator((*pos)[0], style)) { in root_directory()
404 if (!has_net && is_separator((*b)[0], style)) { in root_directory()
433 !path.empty() && is_separator(path[path.size() - 1], style); in append()
445 !component.empty() && is_separator(component[0], style); in append()
506 bool SepPath = is_separator(Path[I], style); in starts_with()
507 bool SepPrefix = is_separator(Prefix[I], style); in starts_with()
555 if (is_separator(Ch, style)) in native()
557 if (Path[0] == '~' && (Path.size() == 1 || is_separator(Path[1], style))) { in native()
601 bool is_separator(char value, Style style) { in is_separator() function
687 if (!p.empty() && is_separator(p.front(), style)) in is_absolute_gnu()
705 while (Path.size() > 2 && Path[0] == '.' && is_separator(Path[1], style)) { in remove_leading_dotslash()
707 while (Path.size() > 0 && is_separator(Path[0], style)) in remove_leading_dotslash()