Lines Matching refs:remaining
718 StringRef remaining(the_path.data(), the_path.size()); in remove_dots() local
723 StringRef root = path::root_path(remaining, style); in remove_dots()
726 remaining = remaining.drop_front(root.size()); in remove_dots()
730 while (!remaining.empty()) { in remove_dots()
731 size_t next_slash = remaining.find_first_of(separators(style)); in remove_dots()
733 next_slash = remaining.size(); in remove_dots()
734 StringRef component = remaining.take_front(next_slash); in remove_dots()
735 remaining = remaining.drop_front(next_slash); in remove_dots()
738 if (!remaining.empty()) { in remove_dots()
739 needs_change |= remaining.front() != preferred_separator(style); in remove_dots()
740 remaining = remaining.drop_front(); in remove_dots()
743 needs_change |= remaining.empty(); in remove_dots()