Home | History | Annotate | Download | only in testing

Lines Matching refs:Anchor

123 // Returns string representation of anchor kind.
124 static string FormatAnchor(Prog::Anchor anchor) {
125 switch (anchor) {
282 Prog::Anchor anchor,
306 prog_->UnsafeSearchBacktrack(text, context, anchor, kind_,
317 prog_->SearchNFA(text, context, anchor, kind_,
327 result->matched = prog_->SearchDFA(text, context, anchor, kind_, NULL,
337 prog_->SearchDFA(text, context, anchor, kind_, result->submatch,
356 anchor == Prog::kUnanchored ||
362 result->matched = prog_->SearchOnePass(text, context, anchor, kind_,
372 result->matched = prog_->SearchBitState(text, context, anchor, kind_,
385 RE2::Anchor re_anchor;
386 if (anchor == Prog::kAnchored)
415 PCRE::Anchor pcre_anchor;
416 if (anchor == Prog::kAnchored)
475 Prog::Anchor anchor) {
478 RunSearch(kEngineBacktrack, text, context, anchor, &correct);
489 << ", " << FormatAnchor(anchor)
500 RunSearch(i, text, context, anchor, &r);
503 LogMatch(r.skipped ? "Skipped: " : "Okay: ", i, text, context, anchor);
519 context, anchor);
554 Prog::Anchor anchor) {
570 << ", " << FormatAnchor(anchor)
600 Prog::Anchor anchor) {
603 okay &= (!v_[i]->error() && v_[i]->RunCase(text, context, anchor));
607 static Prog::Anchor anchors[] = {