Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/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()
918 if (anchor == Prog::kAnchored) in SearchPCRE()
931 if (anchor == Prog::kAnchored) in SearchRE2()
1014 if (anchor == Prog::kAnchored) in SearchCachedPCRE()
1027 if (anchor == Prog::kAnchored) in SearchCachedRE2()
1045 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.cc257 anchor = kAnchored; in UnsafeSearchBacktrack()
266 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack()
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dbitstate.cc367 anchor = kAnchored; in SearchBitState()
376 bool anchored = anchor == kAnchored; in SearchBitState()
Dset.cc123 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, Prog::kManyMatch, in Match()
Dre2.cc722 if (!prog->SearchDFA(subtext, text, Prog::kAnchored, in GlobalReplace()
768 if (!prog->SearchDFA(match, text, Prog::kAnchored, in GlobalReplace()
792 anchor = Prog::kAnchored; in GlobalReplace()
843 anchor = Prog::kAnchored; in GlobalReplace()
Dnfa.cc641 anchor = kAnchored; in SearchNFA()
647 if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) in SearchNFA()
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.cc1855 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA()