Home | History | Annotate | Download | only in re2

Lines Matching refs:rune

187   // Rune range compiler.
192 // Adds a fragment matching the rune range lo-hi.
193 void AddRuneRange(Rune lo, Rune hi, bool foldcase);
194 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase);
195 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase);
208 // Single rune.
209 Frag Literal(Rune r, bool foldcase);
459 // A Rune is a name for a Unicode code point.
460 // Returns maximum rune encoded by UTF-8 sequence of length len.
462 int b; // number of Rune bits in len-byte UTF-8 sequence (len < UTFmax)
467 return (1<<b) - 1; // maximum Rune for b bits.
470 // The rune range compiler caches common suffix fragments,
533 // Converts rune range lo-hi into a fragment that recognizes
539 void Compiler::AddRuneRange(Rune lo, Rune hi, bool foldcase) {
551 void Compiler::AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase) {
561 // for the rune range 80-10FFFF (Runeself-Runemax).
604 void Compiler::AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase) {
617 Rune max = MaxRune(i);
690 Frag Compiler::Literal(Rune r, bool foldcase) {
764 return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase);