Searched refs:match_limit (Results 1 - 12 of 12) sorted by relevance

/external/regex-re2/util/
H A Dpcre.h173 struct pcre_extra { int flags, match_limit, match_limit_recursion; };
463 void Init(const char* pattern, Option option, int match_limit,
517 // "extra" options. The only extras are match_limit, which limits
537 int match_limit() const { return match_limit_; } function in class:re2::PCRE_Options
538 void set_match_limit(int match_limit) { argument
539 match_limit_ = match_limit;
H A Dpcre.cc51 void PCRE::Init(const char* pattern, Option options, int match_limit, argument
55 match_limit_ = match_limit;
88 Init(pattern.c_str(), re_option.option(), re_option.match_limit(),
93 Init(pattern, re_option.option(), re_option.match_limit(),
469 int match_limit = match_limit_; local
470 if (match_limit <= 0) {
471 match_limit = FLAGS_regexp_match_limit;
480 if (match_limit > 0) {
482 extra.match_limit = match_limit;
[all...]
/external/pcre/
H A Dpcre.h379 unsigned long int match_limit; /* Maximum number of calls to match() */ member in struct:pcre_extra
392 unsigned long int match_limit; /* Maximum number of calls to match() */ member in struct:pcre16_extra
405 unsigned long int match_limit; /* Maximum number of calls to match() */ member in struct:pcre32_extra
/external/pcre/dist/
H A 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() */
H A Dpcre.h.in379 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() */
H A 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)
3158 if (match_limit > 0)
3161 cp->hint->match_limit = match_limit;
H A Dpcrecpp.h206 // set_match_limit() and match_limit() member functions.
207 // Setting match_limit to a non-zero value will limit the executation of
210 // stack blowup in a 2MB thread stack. Setting match_limit to zero will
213 // recurses. match_limit() caps the number of matches pcre does;
353 // Only 9 modifiers, plus match_limit and match_limit_recursion,
373 int match_limit() const { return match_limit_; }; function in class:pcrecpp::RE_Options
H A Dpcrecpp.cc515 if (options_.match_limit() > 0) {
517 extra.match_limit = options_.match_limit();
H A Dpcretest.c4159 pcre_uint32 match_limit, recursion_limit; local
4190 if (new_info(re, NULL, PCRE_INFO_MATCHLIMIT, &match_limit) == 0)
4191 fprintf(outfile, "Match limit = %u\n", match_limit);
4869 extra->match_limit = n;
5159 PCRE_EXTRA_MATCH_LIMIT, &(extra->match_limit),
5185 value of match_limit. */
H A Dpcre_exec.c724 if (md->match_call_count++ >= md->match_limit) RRETURN(PCRE_ERROR_MATCHLIMIT);
6492 md->match_limit = MATCH_LIMIT;
6508 md->match_limit = extra_data->match_limit;
6518 if ((re->flags & PCRE_MLSET) != 0 && re->limit_match < md->match_limit)
6519 md->match_limit = re->limit_match;
H A Dpcregexp.pas270 match_limit : longint; { Maximum number of calls to match() }
H A Dpcre_jit_compile.c10408 arguments.limit_match = ((extra_data->flags & PCRE_EXTRA_MATCH_LIMIT) == 0) ? MATCH_LIMIT : (pcre_uint32)(extra_data->match_limit);
10501 arguments.limit_match = ((extra_data->flags & PCRE_EXTRA_MATCH_LIMIT) == 0) ? MATCH_LIMIT : (pcre_uint32)(extra_data->match_limit);

Completed in 418 milliseconds