Home | History | Annotate | Download | only in re2

Lines Matching refs:Prog

18 #include "re2/prog.h"
212 // Two thirds of the memory goes to the forward Prog,
213 // one third to the reverse prog, because the forward
214 // Prog has two DFAs but the reverse prog has one.
233 re2::Prog* RE2::ReverseProg() const {
592 Prog::Anchor anchor = Prog::kUnanchored;
593 Prog::MatchKind kind = Prog::kFirstMatch;
595 kind = Prog::kLongestMatch;
598 bool can_one_pass = (is_one_pass_ && ncap <= Prog::kMaxOnePassCapture);
640 Prog* prog = ReverseProg();
641 if (prog == NULL)
643 if (!prog->SearchDFA(match, text, Prog::kAnchored,
644 Prog::kLongestMatch, &match, &dfa_failed, NULL)) {
672 kind = Prog::kFullMatch;
673 anchor = Prog::kAnchored;
733 anchor = Prog::kAnchored;
734 kind = Prog::kFullMatch;
737 if (can_one_pass && anchor != Prog::kUnanchored) {