Searched refs:kAnchored (Results 1 – 11 of 11) sorted by relevance
/third_party/re2/re2/testing/ |
D | regexp_benchmark.cc | 43 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 …]
|
D | tester.cc | 136 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,
|
D | backtrack.cc | 260 anchor = kAnchored; in UnsafeSearchBacktrack() 269 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack()
|
/third_party/re2/re2/ |
D | bitstate.cc | 365 anchor = kAnchored; in SearchBitState() 374 bool anchored = anchor == kAnchored; in SearchBitState()
|
D | set.cc | 123 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, Prog::kManyMatch, in Match()
|
D | nfa.cc | 703 anchor = kAnchored; in SearchNFA() 709 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
|
D | re2.cc | 683 if (!prog->SearchDFA(match, text, Prog::kAnchored, in GlobalReplace() 705 anchor = Prog::kAnchored; in GlobalReplace() 754 anchor = Prog::kAnchored; in GlobalReplace()
|
D | prog.h | 177 kAnchored, // match only starting at beginning of text enumerator
|
D | onepass.cc | 218 if (anchor != kAnchored && kind != kFullMatch) { in SearchOnePass()
|
D | compile.cc | 1265 prog->SearchDFA(sp, sp, Prog::kAnchored, Prog::kManyMatch, in CompileSet()
|
D | dfa.cc | 1879 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA()
|