Lines Matching refs:is_separator
36 using llvm::sys::path::is_separator;
77 if ((path.size() > 2) && is_separator(path[0], style) && in find_first_component()
78 path[0] == path[1] && !is_separator(path[2], style)) { in find_first_component()
85 if (is_separator(path[0], style)) in find_first_component()
96 if (str.size() > 0 && is_separator(str[str.size() - 1], style)) in filename_pos()
106 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos()
117 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style)) in root_dir_start()
122 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] && in root_dir_start()
123 !is_separator(str[2], style)) { in root_dir_start()
128 if (str.size() > 0 && is_separator(str[0], style)) in root_dir_start()
141 path.size() > 0 && is_separator(path[end_pos], style); in parent_path_end()
147 is_separator(path[end_pos - 1], style)) in parent_path_end()
254 bool was_net = Component.size() > 2 && is_separator(Component[0], S) && in operator ++()
255 Component[1] == Component[0] && !is_separator(Component[2], S); in operator ++()
258 if (is_separator(Path[Position], S)) { in operator ++()
268 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
318 is_separator(Path[end_pos - 1], S)) in operator ++()
323 is_separator(Path.back(), S) && in operator ++()
350 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_path()
354 if ((++pos != e) && is_separator((*pos)[0], style)) { in root_path()
363 if (is_separator((*b)[0], style)) { in root_path()
375 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_name()
392 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0]; in root_directory()
397 (++pos != e) && is_separator((*pos)[0], style)) { in root_directory()
402 if (!has_net && is_separator((*b)[0], style)) { in root_directory()
431 !path.empty() && is_separator(path[path.size() - 1], style); in append()
443 !component.empty() && is_separator(component[0], style); in append()
504 bool SepPath = is_separator(Path[I], style); in starts_with()
505 bool SepPrefix = is_separator(Prefix[I], style); in starts_with()
553 if (Path[0] == '~' && (Path.size() == 1 || is_separator(Path[1], style))) { in native()
599 bool is_separator(char value, Style style) { in is_separator() function
686 if (!p.empty() && is_separator(p.front(), style)) in is_absolute_gnu()
704 while (Path.size() > 2 && Path[0] == '.' && is_separator(Path[1], style)) { in remove_leading_dotslash()
706 while (Path.size() > 0 && is_separator(Path[0], style)) in remove_leading_dotslash()