Lines Matching refs:extra

94 	if (pce->extra) pefree(pce->extra, 1);  in php_free_pcre_cache()
186 pcre_extra *extra = pce->extra; in make_subpats_table() local
193 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMECOUNT, &name_cnt); in make_subpats_table()
202 rc1 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMETABLE, &name_table); in make_subpats_table()
203 rc2 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMEENTRYSIZE, &name_size); in make_subpats_table()
232 pcre_extra *extra; in pcre_get_compiled_regex_cache() local
408 extra = pcre_study(re, soptions, &error); in pcre_get_compiled_regex_cache()
409 if (extra) { in pcre_get_compiled_regex_cache()
410 extra->flags |= PCRE_EXTRA_MATCH_LIMIT | PCRE_EXTRA_MATCH_LIMIT_RECURSION; in pcre_get_compiled_regex_cache()
416 extra = NULL; in pcre_get_compiled_regex_cache()
433 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
449 PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *preg_options TSRMLS_DC) in pcre_get_compiled_regex() argument
453 if (extra) { in pcre_get_compiled_regex()
454 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex()
466 PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *co… in pcre_get_compiled_regex_ex() argument
470 if (extra) { in pcre_get_compiled_regex_ex()
471 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex_ex()
540 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_match_impl() local
590 if (extra == NULL) { in php_pcre_match_impl()
592 extra = &extra_data; in php_pcre_match_impl()
594 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_match_impl()
595 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_match_impl()
598 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_match_impl()
633 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_match_impl()
980 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_replace_impl() local
1010 if (extra == NULL) { in php_pcre_replace_impl()
1012 extra = &extra_data; in php_pcre_replace_impl()
1014 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_replace_impl()
1015 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_replace_impl()
1030 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_replace_impl()
1061 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_replace_impl()
1458 pcre_extra *extra = NULL; /* Holds results of studying */ in php_pcre_split_impl() local
1483 if (extra == NULL) { in php_pcre_split_impl()
1485 extra = &extra_data; in php_pcre_split_impl()
1487 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_split_impl()
1488 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_split_impl()
1494 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_split_impl()
1510 count = pcre_exec(pce->re, extra, subject, in php_pcre_split_impl()
1737 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_grep_impl() local
1750 if (extra == NULL) { in php_pcre_grep_impl()
1752 extra = &extra_data; in php_pcre_grep_impl()
1754 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_grep_impl()
1755 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_grep_impl()
1758 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_grep_impl()
1782 count = pcre_exec(pce->re, extra, Z_STRVAL(subject), in php_pcre_grep_impl()