Lines Matching refs:hi
249 if (f[m].lo <= r && r <= f[m].hi)
313 // Add lo-hi to the class, along with their fold-equivalent characters.
314 // If lo-hi is already in the class, assume that the fold-equivalent
316 static void AddFoldedRange(CharClassBuilder* cc, Rune lo, Rune hi, int depth) {
326 if (!cc->AddRange(lo, hi)) // lo-hi was already there? we're done
329 while (lo <= hi) {
338 // Add in the result of folding the range lo - f->hi
341 Rune hi1 = min<Rune>(hi, f->hi);
363 lo = f->hi + 1;
958 ccb.AddRange(it->lo, it->hi);
1143 // Sets *lo and *hi to the given range.
1145 // sets *hi to -1 to signify this.
1150 static bool MaybeParseRepetition(StringPiece* sp, int* lo, int* hi) {
1165 *hi = -1;
1168 if (!ParseInteger(&s, hi))
1173 *hi = *lo;
1385 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) {
1390 if (cutnl && lo <= '\n' && '\n' <= hi) {
1393 if (hi > '\n')
1394 AddRangeFlags('\n' + 1, hi, parse_flags);
1400 AddFoldedRange(this, lo, hi, 0);
1402 AddRange(lo, hi);
1442 cc->AddRangeFlags(g->r16[i].lo, g->r16[i].hi, parse_flags);
1445 cc->AddRangeFlags(g->r32[i].lo, g->r32[i].hi, parse_flags);
1471 next = g->r16[i].hi + 1;
1476 next = g->r32[i].hi + 1;
1634 // For single characters, rr->lo == rr->hi.
1646 if (!ParseCCCharacter(s, &rr->hi, whole_class, status))
1648 if (rr->hi < rr->lo) {
1654 rr->hi = rr->lo;
1752 re->ccb_->AddRangeFlags(rr.lo, rr.hi, flags_ | Regexp::ClassNL);
2091 int lo, hi;
2093 if (!MaybeParseRepetition(&t, &lo, &hi)) {
2115 if (!ps.PushRepetition(lo, hi, opstr, nongreedy))