Searched refs:rec_limit (Results 1 – 2 of 2) sorted by relevance
/external/pcre/dist2/src/ |
D | pcre2_auto_possess.c | 516 const uint32_t *base_list, PCRE2_SPTR base_end, int *rec_limit) in compare_opcodes() argument 533 if (--(*rec_limit) <= 0) return FALSE; /* Recursion has gone too deep */ in compare_opcodes() 639 if (!compare_opcodes(code, utf, cb, base_list, base_end, rec_limit)) in compare_opcodes() 660 if (!compare_opcodes(next_code, utf, cb, base_list, base_end, rec_limit)) in compare_opcodes() 1102 int rec_limit = 1000; /* Was 10,000 but clang+ASAN uses a lot of stack. */ in PRIV() local 1117 if (end != NULL && compare_opcodes(end, utf, cb, list, end, &rec_limit)) in PRIV() 1173 if (compare_opcodes(end, utf, cb, list, end, &rec_limit)) in PRIV()
|
/external/python/cpython3/Lib/test/ |
D | test_traceback.py | 351 rec_limit = sys.getrecursionlimit() 352 self.assertIn(int(re.search(r"\d+", actual[-2]).group()), range(rec_limit-60, rec_limit))
|