Home
last modified time | relevance | path

Searched refs:match_limit (Results 1 – 16 of 16) sorted by relevance

/external/regex-re2/util/
Dpcre.cc51 void PCRE::Init(const char* pattern, Option options, int match_limit, in Init() argument
55 match_limit_ = match_limit; in Init()
88 Init(pattern.c_str(), re_option.option(), re_option.match_limit(), in PCRE()
93 Init(pattern, re_option.option(), re_option.match_limit(), in PCRE()
469 int match_limit = match_limit_; in TryMatch() local
470 if (match_limit <= 0) { in TryMatch()
471 match_limit = FLAGS_regexp_match_limit; in TryMatch()
480 if (match_limit > 0) { in TryMatch()
482 extra.match_limit = match_limit; in TryMatch()
520 PCREPORT(WARNING) << "Exceeded match limit of " << match_limit in TryMatch()
Dpcre.h173 struct pcre_extra { int flags, match_limit, match_limit_recursion; }; member
463 void Init(const char* pattern, Option option, int match_limit,
537 int match_limit() const { return match_limit_; } in match_limit() function
538 void set_match_limit(int match_limit) { in set_match_limit() argument
539 match_limit_ = match_limit; in set_match_limit()
/external/pcre/
Dpcre.h379 unsigned long int match_limit; /* Maximum number of calls to match() */ member
392 unsigned long int match_limit; /* Maximum number of calls to match() */ member
405 unsigned long int match_limit; /* Maximum number of calls to match() */ member
/external/pcre/dist/
Dpcregrep.c182 static unsigned long int match_limit = 0; variable
362 …{ OP_LONGNUMBER, N_M_LIMIT, &match_limit, "match-limit=number", "set PCRE match limit option" …
3126 if (match_limit > 0 || match_limit_recursion > 0) in main()
3158 if (match_limit > 0) in main()
3161 cp->hint->match_limit = match_limit; in main()
Dpcrecpp.cc515 if (options_.match_limit() > 0) { in TryMatch()
517 extra.match_limit = options_.match_limit(); in TryMatch()
Dpcrecpp.h373 int match_limit() const { return match_limit_; }; in match_limit() function
Dpcre.h.in379 unsigned long int match_limit; /* Maximum number of calls to match() */ member
392 unsigned long int match_limit; /* Maximum number of calls to match() */ member
405 unsigned long int match_limit; /* Maximum number of calls to match() */ member
Dpcre.h.generic379 unsigned long int match_limit; /* Maximum number of calls to match() */
392 unsigned long int match_limit; /* Maximum number of calls to match() */
405 unsigned long int match_limit; /* Maximum number of calls to match() */
Dpcregexp.pas270 match_limit : longint; { Maximum number of calls to match() }
Dpcre_exec.c724 if (md->match_call_count++ >= md->match_limit) RRETURN(PCRE_ERROR_MATCHLIMIT); in match()
6492 md->match_limit = MATCH_LIMIT; in pcre_exec()
6508 md->match_limit = extra_data->match_limit; in pcre_exec()
6518 if ((re->flags & PCRE_MLSET) != 0 && re->limit_match < md->match_limit) in pcre_exec()
6519 md->match_limit = re->limit_match; in pcre_exec()
Dpcretest.c4159 pcre_uint32 match_limit, recursion_limit; in main() local
4190 if (new_info(re, NULL, PCRE_INFO_MATCHLIMIT, &match_limit) == 0) in main()
4191 fprintf(outfile, "Match limit = %u\n", match_limit); in main()
4869 extra->match_limit = n; in main()
5159 PCRE_EXTRA_MATCH_LIMIT, &(extra->match_limit), in main()
Dpcre_internal.h2498 unsigned long int match_limit; /* As it says */ member
Dpcre_jit_compile.c10408 …data->flags & PCRE_EXTRA_MATCH_LIMIT) == 0) ? MATCH_LIMIT : (pcre_uint32)(extra_data->match_limit); in PRIV()
10501 …data->flags & PCRE_EXTRA_MATCH_LIMIT) == 0) ? MATCH_LIMIT : (pcre_uint32)(extra_data->match_limit); in pcre_jit_exec()
DChangeLog4343 . In the match_data structure, match_limit was an unsigned long int, whereas
4701 match_limit a way of specifying a limit on match() calls for a specific
/external/pcre/dist/doc/
Dpcretest.txt740 different values in the match_limit and match_limit_recursion fields of
748 The match_limit number is a measure of the amount of backtracking that
Dpcre.txt3099 unsigned long int match_limit;
3128 The match_limit field provides a means of preventing PCRE from using up
3135 repeatedly (sometimes recursively). The limit set by match_limit is
3144 that goes on for a very long time, and so the match_limit value is also
3151 pcre_extra block in which match_limit is set, and
3164 The match_limit_recursion field is similar to match_limit, but instead
3168 sive. This limit is of use only if it is set smaller than match_limit.
3178 match_limit. You can override the default by suppling pcre_exec() with
3646 The backtracking limit, as specified by the match_limit field in a
4228 that contains a setting of the match_limit or match_limit_recursion
[all …]