Lines Matching refs:components
427 SmallVector<StringRef, 4> components; in append() local
428 if (!a.isTriviallyEmpty()) components.push_back(a.toStringRef(a_storage)); in append()
429 if (!b.isTriviallyEmpty()) components.push_back(b.toStringRef(b_storage)); in append()
430 if (!c.isTriviallyEmpty()) components.push_back(c.toStringRef(c_storage)); in append()
431 if (!d.isTriviallyEmpty()) components.push_back(d.toStringRef(d_storage)); in append()
433 for (auto &component : components) { in append()
722 SmallVector<StringRef, 16> components; in remove_dots() local
755 if (!components.empty() && components.back() != "..") { in remove_dots()
756 components.pop_back(); in remove_dots()
758 components.push_back(component); in remove_dots()
761 components.push_back(component); in remove_dots()
774 if (!components.empty()) { in remove_dots()
775 buffer += components[0]; in remove_dots()
776 for (StringRef C : ArrayRef(components).drop_front()) { in remove_dots()