Lines Matching refs:Component
47 // Look for this first component in the following order.
236 i.Component = find_first_component(path);
251 // Increment Position to past the current component
252 Position += Component.size();
256 Component = StringRef();
262 bool was_net = Component.size() > 2 &&
263 is_separator(Component[0]) &&
264 Component[1] == Component[0] &&
265 !is_separator(Component[2]);
273 || Component.endswith(":")
276 Component = Path.substr(Position, 1);
289 Component = ".";
294 // Find next component.
296 Component = Path.slice(Position, end_pos);
319 I.Component = Path.substr(0, 0);
332 Component = ".";
346 Component = Path.slice(start_pos, end_pos);
352 return Path.begin() == RHS.Path.begin() && Component == RHS.Component &&
378 // just {C:,//net}, return the first component.
405 // just {C:,//net}, return the first component.
428 // {C:,//net}, skip to the next component.
463 for (auto &component : components) {
465 bool component_has_sep = !component.empty() && is_separator(component[0]);
466 bool is_root_name = has_root_name(component);
469 // Strip separators from beginning of component.
470 size_t loc = component.find_first_not_of(separators);
471 StringRef c = component.substr(loc);
483 path.append(component.begin(), component.end());