Lines Matching refs:is_separator
36 using llvm::sys::path::is_separator;
65 is_separator(path[0]) && in find_first_component()
67 !is_separator(path[2])) { in find_first_component()
74 if (is_separator(path[0])) in find_first_component()
84 is_separator(str[0]) && in filename_pos()
88 if (str.size() > 0 && is_separator(str[str.size() - 1])) in filename_pos()
99 (pos == 1 && is_separator(str[0]))) in filename_pos()
110 is_separator(str[2])) in root_dir_start()
116 is_separator(str[0]) && in root_dir_start()
122 is_separator(str[0]) && in root_dir_start()
124 !is_separator(str[2])) { in root_dir_start()
129 if (str.size() > 0 && is_separator(str[0])) in root_dir_start()
138 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); in parent_path_end()
145 is_separator(path[end_pos - 1])) in parent_path_end()
263 is_separator(Component[0]) && in operator ++()
265 !is_separator(Component[2]); in operator ++()
268 if (is_separator(Path[Position])) { in operator ++()
282 is_separator(Path[Position])) { in operator ++()
330 is_separator(Path[Position - 1])) { in operator ++()
341 is_separator(Path[end_pos - 1])) in operator ++()
365 bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0]; in root_path()
374 if ((++pos != e) && is_separator((*pos)[0])) { in root_path()
384 if (is_separator((*b)[0])) { in root_path()
396 bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0]; in root_name()
419 bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0]; in root_directory()
429 (++pos != e) && is_separator((*pos)[0])) { in root_directory()
434 if (!has_net && is_separator((*b)[0])) { in root_directory()
464 bool path_has_sep = !path.empty() && is_separator(path[path.size() - 1]); in append()
465 bool component_has_sep = !component.empty() && is_separator(component[0]); in append()
604 bool is_separator(char value) { in is_separator() function
694 while (Path.size() > 2 && Path[0] == '.' && is_separator(Path[1])) { in remove_leading_dotslash()
696 while (Path.size() > 0 && is_separator(Path[0])) in remove_leading_dotslash()