Lines Matching defs:is_separator

38   using llvm::sys::path::is_separator;
80 if ((path.size() > 2) && is_separator(path[0], style) &&
81 path[0] == path[1] && !is_separator(path[2], style)) {
88 if (is_separator(path[0], style))
99 if (str.size() > 0 && is_separator(str[str.size() - 1], style))
109 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style)))
120 if (str.size() > 2 && str[1] == ':' && is_separator(str[2], style))
125 if (str.size() > 3 && is_separator(str[0], style) && str[0] == str[1] &&
126 !is_separator(str[2], style)) {
131 if (str.size() > 0 && is_separator(str[0], style))
144 path.size() > 0 && is_separator(path[end_pos], style);
150 is_separator(path[end_pos - 1], style))
257 bool was_net = Component.size() > 2 && is_separator(Component[0], S) &&
258 Component[1] == Component[0] && !is_separator(Component[2], S);
261 if (is_separator(Path[Position], S)) {
271 while (Position != Path.size() && is_separator(Path[Position], S)) {
321 is_separator(Path[end_pos - 1], S))
326 is_separator(Path.back(), S) &&
353 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0];
357 if ((++pos != e) && is_separator((*pos)[0], style)) {
366 if (is_separator((*b)[0], style)) {
378 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0];
395 b->size() > 2 && is_separator((*b)[0], style) && (*b)[1] == (*b)[0];
400 (++pos != e) && is_separator((*pos)[0], style)) {
405 if (!has_net && is_separator((*b)[0], style)) {
434 !path.empty() && is_separator(path[path.size() - 1], style);
446 !component.empty() && is_separator(component[0], style);
507 bool SepPath = is_separator(Path[I], style);
508 bool SepPrefix = is_separator(Prefix[I], style);
556 if (is_separator(Ch, style))
558 if (Path[0] == '~' && (Path.size() == 1 || is_separator(Path[1], style))) {
602 bool is_separator(char value, Style style) {
688 if (!p.empty() && is_separator(p.front(), style))
706 while (Path.size() > 2 && Path[0] == '.' && is_separator(Path[1], style)) {
708 while (Path.size() > 0 && is_separator(Path[0], style))