Lines Matching defs:cc
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
360 AddFoldedRange(cc, lo1, hi1, depth+1);
518 // Adds r to cc, along with r's upper case if foldascii is set.
519 static void AddLiteral(CharClassBuilder* cc, Rune r, bool foldascii) {
520 cc->AddRange(r, r);
522 cc->AddRange(r + 'A' - 'a', r + 'A' - 'a');
956 CharClass* cc = re->cc();
957 for (CharClass::iterator it = cc->begin(); it != cc->end(); ++it)
1438 static void AddUGroup(CharClassBuilder *cc, UGroup *g, int sign,
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);
1464 cc->AddCharClass(&ccb1);
1470 cc->AddRangeFlags(next, g->r16[i].lo - 1, parse_flags);
1475 cc->AddRangeFlags(next, g->r32[i].lo - 1, parse_flags);
1479 cc->AddRangeFlags(next, Runemax, parse_flags);
1513 CharClassBuilder *cc,
1569 AddUGroup(cc, g, sign, parse_flags);
1577 CharClassBuilder *cc,
1606 AddUGroup(cc, g, g->sign, parse_flags);