Home
last modified time | relevance | path

Searched refs:kFirstMatch (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/re2/re2/testing/
Ddfa_test.cc28 CHECK(prog_->BuildEntireDFA(Prog::kFirstMatch)); in Run()
79 prog->BuildEntireDFA(Prog::kFirstMatch); in TEST()
109 prog->BuildEntireDFA(Prog::kFirstMatch); in TEST()
210 Prog::kUnanchored, Prog::kFirstMatch, in TEST()
215 Prog::kUnanchored, Prog::kFirstMatch, in TEST()
245 Prog::kUnanchored, Prog::kFirstMatch, in Run()
250 Prog::kUnanchored, Prog::kFirstMatch, in Run()
333 …bool matched = prog->SearchDFA(t.text, NULL, Prog::kUnanchored, Prog::kFirstMatch, NULL, &failed, … in TEST()
Dregexp_benchmark.cc809 CHECK_EQ(prog->SearchDFA(text, NULL, anchor, Prog::kFirstMatch, in SearchDFA()
825 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchNFA()
840 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchOnePass()
854 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchBitState()
898 Prog::kFirstMatch, NULL, &failed, NULL), in SearchCachedDFA()
913 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedNFA()
928 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedOnePass()
941 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedBitState()
Dbacktrack.cc246 bool longest = kind != kFirstMatch; in UnsafeSearchBacktrack()
Dtester.cc115 case Prog::kFirstMatch: in FormatKind()
576 Prog::kFirstMatch,
/external/regex-re2/re2/testing/
Ddfa_test.cc28 CHECK(prog_->BuildEntireDFA(Prog::kFirstMatch)); in Run()
79 prog->BuildEntireDFA(Prog::kFirstMatch); in TEST()
109 prog->BuildEntireDFA(Prog::kFirstMatch); in TEST()
210 Prog::kUnanchored, Prog::kFirstMatch, in TEST()
215 Prog::kUnanchored, Prog::kFirstMatch, in TEST()
245 Prog::kUnanchored, Prog::kFirstMatch, in Run()
250 Prog::kUnanchored, Prog::kFirstMatch, in Run()
333 …bool matched = prog->SearchDFA(t.text, NULL, Prog::kUnanchored, Prog::kFirstMatch, NULL, &failed, … in TEST()
Dregexp_benchmark.cc809 CHECK_EQ(prog->SearchDFA(text, NULL, anchor, Prog::kFirstMatch, in SearchDFA()
825 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchNFA()
840 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchOnePass()
854 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchBitState()
898 Prog::kFirstMatch, NULL, &failed, NULL), in SearchCachedDFA()
913 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedNFA()
928 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedOnePass()
941 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), in SearchCachedBitState()
Dbacktrack.cc246 bool longest = kind != kFirstMatch; in UnsafeSearchBacktrack()
Dtester.cc115 case Prog::kFirstMatch: in FormatKind()
576 Prog::kFirstMatch,
/external/chromium_org/third_party/re2/re2/
Ddfa.cc623 if (sawmatch && (kind_ == Prog::kFirstMatch || q->is_mark(id))) in WorkqToCachedState()
640 (kind_ != Prog::kFirstMatch || in WorkqToCachedState()
946 if (kind == Prog::kFirstMatch) { in RunWorkqOnByte()
1817 if (kind == kFirstMatch || kind == kManyMatch) { in GetDFA()
Dprog.h192 kFirstMatch, // like Perl, PCRE enumerator
Dbitstate.cc370 bool longest = kind != kFirstMatch; in SearchBitState()
Donepass.cc309 if (kind == kFirstMatch && (cond & kMatchWins)) in SearchOnePass()
Dnfa.cc701 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
Dre2.cc611 Prog::MatchKind kind = Prog::kFirstMatch; in Match()
/external/regex-re2/re2/
Ddfa.cc621 if (sawmatch && (kind_ == Prog::kFirstMatch || q->is_mark(id))) in WorkqToCachedState()
638 (kind_ != Prog::kFirstMatch || in WorkqToCachedState()
944 if (kind == Prog::kFirstMatch) { in RunWorkqOnByte()
1815 if (kind == kFirstMatch || kind == kManyMatch) { in GetDFA()
Dprog.h192 kFirstMatch, // like Perl, PCRE enumerator
Dbitstate.cc370 bool longest = kind != kFirstMatch; in SearchBitState()
Donepass.cc309 if (kind == kFirstMatch && (cond & kMatchWins)) in SearchOnePass()
Dnfa.cc701 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
Dre2.cc593 Prog::MatchKind kind = Prog::kFirstMatch; in Match()