Lines Matching refs:Prog
109 static string FormatKind(Prog::MatchKind kind) { in FormatKind()
111 case Prog::kFullMatch: in FormatKind()
113 case Prog::kLongestMatch: in FormatKind()
115 case Prog::kFirstMatch: in FormatKind()
117 case Prog::kManyMatch: in FormatKind()
124 static string FormatAnchor(Prog::Anchor anchor) { in FormatAnchor()
126 case Prog::kAnchored: in FormatAnchor()
128 case Prog::kUnanchored: in FormatAnchor()
161 TestInstance::TestInstance(const StringPiece& regexp_str, Prog::MatchKind kind, in TestInstance()
231 if (kind_ == Prog::kLongestMatch) in TestInstance()
251 kind_ != Prog::kLongestMatch) { in TestInstance()
282 Prog::Anchor anchor, in RunSearch()
343 Prog::kAnchored, Prog::kLongestMatch, in RunSearch()
356 anchor == Prog::kUnanchored || in RunSearch()
358 nsubmatch > Prog::kMaxOnePassCapture) { in RunSearch()
386 if (anchor == Prog::kAnchored) in RunSearch()
390 if (kind_ == Prog::kFullMatch) in RunSearch()
416 if (anchor == Prog::kAnchored) in RunSearch()
420 if (kind_ == Prog::kFullMatch) in RunSearch()
475 Prog::Anchor anchor) { in RunCase()
554 Prog::Anchor anchor) { in LogMatch()
575 static Prog::MatchKind kinds[] = {
576 Prog::kFirstMatch,
577 Prog::kLongestMatch,
578 Prog::kFullMatch,
600 Prog::Anchor anchor) { in TestCase()
607 static Prog::Anchor anchors[] = {
608 Prog::kAnchored,
609 Prog::kUnanchored