Home | History | Annotate | Download | only in re2

Lines Matching refs:rune

63   // Pushes the literal rune r onto the stack.
64 bool PushLiteral(Rune r);
124 bool ParseCCCharacter(StringPiece* s, Rune *rp,
220 Rune r = re->ccb_->begin()->lo;
225 Rune r = re->ccb_->begin()->lo;
244 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) {
271 // Returns the result of applying the fold f to the rune r.
272 Rune ApplyFold(CaseFold *f, Rune r) {
297 // Returns the next Rune in r's folding cycle (see unicode_casefold.h).
307 Rune CycleFoldRune(Rune r) {
317 static void AddFoldedRange(CharClassBuilder* cc, Rune lo, Rune hi, int depth) {
318 // AddFoldedRange calls itself recursively for each rune in the fold cycle.
334 if (lo < f->lo) { // lo has no fold; next rune with a fold is f->lo
341 Rune lo1 = lo;
342 Rune hi1 = min<Rune>(hi, f->hi);
368 // Pushes the literal rune r onto the stack.
369 bool Regexp::ParseState::PushLiteral(Rune r) {
374 Rune r1 = r;
520 static void AddLiteral(CharClassBuilder* cc, Rune r, bool foldascii) {
548 Rune rune;
551 rune = r3->rune_;
555 AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase);
686 // The returned Rune* points into a piece of re,
688 Rune* Regexp::LeadingString(Regexp* re, int *nrune,
736 Rune rune = re->runes_[re->nrunes_ - 1];
740 re->rune_ = rune;
820 Rune *rune = NULL;
830 // with the string rune[0:nrune].
832 Rune* rune_i = NULL;
839 while (same < nrune && same < nrune_i && rune[same] == rune_i[same])
842 // Matches at least one rune in current range. Keep going around.
850 // sub[start:i] all begin with rune[0:nrune] but sub[i]
851 // does not even begin with rune[0].
862 x[0] = LiteralString(rune, nrune, runeflags);
874 rune = rune_i;
961 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags());
1087 Rune rune = re2->rune_;
1091 re2->AddRuneToString(rune);
1183 // Removes the next Rune from the StringPiece and stores it in *r.
1188 static int StringPieceToRune(Rune *r, StringPiece *sp, RegexpStatus* status) {
1207 Rune r;
1237 static bool ParseEscape(StringPiece* s, Rune* rp,
1251 Rune c, c1;
1386 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) {
1514 Rune c = (*s)[1];
1608 bool Regexp::ParseState::ParseCCCharacter(StringPiece* s, Rune *rp,
1622 // Otherwise take the next rune.
1687 Rune r;
1849 Rune c;
1938 Rune r = latin1[i] & 0xFF;
1969 Rune r;
1983 Rune r;
2152 Rune r;
2189 Rune r;