Frag 109 third_party/re2/re2/compile.cc Frag() : begin(0) { end.p = 0; } // needed so Frag can go in vector Frag 110 third_party/re2/re2/compile.cc Frag(uint32 begin, PatchList end) : begin(begin), end(end) {} Frag 113 third_party/re2/re2/compile.cc static Frag NullFrag() { Frag 114 third_party/re2/re2/compile.cc return Frag(); Frag 123 third_party/re2/re2/compile.cc class Compiler : public Regexp::Walker<Frag> { Frag 147 third_party/re2/re2/compile.cc Frag PreVisit(Regexp* re, Frag parent_arg, bool* stop); Frag 148 third_party/re2/re2/compile.cc Frag PostVisit(Regexp* re, Frag parent_arg, Frag pre_arg, Frag* child_args, Frag 150 third_party/re2/re2/compile.cc Frag ShortVisit(Regexp* re, Frag parent_arg); Frag 151 third_party/re2/re2/compile.cc Frag Copy(Frag arg); Frag 154 third_party/re2/re2/compile.cc Frag Plus(Frag a, bool nongreedy); Frag 155 third_party/re2/re2/compile.cc Frag Star(Frag a, bool nongreedy); Frag 156 third_party/re2/re2/compile.cc Frag Quest(Frag a, bool nongreedy); Frag 159 third_party/re2/re2/compile.cc Frag Capture(Frag a, int n); Frag 162 third_party/re2/re2/compile.cc Frag Cat(Frag a, Frag b); Frag 163 third_party/re2/re2/compile.cc Frag Alt(Frag a, Frag b); Frag 166 third_party/re2/re2/compile.cc Frag NoMatch(); Frag 169 third_party/re2/re2/compile.cc Frag Match(int32 id); Frag 172 third_party/re2/re2/compile.cc Frag Nop(); Frag 175 third_party/re2/re2/compile.cc Frag ByteRange(int lo, int hi, bool foldcase); Frag 178 third_party/re2/re2/compile.cc Frag EmptyWidth(EmptyOp op); Frag 207 third_party/re2/re2/compile.cc Frag EndRange(); Frag 210 third_party/re2/re2/compile.cc Frag Literal(Rune r, bool foldcase); Frag 216 third_party/re2/re2/compile.cc Frag DotStar(); Frag 233 third_party/re2/re2/compile.cc Frag rune_range_; Frag 297 third_party/re2/re2/compile.cc Frag Compiler::NoMatch() { Frag 298 third_party/re2/re2/compile.cc return Frag(0, nullPatchList); Frag 302 third_party/re2/re2/compile.cc static bool IsNoMatch(Frag a) { Frag 307 third_party/re2/re2/compile.cc Frag Compiler::Cat(Frag a, Frag b) { Frag 323 third_party/re2/re2/compile.cc return Frag(b.begin, a.end); Frag 327 third_party/re2/re2/compile.cc return Frag(a.begin, b.end); Frag 331 third_party/re2/re2/compile.cc Frag Compiler::Alt(Frag a, Frag b) { Frag 343 third_party/re2/re2/compile.cc return Frag(id, PatchList::Append(inst_, a.end, b.end)); Frag 354 third_party/re2/re2/compile.cc Frag Compiler::Star(Frag a, bool nongreedy) { Frag 362 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk(id << 1)); Frag 365 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk((id << 1) | 1)); Frag 370 third_party/re2/re2/compile.cc Frag Compiler::Plus(Frag a, bool nongreedy) { Frag 372 third_party/re2/re2/compile.cc Frag f = Star(a, nongreedy); Frag 373 third_party/re2/re2/compile.cc return Frag(a.begin, f.end); Frag 377 third_party/re2/re2/compile.cc Frag Compiler::Quest(Frag a, bool nongreedy) { Frag 389 third_party/re2/re2/compile.cc return Frag(id, PatchList::Append(inst_, pl, a.end)); Frag 393 third_party/re2/re2/compile.cc Frag Compiler::ByteRange(int lo, int hi, bool foldcase) { Frag 408 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk(id << 1)); Frag 412 third_party/re2/re2/compile.cc Frag Compiler::Nop() { Frag 417 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk(id << 1)); Frag 421 third_party/re2/re2/compile.cc Frag Compiler::Match(int32 match_id) { Frag 426 third_party/re2/re2/compile.cc return Frag(id, nullPatchList); Frag 430 third_party/re2/re2/compile.cc Frag Compiler::EmptyWidth(EmptyOp empty) { Frag 445 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk(id << 1)); Frag 449 third_party/re2/re2/compile.cc Frag Compiler::Capture(Frag a, int n) { Frag 457 third_party/re2/re2/compile.cc return Frag(id, PatchList::Mk((id+1) << 1)); Frag 487 third_party/re2/re2/compile.cc Frag f = ByteRange(lo, hi, foldcase); Frag 530 third_party/re2/re2/compile.cc Frag Compiler::EndRange() { Frag 668 third_party/re2/re2/compile.cc Frag Compiler::Copy(Frag arg) { Frag 677 third_party/re2/re2/compile.cc Frag Compiler::ShortVisit(Regexp* re, Frag) { Frag 683 third_party/re2/re2/compile.cc Frag Compiler::PreVisit(Regexp* re, Frag, bool* stop) { Frag 691 third_party/re2/re2/compile.cc Frag Compiler::Literal(Rune r, bool foldcase) { Frag 704 third_party/re2/re2/compile.cc Frag f = ByteRange((uint8)buf[0], buf[0], false); Frag 714 third_party/re2/re2/compile.cc Frag Compiler::PostVisit(Regexp* re, Frag, Frag, Frag* child_frags, Frag 734 third_party/re2/re2/compile.cc Frag f = Match(re->match_id()); Frag 742 third_party/re2/re2/compile.cc Frag f = child_frags[0]; Frag 749 third_party/re2/re2/compile.cc Frag f = child_frags[0]; Frag 771 third_party/re2/re2/compile.cc Frag f; Frag 773 third_party/re2/re2/compile.cc Frag f1 = Literal(re->runes()[i], re->parse_flags()&Regexp::FoldCase); Frag 1010 third_party/re2/re2/compile.cc Frag f = c.WalkExponential(sre, NullFrag(), 2*c.max_inst_); Frag 1019 third_party/re2/re2/compile.cc Frag all = c.Cat(f, c.Match(0)); Frag 1034 third_party/re2/re2/compile.cc Frag unanchored = c.Cat(c.DotStar(), all); Frag 1088 third_party/re2/re2/compile.cc Frag Compiler::DotStar() { Frag 1101 third_party/re2/re2/compile.cc Frag all = c.WalkExponential(re, NullFrag(), 2*c.max_inst_);