Lines Matching refs:iter2
657 auto iter2 = rangeSet_.begin(); in Invert() local
662 iter2++; in Invert()
672 if (iter2 != rangeSet_.end()) { in Invert()
673 iter->second = iter2->first - 1; in Invert()
674 iter2++; in Invert()
689 auto iter2 = rangeSet_.begin(); in Compress() local
690 iter2++; in Compress()
691 while (iter2 != rangeSet_.end()) { in Compress()
692 if (IsIntersect(iter->first, iter->second, iter2->first, iter2->second) || in Compress()
693 IsAdjacent(iter->first, iter->second, iter2->first, iter2->second)) { in Compress()
694 iter->first = std::min(iter->first, iter2->first); in Compress()
695 iter->second = std::max(iter->second, iter2->second); in Compress()
696 iter2 = rangeSet_.erase(iter2); in Compress()
699 iter2++; in Compress()