Searched refs:RuneRange (Results 1 – 3 of 3) sorted by relevance
/external/regex-re2/re2/ |
D | regexp.cc | 708 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange() 716 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange() 729 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange() 742 iterator it = ranges_.find(RuneRange(lo, hi)); in AddRange() 751 ranges_.insert(RuneRange(lo, hi)); in AddRange() 761 return ranges_.find(RuneRange(r, r)) != end(); in Contains() 772 cc->ranges_.insert(RuneRange(it->lo, it->hi)); in Copy() 801 iterator it = ranges_.find(RuneRange(r + 1, Runemax)); in RemoveAbove() 804 RuneRange rr = *it; in RemoveAbove() 818 vector<RuneRange> v; in Negate() [all …]
|
D | regexp.h | 220 struct RuneRange { struct 221 RuneRange() : lo(0), hi(0) { } in RuneRange() argument 222 RuneRange(int l, int h) : lo(l), hi(h) { } in RuneRange() function 230 bool operator()(const RuneRange& a, const RuneRange& b) const { in operator() argument 241 typedef RuneRange* iterator; 262 RuneRange *ranges_; 574 typedef set<RuneRange, RuneRangeLess> RuneRangeSet;
|
D | parse.cc | 130 bool ParseCCRange(StringPiece* s, RuneRange* rr, 1631 bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr, in ParseCCRange() 1736 RuneRange rr; in ParseCharClass()
|