Home
last modified time | relevance | path

Searched refs:anchored (Results 1 – 25 of 27) sorted by relevance

12

/external/regex-re2/re2/testing/
Dbacktrack.cc54 bool anchored, bool longest,
95 bool anchored, bool longest, in Search() argument
105 anchored_ = anchored | prog_->anchor_start(); in Search()
245 bool anchored = anchor == kAnchored; in UnsafeSearchBacktrack() local
247 if (!b.Search(text, context, anchored, longest, match, nmatch)) in UnsafeSearchBacktrack()
/external/regex-re2/re2/
Dbitstate.cc39 bool anchored, bool longest,
294 bool anchored, bool longest, in Search() argument
305 anchored_ = anchored || prog_->anchor_start(); in Search()
369 bool anchored = anchor == kAnchored; in SearchBitState() local
371 if (!b.Search(text, context, anchored, longest, match, nmatch)) in SearchBitState()
Ddfa.cc76 bool anchored, bool want_earliest_match, bool run_forward,
255 anchored(false), in SearchParams()
267 bool anchored; member
1654 if (params->anchored || prog_->anchor_start()) in AnalyzeSearch()
1672 params->anchored, params->run_forward, flags, in AnalyzeSearch()
1698 params->anchored ? prog_->start() : prog_->start_unanchored(), in AnalyzeSearchHelper()
1749 bool anchored, in Search() argument
1765 text.as_string().c_str(), anchored, want_earliest_match, in Search()
1771 params.anchored = anchored; in Search()
1891 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch; in SearchDFA() local
[all …]
Dnfa.cc51 bool anchored, bool longest,
401 bool anchored, bool longest, in Search() argument
423 anchored |= prog_->anchor_start(); in Search()
455 text.as_string().c_str(), context.as_string().c_str(), anchored, in Search()
565 if (!matched_ && (!anchored || p == text.begin())) { in Search()
569 if (!anchored && first_byte_ >= 0 && runq->size() == 0 && in Search()
/external/squashfs-tools/RELEASE-READMEs/
DREADME-3.323 Supports both anchored and non-anchored exclude files.
48 1.2 Non-anchored excludes
52 For this non-anchored excludes can be used, specified by pre-fixing the
81 Supports both anchored and non-anchored exclude files.
/external/llvm/test/Transforms/LoopVectorize/
Dundef-inst-bug.ll6 ; invariant instruction anchored in the loop when used as a getelementptr index.
24 ; Loop invariant anchored in loop.
/external/llvm/test/YAMLParser/
Dspec-05-06.data3 anchored: !local &anchor value
/external/pcre/dist/testdata/
Dtestoutput21-1649 Options: anchored extended
82 Options: anchored extended
Dtestoutput21-3261 Options: anchored extended
94 Options: anchored extended
Dtestoutput240 Options: anchored
80 Options: anchored
344 Options: anchored
492 Options: anchored caseless
498 Options: anchored
505 Options: anchored dotall
639 Options: anchored multiline
651 Options: anchored
842 Options: anchored
1051 Options: anchored
[all …]
Dtestoutput5106 Options: anchored utf
129 Options: anchored utf
507 Options: anchored utf
Dtestinput23693 settings of the anchored and startline bits. --/
/external/mksh/src/
Dhistrap.c446 bool anchored = *str == '?' ? (++str, false) : true; in hist_get() local
449 if ((n = findhist(histptr - history - 1, 0, str, anchored)) < 0) in hist_get()
513 findhist(int start, int fwd, const char *str, bool anchored) in findhist() argument
525 if ((anchored && strncmp(*hp, str, len) == 0) || in findhist()
526 (!anchored && strstr(*hp, str))) in findhist()
Dedit.c5017 bool anchored; in grabsearch() local
5025 anchored = *pat == '^' ? (++pat, true) : false; in grabsearch()
5026 if ((hist = findhist(start, fwd, pat, anchored)) < 0) { in grabsearch()
Dcheck.t1900 Check anchored substring replacement works, corner cases
/external/squashfs-tools/
DRELEASE-README449 In addition to wildcards/regex expressions, exclude files can be "anchored" or
450 "non-anchored". An anchored exclude is one which matches from the root of the
451 directory and nowhere else, a non-anchored exclude matches anywhere. For
452 example given the directory hierarchy "a/b/c/a/b", the anchored exclude
455 non-anchored exclude would.
477 Non-anchored excludes
481 For this non-anchored excludes can be used, specified by pre-fixing the
DCHANGES249 added for non-anchored excludes, which means it is
253 directory (anchored excludes).
/external/pcre/dist/
Dpcre_dfa_exec.c3194 BOOL utf, anchored, startline, firstline; in pcre_dfa_exec() local
3270 anchored = (options & (PCRE_ANCHORED|PCRE_DFA_RESTART)) != 0 || in pcre_dfa_exec()
3386 if (!anchored) in pcre_dfa_exec()
3629 if (rc != PCRE_ERROR_NOMATCH || anchored) in pcre_dfa_exec()
DPrepareRelease141 # forces an anchored regex. Also exclude them for small pages that have
Dpcre_exec.c6353 BOOL anchored; in pcre_exec() local
6533 anchored = ((re->options | options) & PCRE_ANCHORED) != 0; in pcre_exec()
6685 if (!anchored) in pcre_exec()
7000 if (anchored || start_match > end_subject) break; in pcre_exec()
DChangeLog926 4. For a non-anchored pattern, if (*SKIP) was given with a name that did not
1048 is a non-match for a non-anchored pattern. For example, if
1267 (^a|^)+ was not marked as anchored.
1372 had alternative anchored branches, the search for a second match in a line
1669 possible starting bytes for non-anchored patterns.
2020 anchored. Updated pcretest and pcredemo to use this option.
3189 lookahead was broken if it was not anchored. PCRE was mistakenly expecting
4393 first character of an anchored pattern as "needed", thus provoking a search
4395 fail. The "needed" character is now not set for anchored patterns, unless it
4398 unlimited repeats, but isn't used for simple anchored patterns such as /^abc/.
[all …]
/external/regex-re2/
Ducs2.diff198 - if (!ucs2 && !anchored && first_byte_ >= 0 && runq->size() == 0 &&
199 + if (!anchored && first_byte_ >= 0 && runq->size() == 0 &&
/external/pcre/dist/doc/
Dpcre.txt1851 ment for a non-anchored pattern. There is more detail about this in the
2107 If this bit is set, the pattern is forced to be "anchored", that is, it
2587 Studying a pattern is also useful for non-anchored patterns that do not
2738 a non-anchored pattern. The name of this option refers to the 8-bit
2758 set (if it were set, the pattern would be anchored),
2762 -2 is returned. For anchored patterns, -2 is returned.
2779 a non-anchored pattern. The fourth argument should point to an int
2791 set (if it were set, the pattern would be anchored),
2795 returned. For anchored patterns, 0 is returned.
2839 is no such value, -1 is returned. For anchored patterns, a last literal
[all …]
Dpcregrep.txt617 Force the patterns to be anchored (each must start matching
Dpcretest.txt466 compiled pattern (whether it is anchored, has a fixed first character,

12