Home
last modified time | relevance | path

Searched refs:RuneRange (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/re2/re2/
Dregexp.cc719 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange()
727 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange()
740 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange()
753 iterator it = ranges_.find(RuneRange(lo, hi)); 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()
815 RuneRange rr = *it; in RemoveAbove()
829 vector<RuneRange> v; in Negate()
[all …]
Dregexp.h220 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_;
575 typedef set<RuneRange, RuneRangeLess> RuneRangeSet;
Dparse.cc129 bool ParseCCRange(StringPiece* s, RuneRange* rr,
1637 bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr, in ParseCCRange()
1742 RuneRange rr; in ParseCharClass()
/external/regex-re2/re2/
Dregexp.cc719 iterator it = ranges_.find(RuneRange(lo, lo)); in AddRange()
727 iterator it = ranges_.find(RuneRange(lo-1, lo-1)); in AddRange()
740 iterator it = ranges_.find(RuneRange(hi+1, hi+1)); in AddRange()
753 iterator it = ranges_.find(RuneRange(lo, hi)); 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()
815 RuneRange rr = *it; in RemoveAbove()
829 vector<RuneRange> v; in Negate()
[all …]
Dregexp.h220 struct RuneRange { struct
221 RuneRange() : lo(0), hi(0) { } in RuneRange() function
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_;
575 typedef set<RuneRange, RuneRangeLess> RuneRangeSet;
Dparse.cc129 bool ParseCCRange(StringPiece* s, RuneRange* rr,
1637 bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr, in ParseCCRange()
1742 RuneRange rr; in ParseCharClass()
/external/chromium_org/third_party/re2/re2/testing/
Ddump.cc137 RuneRange rr = *it; in DumpRegexpAppending()
/external/regex-re2/re2/testing/
Ddump.cc137 RuneRange rr = *it; in DumpRegexpAppending()