Lines Matching full:component
63 // Look for this first component in the following order. in find_first_component()
230 i.Component = find_first_component(path, style); in begin()
246 // Increment Position to past the current component in operator ++()
247 Position += Component.size(); in operator ++()
251 Component = StringRef(); in operator ++()
257 bool was_net = Component.size() > 2 && is_separator(Component[0], S) && in operator ++()
258 Component[1] == Component[0] && !is_separator(Component[2], S); in operator ++()
265 (is_style_windows(S) && Component.ends_with(":"))) { in operator ++()
266 Component = Path.substr(Position, 1); in operator ++()
276 if (Position == Path.size() && Component != "/") { in operator ++()
278 Component = "."; in operator ++()
283 // Find next component. in operator ++()
285 Component = Path.slice(Position, end_pos); in operator ++()
310 I.Component = Path.substr(0, 0); in rend()
329 Component = "."; in operator ++()
335 Component = Path.slice(start_pos, end_pos); in operator ++()
341 return Path.begin() == RHS.Path.begin() && Component == RHS.Component && in operator ==()
361 // just {C:,//net}, return the first component. in root_path()
382 // just {C:,//net}, return the first component. in root_name()
399 // {C:,//net}, skip to the next component. in root_directory()
432 for (auto &component : components) { in append() local
436 // Strip separators from beginning of component. in append()
437 size_t loc = component.find_first_not_of(separators(style)); in append()
438 StringRef c = component.substr(loc); in append()
446 !component.empty() && is_separator(component[0], style); in append()
448 !(path.empty() || has_root_name(component, style))) { in append()
453 path.append(component.begin(), component.end()); in append()
735 StringRef component = remaining.take_front(next_slash); in remove_dots() local
748 if (component.empty() || component == ".") { in remove_dots()
750 } else if (remove_dot_dot && component == "..") { in remove_dots()
752 // Do not allow ".." to remove the root component. If this is the in remove_dots()
753 // beginning of a relative path, keep the ".." component. in remove_dots()
757 components.push_back(component); in remove_dots()
760 components.push_back(component); in remove_dots()