Home
last modified time | relevance | path

Searched refs:match_limit (Results 1 – 2 of 2) 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()