Home | History | Annotate | Download | only in testing

Lines Matching refs:Prog

10 #include "re2/prog.h"
109 static string FormatKind(Prog::MatchKind kind) {
111 case Prog::kFullMatch:
113 case Prog::kLongestMatch:
115 case Prog::kFirstMatch:
117 case Prog::kManyMatch:
124 static string FormatAnchor(Prog::Anchor anchor) {
126 case Prog::kAnchored:
128 case Prog::kUnanchored:
161 TestInstance::TestInstance(const StringPiece& regexp_str, Prog::MatchKind kind,
176 // Compile regexp to prog.
194 LOG(INFO) << "Prog for "
203 // Compile regexp to reversed prog. Only needed for DFA engines.
231 if (kind_ == Prog::kLongestMatch)
251 kind_ != Prog::kLongestMatch) {
282 Prog::Anchor anchor,
343 Prog::kAnchored, Prog::kLongestMatch,
356 anchor == Prog::kUnanchored ||
358 nsubmatch > Prog::kMaxOnePassCapture) {
386 if (anchor == Prog::kAnchored)
390 if (kind_ == Prog::kFullMatch)
416 if (anchor == Prog::kAnchored)
420 if (kind_ == Prog::kFullMatch)
475 Prog::Anchor anchor) {
554 Prog::Anchor anchor) {
575 static Prog::MatchKind kinds[] = {
576 Prog::kFirstMatch,
577 Prog::kLongestMatch,
578 Prog::kFullMatch,
600 Prog::Anchor anchor) {
607 static Prog::Anchor anchors[] = {
608 Prog::kAnchored,
609 Prog::kUnanchored