Home
last modified time | relevance | path

Searched refs:kAnchored (Results 1 – 11 of 11) sorted by relevance

/third_party/re2/re2/testing/
Dregexp_benchmark.cc43 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Test()
75 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in MemoryUsage()
319 search(state, regexp, s, Prog::kAnchored, true); in SearchSuccess()
390 search(state, "\\C*", s, Prog::kAnchored, true); in SearchAltMatch()
430 search(state, "([0-9]+)-([0-9]+)-([0-9]+)", s, Prog::kAnchored, true); in SearchDigits()
952 if (anchor == Prog::kAnchored) in SearchPCRE()
965 if (anchor == Prog::kAnchored) in SearchRE2()
1048 if (anchor == Prog::kAnchored) in SearchCachedPCRE()
1061 if (anchor == Prog::kAnchored) in SearchCachedRE2()
1079 CHECK(prog->SearchNFA(text, StringPiece(), Prog::kAnchored, in Parse3NFA()
[all …]
Dtester.cc136 case Prog::kAnchored: in FormatAnchor()
356 Prog::kAnchored, Prog::kLongestMatch, in RunSearch()
401 if (anchor == Prog::kAnchored) in RunSearch()
455 if (anchor == Prog::kAnchored) in RunSearch()
642 Prog::kAnchored,
Dbacktrack.cc260 anchor = kAnchored; in UnsafeSearchBacktrack()
269 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack()
/third_party/re2/re2/
Dbitstate.cc365 anchor = kAnchored; in SearchBitState()
374 bool anchored = anchor == kAnchored; in SearchBitState()
Dset.cc123 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, Prog::kManyMatch, in Match()
Dnfa.cc703 anchor = kAnchored; in SearchNFA()
709 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
Dre2.cc683 if (!prog->SearchDFA(match, text, Prog::kAnchored, in GlobalReplace()
705 anchor = Prog::kAnchored; in GlobalReplace()
754 anchor = Prog::kAnchored; in GlobalReplace()
Dprog.h177 kAnchored, // match only starting at beginning of text enumerator
Donepass.cc218 if (anchor != kAnchored && kind != kFullMatch) { in SearchOnePass()
Dcompile.cc1265 prog->SearchDFA(sp, sp, Prog::kAnchored, Prog::kManyMatch, in CompileSet()
Ddfa.cc1879 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA()