Searched refs:kAnchored (Results 1 – 11 of 11) sorted by relevance
/external/regex-re2/re2/testing/ |
D | regexp_benchmark.cc | 31 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 …]
|
D | tester.cc | 126 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,
|
D | backtrack.cc | 236 anchor = kAnchored; in UnsafeSearchBacktrack() 245 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack()
|
/external/regex-re2/re2/ |
D | bitstate.cc | 360 anchor = kAnchored; in SearchBitState() 369 bool anchored = anchor == kAnchored; in SearchBitState()
|
D | set.cc | 101 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, in Match()
|
D | nfa.cc | 695 anchor = kAnchored; in SearchNFA() 701 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
|
D | prog.h | 176 kAnchored, // match only starting at beginning of text enumerator
|
D | re2.cc | 643 if (!prog->SearchDFA(match, text, Prog::kAnchored, in Match() 673 anchor = Prog::kAnchored; in Match() 733 anchor = Prog::kAnchored; in Match()
|
D | onepass.cc | 211 if (anchor != kAnchored && kind != kFullMatch) { in SearchOnePass()
|
D | compile.cc | 1124 prog->SearchDFA(sp, sp, Prog::kAnchored, Prog::kManyMatch, in CompileSet()
|
D | dfa.cc | 1891 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA()
|