Lines Matching refs:ranges_
719 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange()
727 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange()
733 ranges_.erase(it); in AddRange()
740 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange()
744 ranges_.erase(it); in AddRange()
753 iterator it = ranges_.find(RuneRange(lo, hi)); in AddRange()
757 ranges_.erase(it); in AddRange()
762 ranges_.insert(RuneRange(lo, hi)); in AddRange()
772 return ranges_.find(RuneRange(r, r)) != end(); in Contains()
783 cc->ranges_.insert(RuneRange(it->lo, it->hi)); in Copy()
812 iterator it = ranges_.find(RuneRange(r + 1, Runemax)); in RemoveAbove()
816 ranges_.erase(it); in RemoveAbove()
820 ranges_.insert(rr); in RemoveAbove()
830 v.reserve(ranges_.size() + 1); in Negate()
851 ranges_.clear(); in Negate()
853 ranges_.insert(v[i]); in Negate()
866 uint8* data = new uint8[sizeof *cc + maxranges*sizeof cc->ranges_[0]]; in New()
868 cc->ranges_ = reinterpret_cast<RuneRange*>(data + sizeof *cc); in New()
892 cc->ranges_[n++] = RuneRange(nextlo, it->lo - 1); in Negate()
897 cc->ranges_[n++] = RuneRange(nextlo, Runemax); in Negate()
903 RuneRange* rr = ranges_; in Contains()
920 CharClass* cc = CharClass::New(ranges_.size()); in GetCharClass()
923 cc->ranges_[n++] = *it; in GetCharClass()
925 DCHECK_LE(n, ranges_.size()); in GetCharClass()