Home
last modified time | relevance | path

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

/external/regex-re2/re2/testing/
Dregexp_benchmark.cc31 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Test()
60 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in MemoryUsage()
290 search(iters, regexp, s, Prog::kAnchored, true); in SearchSuccess()
351 StringPiece(text, len), Prog::kAnchored, true); in SearchDigits()
866 if (anchor == Prog::kAnchored) in SearchPCRE()
878 if (anchor == Prog::kAnchored) in SearchRE2()
952 if (anchor == Prog::kAnchored) in SearchCachedPCRE()
964 if (anchor == Prog::kAnchored) in SearchCachedRE2()
982 CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3NFA()
996 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Parse3OnePass()
[all …]
Dtester.cc126 case Prog::kAnchored: in FormatAnchor()
343 Prog::kAnchored, Prog::kLongestMatch, in RunSearch()
386 if (anchor == Prog::kAnchored) in RunSearch()
416 if (anchor == Prog::kAnchored) in RunSearch()
608 Prog::kAnchored,
Dbacktrack.cc236 anchor = kAnchored; in UnsafeSearchBacktrack()
245 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack()
/external/regex-re2/re2/
Dbitstate.cc360 anchor = kAnchored; in SearchBitState()
369 bool anchored = anchor == kAnchored; in SearchBitState()
Dset.cc101 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, in Match()
Dnfa.cc695 anchor = kAnchored; in SearchNFA()
701 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
Dprog.h176 kAnchored, // match only starting at beginning of text enumerator
Dre2.cc643 if (!prog->SearchDFA(match, text, Prog::kAnchored, in Match()
673 anchor = Prog::kAnchored; in Match()
733 anchor = Prog::kAnchored; in Match()
Donepass.cc211 if (anchor != kAnchored && kind != kFullMatch) { in SearchOnePass()
Dcompile.cc1124 prog->SearchDFA(sp, sp, Prog::kAnchored, Prog::kManyMatch, in CompileSet()
Ddfa.cc1891 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA()