Lines Matching refs:rune
62 // Pushes the literal rune r onto the stack.
63 bool PushLiteral(Rune r);
123 bool ParseCCCharacter(StringPiece* s, Rune *rp,
219 Rune r = re->ccb_->begin()->lo;
224 Rune r = re->ccb_->begin()->lo;
243 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) {
270 // Returns the result of applying the fold f to the rune r.
271 Rune ApplyFold(CaseFold *f, Rune r) {
296 // Returns the next Rune in r's folding cycle (see unicode_casefold.h).
306 Rune CycleFoldRune(Rune r) {
316 static void AddFoldedRange(CharClassBuilder* cc, Rune lo, Rune hi, int depth) {
317 // AddFoldedRange calls itself recursively for each rune in the fold cycle.
333 if (lo < f->lo) { // lo has no fold; next rune with a fold is f->lo
340 Rune lo1 = lo;
341 Rune hi1 = min<Rune>(hi, f->hi);
367 // Pushes the literal rune r onto the stack.
368 bool Regexp::ParseState::PushLiteral(Rune r) {
373 Rune r1 = r;
519 static void AddLiteral(CharClassBuilder* cc, Rune r, bool foldascii) {
547 Rune rune;
550 rune = r3->rune_;
554 AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase);
685 // The returned Rune* points into a piece of re,
687 Rune* Regexp::LeadingString(Regexp* re, int *nrune,
735 Rune rune = re->runes_[re->nrunes_ - 1];
739 re->rune_ = rune;
819 Rune *rune = NULL;
829 // with the string rune[0:nrune].
831 Rune* rune_i = NULL;
838 while (same < nrune && same < nrune_i && rune[same] == rune_i[same])
841 // Matches at least one rune in current range. Keep going around.
849 // sub[start:i] all begin with rune[0:nrune] but sub[i]
850 // does not even begin with rune[0].
861 x[0] = LiteralString(rune, nrune, runeflags);
873 rune = rune_i;
960 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags());
1086 Rune rune = re2->rune_;
1090 re2->AddRuneToString(rune);
1182 // Removes the next Rune from the StringPiece and stores it in *r.
1187 static int StringPieceToRune(Rune *r, StringPiece *sp, RegexpStatus* status) {
1206 Rune r;
1236 static bool ParseEscape(StringPiece* s, Rune* rp,
1250 Rune c, c1;
1385 Rune lo, Rune hi, Regexp::ParseFlags parse_flags) {
1520 Rune c = (*s)[1];
1614 bool Regexp::ParseState::ParseCCCharacter(StringPiece* s, Rune *rp,
1628 // Otherwise take the next rune.
1693 Rune r;
1855 Rune c;
1944 Rune r = latin1[i] & 0xFF;
1975 Rune r;
1989 Rune r;
2163 Rune r;
2200 Rune r;