Regexp 123 third_party/re2/re2/compile.cc class Compiler : public Regexp::Walker<Frag> { Regexp 132 third_party/re2/re2/compile.cc static Prog *Compile(Regexp* re, bool reversed, int64 max_mem); Regexp 137 third_party/re2/re2/compile.cc Regexp* re); Regexp 147 third_party/re2/re2/compile.cc Frag PreVisit(Regexp* re, Frag parent_arg, bool* stop); Regexp 148 third_party/re2/re2/compile.cc Frag PostVisit(Regexp* re, Frag parent_arg, Frag pre_arg, Frag* child_args, Regexp 150 third_party/re2/re2/compile.cc Frag ShortVisit(Regexp* re, Frag parent_arg); Regexp 212 third_party/re2/re2/compile.cc void Setup(Regexp::ParseFlags, int64, RE2::Anchor); Regexp 677 third_party/re2/re2/compile.cc Frag Compiler::ShortVisit(Regexp* re, Frag) { Regexp 683 third_party/re2/re2/compile.cc Frag Compiler::PreVisit(Regexp* re, Frag, bool* stop) { Regexp 714 third_party/re2/re2/compile.cc Frag Compiler::PostVisit(Regexp* re, Frag, Frag, Frag* child_frags, Regexp 756 third_party/re2/re2/compile.cc return Star(child_frags[0], re->parse_flags()&Regexp::NonGreedy); Regexp 759 third_party/re2/re2/compile.cc return Plus(child_frags[0], re->parse_flags()&Regexp::NonGreedy); Regexp 762 third_party/re2/re2/compile.cc return Quest(child_frags[0], re->parse_flags()&Regexp::NonGreedy); Regexp 765 third_party/re2/re2/compile.cc return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase); Regexp 773 third_party/re2/re2/compile.cc Frag f1 = Literal(re->runes()[i], re->parse_flags()&Regexp::FoldCase); Regexp 859 third_party/re2/re2/compile.cc static bool IsAnchorStart(Regexp** pre, int depth) { Regexp 860 third_party/re2/re2/compile.cc Regexp* re = *pre; Regexp 861 third_party/re2/re2/compile.cc Regexp* sub; Regexp 875 third_party/re2/re2/compile.cc Regexp** subcopy = new Regexp*[re->nsub()]; Regexp 879 third_party/re2/re2/compile.cc *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); Regexp 890 third_party/re2/re2/compile.cc *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); Regexp 897 third_party/re2/re2/compile.cc *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); Regexp 907 third_party/re2/re2/compile.cc static bool IsAnchorEnd(Regexp** pre, int depth) { Regexp 908 third_party/re2/re2/compile.cc Regexp* re = *pre; Regexp 909 third_party/re2/re2/compile.cc Regexp* sub; Regexp 923 third_party/re2/re2/compile.cc Regexp** subcopy = new Regexp*[re->nsub()]; Regexp 927 third_party/re2/re2/compile.cc *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags()); Regexp 938 third_party/re2/re2/compile.cc *pre = Regexp::Capture(sub, re->parse_flags(), re->cap()); Regexp 945 third_party/re2/re2/compile.cc *pre = Regexp::LiteralString(NULL, 0, re->parse_flags()); Regexp 952 third_party/re2/re2/compile.cc void Compiler::Setup(Regexp::ParseFlags flags, int64 max_mem, Regexp 956 third_party/re2/re2/compile.cc if (flags & Regexp::Latin1) Regexp 992 third_party/re2/re2/compile.cc Prog* Compiler::Compile(Regexp* re, bool reversed, int64 max_mem) { Regexp 1000 third_party/re2/re2/compile.cc Regexp* sre = re->Simplify(); Regexp 1080 third_party/re2/re2/compile.cc Prog* Regexp::CompileToProg(int64 max_mem) { Regexp 1084 third_party/re2/re2/compile.cc Prog* Regexp::CompileToReverseProg(int64 max_mem) { Regexp 1094 third_party/re2/re2/compile.cc Regexp* re) { Regexp 1097 third_party/re2/re2/compile.cc Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>(options.ParseFlags()); Regexp 1136 third_party/re2/re2/compile.cc Regexp* re) { Regexp 32 third_party/re2/re2/mimics_pcre.cc static bool CanBeEmptyString(Regexp *re); Regexp 37 third_party/re2/re2/mimics_pcre.cc class PCREWalker : public Regexp::Walker<bool> { Regexp 40 third_party/re2/re2/mimics_pcre.cc bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, bool* child_args, Regexp 43 third_party/re2/re2/mimics_pcre.cc bool ShortVisit(Regexp* re, bool a) { Regexp 53 third_party/re2/re2/mimics_pcre.cc bool PCREWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, Regexp 83 third_party/re2/re2/mimics_pcre.cc if (re->parse_flags() & Regexp::WasDollar) Regexp 101 third_party/re2/re2/mimics_pcre.cc bool Regexp::MimicsPCRE() { Regexp 114 third_party/re2/re2/mimics_pcre.cc class EmptyStringWalker : public Regexp::Walker<bool> { Regexp 117 third_party/re2/re2/mimics_pcre.cc bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, Regexp 120 third_party/re2/re2/mimics_pcre.cc bool ShortVisit(Regexp* re, bool a) { Regexp 134 third_party/re2/re2/mimics_pcre.cc bool EmptyStringWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, Regexp 180 third_party/re2/re2/mimics_pcre.cc static bool CanBeEmptyString(Regexp* re) { Regexp 60 third_party/re2/re2/parse.cc bool PushRegexp(Regexp* re); Regexp 104 third_party/re2/re2/parse.cc Regexp* DoFinish(); Regexp 109 third_party/re2/re2/parse.cc Regexp* FinishRegexp(Regexp*); Regexp 118 third_party/re2/re2/parse.cc bool ParseCharClass(StringPiece* s, Regexp** out_re, Regexp 155 third_party/re2/re2/parse.cc Regexp* stacktop_; Regexp 166 third_party/re2/re2/parse.cc Regexp::ParseState::ParseState(ParseFlags flags, Regexp 178 third_party/re2/re2/parse.cc Regexp::ParseState::~ParseState() { Regexp 179 third_party/re2/re2/parse.cc Regexp* next; Regexp 180 third_party/re2/re2/parse.cc for (Regexp* re = stacktop_; re != NULL; re = next) { Regexp 192 third_party/re2/re2/parse.cc Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { Regexp 209 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushRegexp(Regexp* re) { Regexp 221 third_party/re2/re2/parse.cc re = new Regexp(kRegexpLiteral, flags_); Regexp 227 third_party/re2/re2/parse.cc re = new Regexp(kRegexpLiteral, flags_ | FoldCase); Regexp 368 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushLiteral(Rune r) { Regexp 371 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); Regexp 386 third_party/re2/re2/parse.cc return PushRegexp(new Regexp(kRegexpNoMatch, flags_)); Regexp 392 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpLiteral, flags_); Regexp 398 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushCarat() { Regexp 406 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushWordBoundary(bool word) { Regexp 413 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushDollar() { Regexp 417 third_party/re2/re2/parse.cc Regexp::ParseFlags oflags = flags_; Regexp 427 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushDot() { Regexp 431 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); Regexp 439 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushSimpleOp(RegexpOp op) { Regexp 440 third_party/re2/re2/parse.cc Regexp* re = new Regexp(op, flags_); Regexp 447 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushRepeatOp(RegexpOp op, const StringPiece& s, Regexp 454 third_party/re2/re2/parse.cc Regexp::ParseFlags fl = flags_; Regexp 457 third_party/re2/re2/parse.cc Regexp* re = new Regexp(op, fl); Regexp 468 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushRepetition(int min, int max, Regexp 481 third_party/re2/re2/parse.cc Regexp::ParseFlags fl = flags_; Regexp 484 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpRepeat, fl); Regexp 497 third_party/re2/re2/parse.cc bool Regexp::ParseState::IsMarker(RegexpOp op) { Regexp 503 third_party/re2/re2/parse.cc bool Regexp::ParseState::DoLeftParen(const StringPiece& name) { Regexp 504 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kLeftParen, flags_); Regexp 512 third_party/re2/re2/parse.cc bool Regexp::ParseState::DoLeftParenNoCapture() { Regexp 513 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kLeftParen, flags_); Regexp 526 third_party/re2/re2/parse.cc bool Regexp::ParseState::DoVerticalBar() { Regexp 535 third_party/re2/re2/parse.cc Regexp* r1; Regexp 536 third_party/re2/re2/parse.cc Regexp* r2; Regexp 542 third_party/re2/re2/parse.cc Regexp* r3; Regexp 554 third_party/re2/re2/parse.cc AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase); Regexp 559 third_party/re2/re2/parse.cc r1->parse_flags_ & Regexp::FoldCase); Regexp 588 third_party/re2/re2/parse.cc bool Regexp::ParseState::DoRightParen() { Regexp 595 third_party/re2/re2/parse.cc Regexp* r1; Regexp 596 third_party/re2/re2/parse.cc Regexp* r2; Regexp 609 third_party/re2/re2/parse.cc Regexp* re = r2; Regexp 627 third_party/re2/re2/parse.cc Regexp* Regexp::ParseState::DoFinish() { Regexp 629 third_party/re2/re2/parse.cc Regexp* re = stacktop_; Regexp 642 third_party/re2/re2/parse.cc Regexp* Regexp::LeadingRegexp(Regexp* re) { Regexp 646 third_party/re2/re2/parse.cc Regexp** sub = re->sub(); Regexp 658 third_party/re2/re2/parse.cc Regexp* Regexp::RemoveLeadingRegexp(Regexp* re) { Regexp 662 third_party/re2/re2/parse.cc Regexp** sub = re->sub(); Regexp 669 third_party/re2/re2/parse.cc Regexp* nre = sub[1]; Regexp 679 third_party/re2/re2/parse.cc Regexp::ParseFlags pf = re->parse_flags(); Regexp 681 third_party/re2/re2/parse.cc return new Regexp(kRegexpEmptyMatch, pf); Regexp 687 third_party/re2/re2/parse.cc Rune* Regexp::LeadingString(Regexp* re, int *nrune, Regexp 688 third_party/re2/re2/parse.cc Regexp::ParseFlags *flags) { Regexp 692 third_party/re2/re2/parse.cc *flags = static_cast<Regexp::ParseFlags>(re->parse_flags_ & Regexp::FoldCase); Regexp 710 third_party/re2/re2/parse.cc void Regexp::RemoveLeadingString(Regexp* re, int n) { Regexp 716 third_party/re2/re2/parse.cc Regexp* stk[4]; Regexp 750 third_party/re2/re2/parse.cc Regexp** sub = re->sub(); Regexp 766 third_party/re2/re2/parse.cc Regexp* old = sub[1]; Regexp 803 third_party/re2/re2/parse.cc int Regexp::FactorAlternation( Regexp 804 third_party/re2/re2/parse.cc Regexp** sub, int n, Regexp 805 third_party/re2/re2/parse.cc Regexp::ParseFlags altflags) { Regexp 810 third_party/re2/re2/parse.cc int Regexp::FactorAlternationRecursive( Regexp 811 third_party/re2/re2/parse.cc Regexp** sub, int n, Regexp 812 third_party/re2/re2/parse.cc Regexp::ParseFlags altflags, Regexp 821 third_party/re2/re2/parse.cc Regexp::ParseFlags runeflags = Regexp::NoParseFlags; Regexp 833 third_party/re2/re2/parse.cc Regexp::ParseFlags runeflags_i = Regexp::NoParseFlags; Regexp 860 third_party/re2/re2/parse.cc Regexp* x[2]; // x[0] = prefix, x[1] = suffix1|suffix2|... Regexp 885 third_party/re2/re2/parse.cc Regexp* first = NULL; Regexp 892 third_party/re2/re2/parse.cc Regexp* first_i = NULL; Regexp 895 third_party/re2/re2/parse.cc if (first != NULL && Regexp::Equal(first, first_i)) { Regexp 911 third_party/re2/re2/parse.cc Regexp* x[2]; // x[0] = prefix, x[1] = suffix1|suffix2|... Regexp 954 third_party/re2/re2/parse.cc Regexp* re = sub[j]; Regexp 997 third_party/re2/re2/parse.cc void Regexp::ParseState::DoCollapse(RegexpOp op) { Regexp 1000 third_party/re2/re2/parse.cc Regexp* next = NULL; Regexp 1001 third_party/re2/re2/parse.cc Regexp* sub; Regexp 1016 third_party/re2/re2/parse.cc Regexp** subs = new Regexp*[n]; Regexp 1022 third_party/re2/re2/parse.cc Regexp** sub_subs = sub->sub(); Regexp 1031 third_party/re2/re2/parse.cc Regexp* re = ConcatOrAlternate(op, subs, n, flags_, true); Regexp 1040 third_party/re2/re2/parse.cc void Regexp::ParseState::DoConcatenation() { Regexp 1041 third_party/re2/re2/parse.cc Regexp* r1 = stacktop_; Regexp 1044 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpEmptyMatch, flags_); Regexp 1052 third_party/re2/re2/parse.cc void Regexp::ParseState::DoAlternation() { Regexp 1055 third_party/re2/re2/parse.cc Regexp* r1 = stacktop_; Regexp 1071 third_party/re2/re2/parse.cc bool Regexp::ParseState::MaybeConcatString(int r, ParseFlags flags) { Regexp 1072 third_party/re2/re2/parse.cc Regexp* re1; Regexp 1073 third_party/re2/re2/parse.cc Regexp* re2; Regexp 1385 third_party/re2/re2/parse.cc Rune lo, Rune hi, Regexp::ParseFlags parse_flags) { Regexp 1388 third_party/re2/re2/parse.cc bool cutnl = !(parse_flags & Regexp::ClassNL) || Regexp 1389 third_party/re2/re2/parse.cc (parse_flags & Regexp::NeverNL); Regexp 1399 third_party/re2/re2/parse.cc if (parse_flags & Regexp::FoldCase) Regexp 1439 third_party/re2/re2/parse.cc Regexp::ParseFlags parse_flags) { Regexp 1448 third_party/re2/re2/parse.cc if (parse_flags & Regexp::FoldCase) { Regexp 1458 third_party/re2/re2/parse.cc bool cutnl = !(parse_flags & Regexp::ClassNL) || Regexp 1459 third_party/re2/re2/parse.cc (parse_flags & Regexp::NeverNL); Regexp 1489 third_party/re2/re2/parse.cc UGroup* MaybeParsePerlCCEscape(StringPiece* s, Regexp::ParseFlags parse_flags) { Regexp 1490 third_party/re2/re2/parse.cc if (!(parse_flags & Regexp::PerlClasses)) Regexp 1512 third_party/re2/re2/parse.cc ParseStatus ParseUnicodeGroup(StringPiece* s, Regexp::ParseFlags parse_flags, Regexp 1516 third_party/re2/re2/parse.cc if (!(parse_flags & Regexp::UnicodeGroups)) Regexp 1576 third_party/re2/re2/parse.cc static ParseStatus ParseCCName(StringPiece* s, Regexp::ParseFlags parse_flags, Regexp 1614 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCCCharacter(StringPiece* s, Rune *rp, Regexp 1637 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr, Regexp 1662 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCharClass(StringPiece* s, Regexp 1663 third_party/re2/re2/parse.cc Regexp** out_re, Regexp 1673 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); Regexp 1752 third_party/re2/re2/parse.cc re->ccb_->AddRangeFlags(rr.lo, rr.hi, flags_ | Regexp::ClassNL); Regexp 1794 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParsePerlFlags(StringPiece* s) { Regexp 1925 third_party/re2/re2/parse.cc flags_ = static_cast<Regexp::ParseFlags>(nflags); Regexp 1954 third_party/re2/re2/parse.cc Regexp* Regexp::Parse(const StringPiece& s, ParseFlags global_flags, Regexp 2046 third_party/re2/re2/parse.cc Regexp* re; Regexp 2123 third_party/re2/re2/parse.cc if ((ps.flags() & Regexp::PerlB) && Regexp 2131 third_party/re2/re2/parse.cc if ((ps.flags() & Regexp::PerlX) && t.size() >= 2) { Regexp 2174 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); Regexp 2192 third_party/re2/re2/parse.cc Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); Regexp 487 third_party/re2/re2/prefilter.cc class Prefilter::Info::Walker : public Regexp::Walker<Prefilter::Info*> { Regexp 492 third_party/re2/re2/prefilter.cc Regexp* re, Info* parent_arg, Regexp 497 third_party/re2/re2/prefilter.cc Regexp* re, Regexp 506 third_party/re2/re2/prefilter.cc Prefilter::Info* Prefilter::BuildInfo(Regexp* re) { Regexp 511 third_party/re2/re2/prefilter.cc bool latin1 = re->parse_flags() & Regexp::Latin1; Regexp 524 third_party/re2/re2/prefilter.cc Regexp* re, Prefilter::Info* parent_arg) { Regexp 531 third_party/re2/re2/prefilter.cc Regexp* re, Prefilter::Info* parent_arg, Regexp 650 third_party/re2/re2/prefilter.cc Prefilter* Prefilter::FromRegexp(Regexp* re) { Regexp 654 third_party/re2/re2/prefilter.cc Regexp* simple = re->Simplify(); Regexp 707 third_party/re2/re2/prefilter.cc Regexp* regexp = re2->Regexp(); Regexp 18 third_party/re2/re2/prefilter.h class Regexp; Regexp 71 third_party/re2/re2/prefilter.h static Prefilter* FromRegexp(Regexp* a); Regexp 77 third_party/re2/re2/prefilter.h static Info* BuildInfo(Regexp* re); Regexp 72 third_party/re2/re2/prog.h class Regexp; Regexp 335 third_party/re2/re2/prog.h Regexp* re); Regexp 150 third_party/re2/re2/re2.cc int flags = Regexp::ClassNL; Regexp 159 third_party/re2/re2/re2.cc flags |= Regexp::Latin1; Regexp 164 third_party/re2/re2/re2.cc flags |= Regexp::LikePerl; Regexp 167 third_party/re2/re2/re2.cc flags |= Regexp::Literal; Regexp 170 third_party/re2/re2/re2.cc flags |= Regexp::NeverNL; Regexp 173 third_party/re2/re2/re2.cc flags |= Regexp::NeverCapture; Regexp 176 third_party/re2/re2/re2.cc flags |= Regexp::FoldCase; Regexp 179 third_party/re2/re2/re2.cc flags |= Regexp::PerlClasses; Regexp 182 third_party/re2/re2/re2.cc flags |= Regexp::PerlB; Regexp 185 third_party/re2/re2/re2.cc flags |= Regexp::OneLine; Regexp 206 third_party/re2/re2/re2.cc entire_regexp_ = Regexp::Parse( Regexp 208 third_party/re2/re2/re2.cc static_cast<Regexp::ParseFlags>(options_.ParseFlags()), Regexp 224 third_party/re2/re2/re2.cc re2::Regexp* suffix; Regexp 195 third_party/re2/re2/re2.h class Regexp; Regexp 296 third_party/re2/re2/re2.h re2::Regexp* Regexp() const { return entire_regexp_; } Regexp 697 third_party/re2/re2/re2.h re2::Regexp* entire_regexp_; // parsed regular expression Regexp 698 third_party/re2/re2/re2.h re2::Regexp* suffix_regexp_; // parsed regular expression, prefix removed Regexp 16 third_party/re2/re2/regexp.cc Regexp::Regexp(RegexpOp op, ParseFlags parse_flags) Regexp 32 third_party/re2/re2/regexp.cc Regexp::~Regexp() { Regexp 54 third_party/re2/re2/regexp.cc bool Regexp::QuickDestroy() { Regexp 62 third_party/re2/re2/regexp.cc static map<Regexp*, int> *ref_map; Regexp 65 third_party/re2/re2/regexp.cc int Regexp::Ref() { Regexp 79 third_party/re2/re2/regexp.cc Regexp* Regexp::Incref() { Regexp 84 third_party/re2/re2/regexp.cc ref_map = new map<Regexp*, int>; Regexp 103 third_party/re2/re2/regexp.cc void Regexp::Decref() { Regexp 123 third_party/re2/re2/regexp.cc void Regexp::Destroy() { Regexp 130 third_party/re2/re2/regexp.cc Regexp* stack = this; Regexp 132 third_party/re2/re2/regexp.cc Regexp* re = stack; Regexp 137 third_party/re2/re2/regexp.cc Regexp** subs = re->sub(); Regexp 139 third_party/re2/re2/regexp.cc Regexp* sub = subs[i]; Regexp 159 third_party/re2/re2/regexp.cc void Regexp::AddRuneToString(Rune r) { Regexp 176 third_party/re2/re2/regexp.cc Regexp* Regexp::HaveMatch(int match_id, ParseFlags flags) { Regexp 177 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpHaveMatch, flags); Regexp 182 third_party/re2/re2/regexp.cc Regexp* Regexp::Plus(Regexp* sub, ParseFlags flags) { Regexp 185 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpPlus, flags); Regexp 191 third_party/re2/re2/regexp.cc Regexp* Regexp::Star(Regexp* sub, ParseFlags flags) { Regexp 194 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpStar, flags); Regexp 200 third_party/re2/re2/regexp.cc Regexp* Regexp::Quest(Regexp* sub, ParseFlags flags) { Regexp 203 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpQuest, flags); Regexp 209 third_party/re2/re2/regexp.cc Regexp* Regexp::ConcatOrAlternate(RegexpOp op, Regexp** sub, int nsub, Regexp 214 third_party/re2/re2/regexp.cc Regexp** subcopy = NULL; Regexp 217 third_party/re2/re2/regexp.cc subcopy = new Regexp*[nsub]; Regexp 222 third_party/re2/re2/regexp.cc Regexp* re = sub[0]; Regexp 232 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(op, flags); Regexp 234 third_party/re2/re2/regexp.cc Regexp** subs = re->sub(); Regexp 244 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(op, flags); Regexp 246 third_party/re2/re2/regexp.cc Regexp** subs = re->sub(); Regexp 254 third_party/re2/re2/regexp.cc Regexp* Regexp::Concat(Regexp** sub, int nsub, ParseFlags flags) { Regexp 258 third_party/re2/re2/regexp.cc Regexp* Regexp::Alternate(Regexp** sub, int nsub, ParseFlags flags) { Regexp 262 third_party/re2/re2/regexp.cc Regexp* Regexp::AlternateNoFactor(Regexp** sub, int nsub, ParseFlags flags) { Regexp 266 third_party/re2/re2/regexp.cc Regexp* Regexp::Capture(Regexp* sub, ParseFlags flags, int cap) { Regexp 267 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpCapture, flags); Regexp 274 third_party/re2/re2/regexp.cc Regexp* Regexp::Repeat(Regexp* sub, ParseFlags flags, int min, int max) { Regexp 275 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpRepeat, flags); Regexp 283 third_party/re2/re2/regexp.cc Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) { Regexp 284 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpLiteral, flags); Regexp 289 third_party/re2/re2/regexp.cc Regexp* Regexp::LiteralString(Rune* runes, int nrunes, ParseFlags flags) { Regexp 291 third_party/re2/re2/regexp.cc return new Regexp(kRegexpEmptyMatch, flags); Regexp 294 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpLiteralString, flags); Regexp 300 third_party/re2/re2/regexp.cc Regexp* Regexp::NewCharClass(CharClass* cc, ParseFlags flags) { Regexp 301 third_party/re2/re2/regexp.cc Regexp* re = new Regexp(kRegexpCharClass, flags); Regexp 307 third_party/re2/re2/regexp.cc void Regexp::Swap(Regexp* that) { Regexp 316 third_party/re2/re2/regexp.cc static bool TopEqual(Regexp* a, Regexp* b) { Regexp 335 third_party/re2/re2/regexp.cc return ((a->parse_flags() ^ b->parse_flags()) & Regexp::WasDollar) == 0; Regexp 339 third_party/re2/re2/regexp.cc ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0; Regexp 343 third_party/re2/re2/regexp.cc ((a->parse_flags() ^ b->parse_flags()) & Regexp::FoldCase) == 0 && Regexp 354 third_party/re2/re2/regexp.cc return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0; Regexp 357 third_party/re2/re2/regexp.cc return ((a->parse_flags() ^ b->parse_flags()) & Regexp::NonGreedy) == 0 && Regexp 381 third_party/re2/re2/regexp.cc bool Regexp::Equal(Regexp* a, Regexp* b) { Regexp 408 third_party/re2/re2/regexp.cc vector<Regexp*> stk; Regexp 412 third_party/re2/re2/regexp.cc Regexp* a2; Regexp 413 third_party/re2/re2/regexp.cc Regexp* b2; Regexp 502 third_party/re2/re2/regexp.cc class NumCapturesWalker : public Regexp::Walker<Ignored> { Regexp 507 third_party/re2/re2/regexp.cc virtual Ignored PreVisit(Regexp* re, Ignored ignored, bool* stop) { Regexp 512 third_party/re2/re2/regexp.cc virtual Ignored ShortVisit(Regexp* re, Ignored ignored) { Regexp 523 third_party/re2/re2/regexp.cc int Regexp::NumCaptures() { Regexp 530 third_party/re2/re2/regexp.cc class NamedCapturesWalker : public Regexp::Walker<Ignored> { Regexp 541 third_party/re2/re2/regexp.cc Ignored PreVisit(Regexp* re, Ignored ignored, bool* stop) { Regexp 556 third_party/re2/re2/regexp.cc virtual Ignored ShortVisit(Regexp* re, Ignored ignored) { Regexp 567 third_party/re2/re2/regexp.cc map<string, int>* Regexp::NamedCaptures() { Regexp 574 third_party/re2/re2/regexp.cc class CaptureNamesWalker : public Regexp::Walker<Ignored> { Regexp 585 third_party/re2/re2/regexp.cc Ignored PreVisit(Regexp* re, Ignored ignored, bool* stop) { Regexp 596 third_party/re2/re2/regexp.cc virtual Ignored ShortVisit(Regexp* re, Ignored ignored) { Regexp 607 third_party/re2/re2/regexp.cc map<int, string>* Regexp::CaptureNames() { Regexp 617 third_party/re2/re2/regexp.cc bool Regexp::RequiredPrefix(string *prefix, bool *foldcase, Regexp** suffix) { Regexp 630 third_party/re2/re2/regexp.cc Regexp** sub = this->sub(); Regexp 636 third_party/re2/re2/regexp.cc Regexp* re = sub[i]; Regexp 681 third_party/re2/re2/regexp.cc re = new Regexp(kRegexpEmptyMatch, parse_flags()); Regexp 267 third_party/re2/re2/regexp.h class Regexp { Regexp 319 third_party/re2/re2/regexp.h Regexp** sub() { Regexp 337 third_party/re2/re2/regexp.h Regexp* Incref(); Regexp 345 third_party/re2/re2/regexp.h static Regexp* Parse(const StringPiece& s, ParseFlags flags, Regexp 355 third_party/re2/re2/regexp.h Regexp* Simplify(); Regexp 386 third_party/re2/re2/regexp.h static Regexp* Plus(Regexp* sub, ParseFlags flags); Regexp 387 third_party/re2/re2/regexp.h static Regexp* Star(Regexp* sub, ParseFlags flags); Regexp 388 third_party/re2/re2/regexp.h static Regexp* Quest(Regexp* sub, ParseFlags flags); Regexp 389 third_party/re2/re2/regexp.h static Regexp* Concat(Regexp** subs, int nsubs, ParseFlags flags); Regexp 390 third_party/re2/re2/regexp.h static Regexp* Alternate(Regexp** subs, int nsubs, ParseFlags flags); Regexp 391 third_party/re2/re2/regexp.h static Regexp* Capture(Regexp* sub, ParseFlags flags, int cap); Regexp 392 third_party/re2/re2/regexp.h static Regexp* Repeat(Regexp* sub, ParseFlags flags, int min, int max); Regexp 393 third_party/re2/re2/regexp.h static Regexp* NewLiteral(Rune rune, ParseFlags flags); Regexp 394 third_party/re2/re2/regexp.h static Regexp* NewCharClass(CharClass* cc, ParseFlags flags); Regexp 395 third_party/re2/re2/regexp.h static Regexp* LiteralString(Rune* runes, int nrunes, ParseFlags flags); Regexp 396 third_party/re2/re2/regexp.h static Regexp* HaveMatch(int match_id, ParseFlags flags); Regexp 399 third_party/re2/re2/regexp.h static Regexp* AlternateNoFactor(Regexp** subs, int nsubs, ParseFlags flags); Regexp 430 third_party/re2/re2/regexp.h bool RequiredPrefix(string* prefix, bool *foldcase, Regexp** suffix); Regexp 434 third_party/re2/re2/regexp.h explicit Regexp(RegexpOp op, ParseFlags parse_flags); Regexp 438 third_party/re2/re2/regexp.h ~Regexp(); Regexp 445 third_party/re2/re2/regexp.h friend bool ParseCharClass(StringPiece* s, Regexp** out_re, Regexp 449 third_party/re2/re2/regexp.h friend bool RegexpEqualTestingOnly(Regexp*, Regexp*); Regexp 457 third_party/re2/re2/regexp.h static Regexp* ConcatOrAlternate(RegexpOp op, Regexp** subs, int nsubs, Regexp 463 third_party/re2/re2/regexp.h static Rune* LeadingString(Regexp* re, int* nrune, ParseFlags* flags); Regexp 467 third_party/re2/re2/regexp.h static void RemoveLeadingString(Regexp* re, int n); Regexp 472 third_party/re2/re2/regexp.h static Regexp* LeadingRegexp(Regexp* re); Regexp 476 third_party/re2/re2/regexp.h static Regexp* RemoveLeadingRegexp(Regexp* re); Regexp 480 third_party/re2/re2/regexp.h static int FactorAlternation(Regexp** sub, int nsub, ParseFlags flags); Regexp 481 third_party/re2/re2/regexp.h static int FactorAlternationRecursive(Regexp** sub, int nsub, Regexp 487 third_party/re2/re2/regexp.h static bool Equal(Regexp* a, Regexp* b); Regexp 494 third_party/re2/re2/regexp.h submany_ = new Regexp*[n]; Regexp 502 third_party/re2/re2/regexp.h void Swap(Regexp *that); Regexp 538 third_party/re2/re2/regexp.h Regexp** submany_; // if nsub_ > 1 Regexp 539 third_party/re2/re2/regexp.h Regexp* subone_; // if nsub_ == 1 Regexp 543 third_party/re2/re2/regexp.h Regexp* down_; Regexp 571 third_party/re2/re2/regexp.h DISALLOW_EVIL_CONSTRUCTORS(Regexp); Regexp 597 third_party/re2/re2/regexp.h void AddRangeFlags(Rune lo, Rune hi, Regexp::ParseFlags parse_flags); Regexp 609 third_party/re2/re2/regexp.h inline Regexp::ParseFlags operator|(Regexp::ParseFlags a, Regexp::ParseFlags b) Regexp 611 third_party/re2/re2/regexp.h return static_cast<Regexp::ParseFlags>(static_cast<int>(a) | static_cast<int>(b)); Regexp 614 third_party/re2/re2/regexp.h inline Regexp::ParseFlags operator^(Regexp::ParseFlags a, Regexp::ParseFlags b) Regexp 616 third_party/re2/re2/regexp.h return static_cast<Regexp::ParseFlags>(static_cast<int>(a) ^ static_cast<int>(b)); Regexp 619 third_party/re2/re2/regexp.h inline Regexp::ParseFlags operator&(Regexp::ParseFlags a, Regexp::ParseFlags b) Regexp 621 third_party/re2/re2/regexp.h return static_cast<Regexp::ParseFlags>(static_cast<int>(a) & static_cast<int>(b)); Regexp 624 third_party/re2/re2/regexp.h inline Regexp::ParseFlags operator~(Regexp::ParseFlags a) Regexp 626 third_party/re2/re2/regexp.h return static_cast<Regexp::ParseFlags>(~static_cast<int>(a)); Regexp 34 third_party/re2/re2/set.cc Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( Regexp 38 third_party/re2/re2/set.cc re2::Regexp* re = Regexp::Parse(pattern, pf, &status); Regexp 49 third_party/re2/re2/set.cc re2::Regexp* m = re2::Regexp::HaveMatch(n, pf); Regexp 52 third_party/re2/re2/set.cc re2::Regexp** sub = new re2::Regexp*[nsub + 1]; Regexp 57 third_party/re2/re2/set.cc re = re2::Regexp::Concat(sub, nsub + 1, pf); Regexp 60 third_party/re2/re2/set.cc re2::Regexp* sub[2]; Regexp 63 third_party/re2/re2/set.cc re = re2::Regexp::Concat(sub, 2, pf); Regexp 76 third_party/re2/re2/set.cc Regexp::ParseFlags pf = static_cast<Regexp::ParseFlags>( Regexp 78 third_party/re2/re2/set.cc re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), Regexp 81 third_party/re2/re2/set.cc re2::Regexp* sre = re->Simplify(); Regexp 45 third_party/re2/re2/set.h vector<re2::Regexp*> re_; Regexp 18 third_party/re2/re2/simplify.cc bool Regexp::SimplifyRegexp(const StringPiece& src, ParseFlags flags, Regexp 21 third_party/re2/re2/simplify.cc Regexp* re = Parse(src, flags, status); Regexp 24 third_party/re2/re2/simplify.cc Regexp* sre = re->Simplify(); Regexp 42 third_party/re2/re2/simplify.cc bool Regexp::ComputeSimple() { Regexp 43 third_party/re2/re2/simplify.cc Regexp** subs; Regexp 103 third_party/re2/re2/simplify.cc class SimplifyWalker : public Regexp::Walker<Regexp*> { Regexp 106 third_party/re2/re2/simplify.cc virtual Regexp* PreVisit(Regexp* re, Regexp* parent_arg, bool* stop); Regexp 107 third_party/re2/re2/simplify.cc virtual Regexp* PostVisit(Regexp* re, Regexp 108 third_party/re2/re2/simplify.cc Regexp* parent_arg, Regexp 109 third_party/re2/re2/simplify.cc Regexp* pre_arg, Regexp 110 third_party/re2/re2/simplify.cc Regexp** child_args, int nchild_args); Regexp 111 third_party/re2/re2/simplify.cc virtual Regexp* Copy(Regexp* re); Regexp 112 third_party/re2/re2/simplify.cc virtual Regexp* ShortVisit(Regexp* re, Regexp* parent_arg); Regexp 120 third_party/re2/re2/simplify.cc static Regexp* Concat2(Regexp* re1, Regexp* re2, Regexp::ParseFlags flags); Regexp 125 third_party/re2/re2/simplify.cc static Regexp* SimplifyRepeat(Regexp* re, int min, int max, Regexp 126 third_party/re2/re2/simplify.cc Regexp::ParseFlags parse_flags); Regexp 131 third_party/re2/re2/simplify.cc static Regexp* SimplifyCharClass(Regexp* re); Regexp 145 third_party/re2/re2/simplify.cc Regexp* Regexp::Simplify() { Regexp 154 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::Copy(Regexp* re) { Regexp 158 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::ShortVisit(Regexp* re, Regexp* parent_arg) { Regexp 165 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::PreVisit(Regexp* re, Regexp* parent_arg, bool* stop) { Regexp 173 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::PostVisit(Regexp* re, Regexp 174 third_party/re2/re2/simplify.cc Regexp* parent_arg, Regexp 175 third_party/re2/re2/simplify.cc Regexp* pre_arg, Regexp 176 third_party/re2/re2/simplify.cc Regexp** child_args, Regexp 201 third_party/re2/re2/simplify.cc Regexp** subs = re->sub(); Regexp 203 third_party/re2/re2/simplify.cc Regexp* sub = subs[i]; Regexp 204 third_party/re2/re2/simplify.cc Regexp* newsub = child_args[i]; Regexp 212 third_party/re2/re2/simplify.cc Regexp* newsub = child_args[i]; Regexp 218 third_party/re2/re2/simplify.cc Regexp* nre = new Regexp(re->op(), re->parse_flags()); Regexp 220 third_party/re2/re2/simplify.cc Regexp** nre_subs = nre->sub(); Regexp 228 third_party/re2/re2/simplify.cc Regexp* newsub = child_args[0]; Regexp 234 third_party/re2/re2/simplify.cc Regexp* nre = new Regexp(kRegexpCapture, re->parse_flags()); Regexp 245 third_party/re2/re2/simplify.cc Regexp* newsub = child_args[0]; Regexp 263 third_party/re2/re2/simplify.cc Regexp* nre = new Regexp(re->op(), re->parse_flags()); Regexp 271 third_party/re2/re2/simplify.cc Regexp* newsub = child_args[0]; Regexp 277 third_party/re2/re2/simplify.cc Regexp* nre = SimplifyRepeat(newsub, re->min_, re->max_, Regexp 285 third_party/re2/re2/simplify.cc Regexp* nre = SimplifyCharClass(re); Regexp 297 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::Concat2(Regexp* re1, Regexp* re2, Regexp 298 third_party/re2/re2/simplify.cc Regexp::ParseFlags parse_flags) { Regexp 299 third_party/re2/re2/simplify.cc Regexp* re = new Regexp(kRegexpConcat, parse_flags); Regexp 301 third_party/re2/re2/simplify.cc Regexp** subs = re->sub(); Regexp 313 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::SimplifyRepeat(Regexp* re, int min, int max, Regexp 314 third_party/re2/re2/simplify.cc Regexp::ParseFlags f) { Regexp 319 third_party/re2/re2/simplify.cc return Regexp::Star(re->Incref(), f); Regexp 323 third_party/re2/re2/simplify.cc return Regexp::Plus(re->Incref(), f); Regexp 326 third_party/re2/re2/simplify.cc Regexp* nre = new Regexp(kRegexpConcat, f); Regexp 329 third_party/re2/re2/simplify.cc Regexp** nre_subs = nre->sub(); Regexp 332 third_party/re2/re2/simplify.cc nre_subs[min-1] = Regexp::Plus(re->Incref(), f); Regexp 338 third_party/re2/re2/simplify.cc return new Regexp(kRegexpEmptyMatch, f); Regexp 349 third_party/re2/re2/simplify.cc Regexp* nre = NULL; Regexp 351 third_party/re2/re2/simplify.cc nre = new Regexp(kRegexpConcat, f); Regexp 353 third_party/re2/re2/simplify.cc Regexp** nre_subs = nre->sub(); Regexp 360 third_party/re2/re2/simplify.cc Regexp* suf = Regexp::Quest(re->Incref(), f); Regexp 362 third_party/re2/re2/simplify.cc suf = Regexp::Quest(Concat2(re->Incref(), suf, f), f); Regexp 373 third_party/re2/re2/simplify.cc return new Regexp(kRegexpNoMatch, f); Regexp 381 third_party/re2/re2/simplify.cc Regexp* SimplifyWalker::SimplifyCharClass(Regexp* re) { Regexp 386 third_party/re2/re2/simplify.cc return new Regexp(kRegexpNoMatch, re->parse_flags()); Regexp 388 third_party/re2/re2/simplify.cc return new Regexp(kRegexpAnyChar, re->parse_flags()); Regexp 108 third_party/re2/re2/testing/compile_test.cc Regexp* re = Regexp::Parse(t.regexp, Regexp::PerlX|Regexp::Latin1, NULL); Regexp 159 third_party/re2/re2/testing/compile_test.cc Regexp* re = Regexp::Parse(".", Regexp::PerlX, NULL); Regexp 45 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); Regexp 60 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); Regexp 96 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); Regexp 184 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), Regexp 185 third_party/re2/re2/testing/dfa_test.cc Regexp::LikePerl, NULL); Regexp 266 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), Regexp 267 third_party/re2/re2/testing/dfa_test.cc Regexp::LikePerl, NULL); Regexp 328 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); Regexp 57 third_party/re2/re2/testing/dump.cc static void DumpRegexpAppending(Regexp* re, string* s) { Regexp 68 third_party/re2/re2/testing/dump.cc if (re->parse_flags() & Regexp::NonGreedy) Regexp 73 third_party/re2/re2/testing/dump.cc if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { Regexp 78 third_party/re2/re2/testing/dump.cc if (re->op() == kRegexpLiteralString && (re->parse_flags() & Regexp::FoldCase)) { Regexp 93 third_party/re2/re2/testing/dump.cc if (!(re->parse_flags() & Regexp::WasDollar)) { Regexp 151 third_party/re2/re2/testing/dump.cc string Regexp::Dump() { Regexp 63 third_party/re2/re2/testing/mimics_pcre_test.cc Regexp::ParseFlags flags = Regexp::LikePerl; Regexp 65 third_party/re2/re2/testing/mimics_pcre_test.cc flags = flags | Regexp::Latin1; Regexp 66 third_party/re2/re2/testing/mimics_pcre_test.cc Regexp* re = Regexp::Parse(t.regexp, flags, NULL); Regexp 13 third_party/re2/re2/testing/null_walker.cc class NullWalker : public Regexp::Walker<bool> { Regexp 16 third_party/re2/re2/testing/null_walker.cc bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, Regexp 19 third_party/re2/re2/testing/null_walker.cc bool ShortVisit(Regexp* re, bool a) { Regexp 33 third_party/re2/re2/testing/null_walker.cc bool NullWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, Regexp 39 third_party/re2/re2/testing/null_walker.cc void Regexp::NullWalk() { Regexp 14 third_party/re2/re2/testing/parse_test.cc static const Regexp::ParseFlags TestZeroFlags = Regexp::ParseFlags(1<<30); Regexp 19 third_party/re2/re2/testing/parse_test.cc Regexp::ParseFlags flags; Regexp 22 third_party/re2/re2/testing/parse_test.cc static Regexp::ParseFlags kTestFlags = Regexp::MatchNL | Regexp 23 third_party/re2/re2/testing/parse_test.cc Regexp::PerlX | Regexp 24 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp 25 third_party/re2/re2/testing/parse_test.cc Regexp::UnicodeGroups; Regexp 152 third_party/re2/re2/testing/parse_test.cc { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, Regexp 153 third_party/re2/re2/testing/parse_test.cc { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 154 third_party/re2/re2/testing/parse_test.cc { "[^ ]", "cc{0-0x9 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 156 third_party/re2/re2/testing/parse_test.cc { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, Regexp 157 third_party/re2/re2/testing/parse_test.cc { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 158 third_party/re2/re2/testing/parse_test.cc { "[^ \f]", "cc{0-0x9 0xb 0xd-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 160 third_party/re2/re2/testing/parse_test.cc { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, Regexp 161 third_party/re2/re2/testing/parse_test.cc { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 162 third_party/re2/re2/testing/parse_test.cc { "[^ \r]", "cc{0-0x9 0xb-0xc 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 164 third_party/re2/re2/testing/parse_test.cc { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, Regexp 165 third_party/re2/re2/testing/parse_test.cc { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 166 third_party/re2/re2/testing/parse_test.cc { "[^ \v]", "cc{0-0x9 0xc-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 168 third_party/re2/re2/testing/parse_test.cc { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::FoldCase }, Regexp 169 third_party/re2/re2/testing/parse_test.cc { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 170 third_party/re2/re2/testing/parse_test.cc { "[^ \t]", "cc{0-0x8 0xb-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 171 third_party/re2/re2/testing/parse_test.cc { "[^ \r\f\v]", "cc{0-0x9 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 172 third_party/re2/re2/testing/parse_test.cc { "[^ \r\f\v]", "cc{0-0x9 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 173 third_party/re2/re2/testing/parse_test.cc { "[^ \r\f\t\v]", "cc{0-0x8 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 174 third_party/re2/re2/testing/parse_test.cc { "[^ \r\f\t\v]", "cc{0-0x8 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 175 third_party/re2/re2/testing/parse_test.cc { "[^ \r\n\f\t\v]", "cc{0-0x8 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 176 third_party/re2/re2/testing/parse_test.cc { "[^ \r\n\f\t\v]", "cc{0-0x8 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 177 third_party/re2/re2/testing/parse_test.cc { "[^ \r\n\f\t]", "cc{0-0x8 0xb 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL }, Regexp 178 third_party/re2/re2/testing/parse_test.cc { "[^ \r\n\f\t]", "cc{0-0x8 0xb 0xe-0x1f 0x21-0x10ffff}", Regexp::NeverNL | Regexp::FoldCase }, Regexp 180 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses }, Regexp 182 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::FoldCase }, Regexp 184 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::NeverNL }, Regexp 186 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::NeverNL | Regexp::FoldCase }, Regexp 188 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses }, Regexp 190 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::FoldCase }, Regexp 192 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::NeverNL }, Regexp 194 third_party/re2/re2/testing/parse_test.cc Regexp::PerlClasses | Regexp::NeverNL | Regexp::FoldCase }, Regexp 197 third_party/re2/re2/testing/parse_test.cc bool RegexpEqualTestingOnly(Regexp* a, Regexp* b) { Regexp 198 third_party/re2/re2/testing/parse_test.cc return Regexp::Equal(a, b); Regexp 201 third_party/re2/re2/testing/parse_test.cc void TestParse(const Test* tests, int ntests, Regexp::ParseFlags flags, Regexp 203 third_party/re2/re2/testing/parse_test.cc Regexp** re = new Regexp*[ntests]; Regexp 206 third_party/re2/re2/testing/parse_test.cc Regexp::ParseFlags f = flags; Regexp 210 third_party/re2/re2/testing/parse_test.cc re[i] = Regexp::Parse(tests[i].regexp, f, &status); Regexp 250 third_party/re2/re2/testing/parse_test.cc TestParse(foldcase_tests, arraysize(foldcase_tests), Regexp::FoldCase, "foldcase"); Regexp 259 third_party/re2/re2/testing/parse_test.cc TestParse(literal_tests, arraysize(literal_tests), Regexp::Literal, "literal"); Regexp 272 third_party/re2/re2/testing/parse_test.cc TestParse(matchnl_tests, arraysize(matchnl_tests), Regexp::MatchNL, "with MatchNL"); Regexp 284 third_party/re2/re2/testing/parse_test.cc TestParse(nomatchnl_tests, arraysize(nomatchnl_tests), Regexp::NoParseFlags, "without MatchNL"); Regexp 306 third_party/re2/re2/testing/parse_test.cc TestParse(prefix_tests, arraysize(prefix_tests), Regexp::PerlX, "prefix"); Regexp 359 third_party/re2/re2/testing/parse_test.cc CHECK(Regexp::Parse(badtests[i], Regexp::PerlX, NULL) == NULL) Regexp 361 third_party/re2/re2/testing/parse_test.cc CHECK(Regexp::Parse(badtests[i], Regexp::NoParseFlags, NULL) == NULL) Regexp 365 third_party/re2/re2/testing/parse_test.cc CHECK(Regexp::Parse(only_posix[i], Regexp::PerlX, NULL) == NULL) Regexp 367 third_party/re2/re2/testing/parse_test.cc Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); Regexp 372 third_party/re2/re2/testing/parse_test.cc CHECK(Regexp::Parse(only_perl[i], Regexp::NoParseFlags, NULL) == NULL) Regexp 374 third_party/re2/re2/testing/parse_test.cc Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); Regexp 384 third_party/re2/re2/testing/parse_test.cc Regexp::ParseFlags f = kTestFlags; Regexp 388 third_party/re2/re2/testing/parse_test.cc Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); Regexp 403 third_party/re2/re2/testing/parse_test.cc Regexp* nre = Regexp::Parse(t, Regexp::MatchNL | Regexp::PerlX, &status); Regexp 420 third_party/re2/re2/testing/parse_test.cc Regexp* re; Regexp 422 third_party/re2/re2/testing/parse_test.cc re = Regexp::Parse("test(?P<name", Regexp::LikePerl, &status); Regexp 427 third_party/re2/re2/testing/parse_test.cc re = Regexp::Parse("test(?P<space bar>z)", Regexp::LikePerl, &status); Regexp 110 third_party/re2/re2/testing/possible_match_test.cc Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); Regexp 1374 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(RE2("^[a-c]at", RE2::POSIX).Regexp()->ToString(), "^[a-c]at"); Regexp 1375 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(RE2("^[a-c]at").Regexp()->ToString(), "(?-m:^)[a-c]at"); Regexp 1376 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(RE2("ca[t-z]$", RE2::POSIX).Regexp()->ToString(), "ca[t-z]$"); Regexp 1377 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(RE2("ca[t-z]$").Regexp()->ToString(), "ca[t-z](?-m:$)"); Regexp 24 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); Regexp 46 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 568 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 576 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 578 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* sre = re->Simplify(); Regexp 586 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 596 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 598 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* sre = re->Simplify(); Regexp 610 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 620 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 631 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 804 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 821 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 835 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 850 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 891 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 908 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 922 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 936 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 977 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 990 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1004 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1017 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1047 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1060 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1073 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1085 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1120 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1133 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1147 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1177 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1190 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1203 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 1215 third_party/re2/re2/testing/regexp_benchmark.cc Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); Regexp 15 third_party/re2/re2/testing/regexp_test.cc TEST(Regexp, BigRef) { Regexp 16 third_party/re2/re2/testing/regexp_test.cc Regexp* re; Regexp 17 third_party/re2/re2/testing/regexp_test.cc re = Regexp::Parse("x", Regexp::NoParseFlags, NULL); Regexp 28 third_party/re2/re2/testing/regexp_test.cc TEST(Regexp, BigConcat) { Regexp 29 third_party/re2/re2/testing/regexp_test.cc Regexp* x; Regexp 30 third_party/re2/re2/testing/regexp_test.cc x = Regexp::Parse("x", Regexp::NoParseFlags, NULL); Regexp 31 third_party/re2/re2/testing/regexp_test.cc vector<Regexp*> v(90000, x); // ToString bails out at 100000 Regexp 35 third_party/re2/re2/testing/regexp_test.cc Regexp* re = Regexp::Concat(&v[0], v.size(), Regexp::NoParseFlags); Regexp 42 third_party/re2/re2/testing/regexp_test.cc TEST(Regexp, NamedCaptures) { Regexp 43 third_party/re2/re2/testing/regexp_test.cc Regexp* x; Regexp 45 third_party/re2/re2/testing/regexp_test.cc x = Regexp::Parse( Regexp 46 third_party/re2/re2/testing/regexp_test.cc "(?P<g1>a+)|(e)(?P<g2>w*)+(?P<g1>b+)", Regexp::PerlX, &status); Regexp 61 third_party/re2/re2/testing/regexp_test.cc TEST(Regexp, CaptureNames) { Regexp 62 third_party/re2/re2/testing/regexp_test.cc Regexp* x; Regexp 64 third_party/re2/re2/testing/regexp_test.cc x = Regexp::Parse( Regexp 65 third_party/re2/re2/testing/regexp_test.cc "(?P<g1>a+)|(e)(?P<g2>w*)+(?P<g1>b+)", Regexp::PerlX, &status); Regexp 43 third_party/re2/re2/testing/required_prefix_test.cc Regexp::ParseFlags flags = Regexp::LikePerl; Regexp 45 third_party/re2/re2/testing/required_prefix_test.cc flags = flags | Regexp::Latin1; Regexp 46 third_party/re2/re2/testing/required_prefix_test.cc Regexp* re = Regexp::Parse(t.regexp, flags, NULL); Regexp 50 third_party/re2/re2/testing/required_prefix_test.cc Regexp* s = NULL; Regexp 305 third_party/re2/re2/testing/search_test.cc TEST(Regexp, SearchTests) { Regexp 145 third_party/re2/re2/testing/simplify_test.cc Regexp* re = Regexp::Parse(tests[i].regexp, Regexp 146 third_party/re2/re2/testing/simplify_test.cc Regexp::MatchNL | (Regexp::LikePerl & Regexp 147 third_party/re2/re2/testing/simplify_test.cc ~Regexp::OneLine), Regexp 150 third_party/re2/re2/testing/simplify_test.cc Regexp* sre = re->Simplify(); Regexp 135 third_party/re2/re2/testing/tester.cc Regexp::ParseFlags parse_flags; Regexp 139 third_party/re2/re2/testing/tester.cc static const Regexp::ParseFlags single_line = Regexp 140 third_party/re2/re2/testing/tester.cc Regexp::LikePerl; Regexp 141 third_party/re2/re2/testing/tester.cc static const Regexp::ParseFlags multi_line = Regexp 142 third_party/re2/re2/testing/tester.cc static_cast<Regexp::ParseFlags>(Regexp::LikePerl & ~Regexp::OneLine); Regexp 146 third_party/re2/re2/testing/tester.cc { single_line|Regexp::Latin1, "single-line, latin1" }, Regexp 148 third_party/re2/re2/testing/tester.cc { multi_line|Regexp::NonGreedy, "multiline, nongreedy" }, Regexp 149 third_party/re2/re2/testing/tester.cc { multi_line|Regexp::Latin1, "multiline, latin1" }, Regexp 152 third_party/re2/re2/testing/tester.cc static string FormatMode(Regexp::ParseFlags flags) { Regexp 162 third_party/re2/re2/testing/tester.cc Regexp::ParseFlags flags) Regexp 179 third_party/re2/re2/testing/tester.cc regexp_ = Regexp::Parse(regexp_str, flags, &status); Regexp 219 third_party/re2/re2/testing/tester.cc if (!(flags & Regexp::OneLine)) Regexp 221 third_party/re2/re2/testing/tester.cc if (flags & Regexp::NonGreedy) Regexp 223 third_party/re2/re2/testing/tester.cc if (flags & Regexp::DotNL) Regexp 229 third_party/re2/re2/testing/tester.cc if (flags & Regexp::Latin1) Regexp 254 third_party/re2/re2/testing/tester.cc if (flags & Regexp::Latin1) Regexp 19 third_party/re2/re2/testing/tester.h class Regexp; Regexp 55 third_party/re2/re2/testing/tester.h Regexp::ParseFlags flags); Regexp 57 third_party/re2/re2/testing/tester.h Regexp::ParseFlags flags() { return flags_; } Regexp 77 third_party/re2/re2/testing/tester.h Regexp::ParseFlags flags_; // flags for parsing regexp_str_ Regexp 80 third_party/re2/re2/testing/tester.h Regexp* regexp_; // parsed regexp Regexp 31 third_party/re2/re2/tostring.cc class ToStringWalker : public Regexp::Walker<int> { Regexp 35 third_party/re2/re2/tostring.cc virtual int PreVisit(Regexp* re, int parent_arg, bool* stop); Regexp 36 third_party/re2/re2/tostring.cc virtual int PostVisit(Regexp* re, int parent_arg, int pre_arg, Regexp 38 third_party/re2/re2/tostring.cc virtual int ShortVisit(Regexp* re, int parent_arg) { Regexp 48 third_party/re2/re2/tostring.cc string Regexp::ToString() { Regexp 61 third_party/re2/re2/tostring.cc int ToStringWalker::PreVisit(Regexp* re, int parent_arg, bool* stop) { Regexp 139 third_party/re2/re2/tostring.cc int ToStringWalker::PostVisit(Regexp* re, int parent_arg, int pre_arg, Regexp 157 third_party/re2/re2/tostring.cc AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase); Regexp 162 third_party/re2/re2/tostring.cc AppendLiteral(t_, re->runes()[i], re->parse_flags() & Regexp::FoldCase); Regexp 185 third_party/re2/re2/tostring.cc if (re->parse_flags() & Regexp::NonGreedy) Regexp 193 third_party/re2/re2/tostring.cc if (re->parse_flags() & Regexp::NonGreedy) Regexp 201 third_party/re2/re2/tostring.cc if (re->parse_flags() & Regexp::NonGreedy) Regexp 214 third_party/re2/re2/tostring.cc if (re->parse_flags() & Regexp::NonGreedy) Regexp 241 third_party/re2/re2/tostring.cc if (re->parse_flags() & Regexp::WasDollar) Regexp 22 third_party/re2/re2/walker-inl.h template<typename T> class Regexp::Walker { Regexp 36 third_party/re2/re2/walker-inl.h virtual T PreVisit(Regexp* re, T parent_arg, bool* stop); Regexp 47 third_party/re2/re2/walker-inl.h virtual T PostVisit(Regexp* re, T parent_arg, T pre_arg, Regexp 62 third_party/re2/re2/walker-inl.h virtual T ShortVisit(Regexp* re, T parent_arg) = 0; Regexp 67 third_party/re2/re2/walker-inl.h T Walk(Regexp* re, T top_arg); Regexp 77 third_party/re2/re2/walker-inl.h T WalkExponential(Regexp* re, T top_arg, int max_visits); Regexp 93 third_party/re2/re2/walker-inl.h T WalkInternal(Regexp* re, T top_arg, bool use_copy); Regexp 98 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::PreVisit(Regexp* re, Regexp 104 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::PostVisit(Regexp* re, Regexp 112 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::Copy(T arg) { Regexp 118 third_party/re2/re2/walker-inl.h WalkState<T>(Regexp* re, T parent) Regexp 124 third_party/re2/re2/walker-inl.h Regexp* re; // The regexp Regexp 132 third_party/re2/re2/walker-inl.h template<typename T> Regexp::Walker<T>::Walker() { Regexp 137 third_party/re2/re2/walker-inl.h template<typename T> Regexp::Walker<T>::~Walker() { Regexp 145 third_party/re2/re2/walker-inl.h template<typename T> void Regexp::Walker<T>::Reset() { Regexp 155 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::WalkInternal(Regexp* re, T top_arg, Regexp 170 third_party/re2/re2/walker-inl.h Regexp* re = s->re; Regexp 194 third_party/re2/re2/walker-inl.h Regexp** sub = re->sub(); Regexp 227 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::Walk(Regexp* re, T top_arg) { Regexp 236 third_party/re2/re2/walker-inl.h template<typename T> T Regexp::Walker<T>::WalkExponential(Regexp* re, T top_arg,