Lines Matching refs:is_separator
39 using llvm::sys::path::is_separator;
81 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
82 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
89 if (is_separator(path[0], style)) in find_first_component()
100 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
110 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
121 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
126 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
127 !is_separator(str[2], style)) { in root_dir_start()
132 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
145 path.size() > 0 && is_separator(path[end_pos], style); in parent_path_end()
151 is_separator(path[end_pos - 1], style)) in parent_path_end()
258 bool was_net = Component.size() > 2 && is_separator(Component[0], S) && in operator ++()
259 Component[1] == Component[0] && !is_separator(Component[2], S); in operator ++()
262 if (is_separator(Path[Position], S)) { in operator ++()
272 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
322 is_separator(Path[end_pos - 1], S)) in operator ++()
327 is_separator(Path.back(), S) && in operator ++()
354 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_path()
358 if ((++pos != e) && is_separator((*pos)[0], style)) { in root_path()
367 if (is_separator((*b)[0], style)) { in root_path()
379 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_name()
396 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_directory()
401 (++pos != e) && is_separator((*pos)[0], style)) { in root_directory()
406 if (!has_net && is_separator((*b)[0], style)) { in root_directory()
435 !path.empty() && is_separator(path[path.size() - 1], style); in append()
447 !component.empty() && is_separator(component[0], style); in append()
508 bool SepPath = is_separator(Path[I], style); in starts_with()
509 bool SepPrefix = is_separator(Prefix[I], style); in starts_with()
557 if (is_separator(Ch, style)) in native()
559 if (Path[0] == '~' && (Path.size() == 1 || is_separator(Path[1], style))) { in native()
603 bool is_separator(char value, Style style) { in is_separator() function
689 if (!p.empty() && is_separator(p.front(), style)) in is_absolute_gnu()
707 while (Path.size() > 2 && Path[0] == '.' && is_separator(Path[1], style)) { in remove_leading_dotslash()
709 while (Path.size() > 0 && is_separator(Path[0], style)) in remove_leading_dotslash()