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
417 extra = pcre_study(re, soptions, &error); in pcre_get_compiled_regex_cache()
418 if (extra) { in pcre_get_compiled_regex_cache()
419 extra->flags |= PCRE_EXTRA_MATCH_LIMIT | PCRE_EXTRA_MATCH_LIMIT_RECURSION; in pcre_get_compiled_regex_cache()
425 extra = NULL; in pcre_get_compiled_regex_cache()
442 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
475 PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *preg_options TSRMLS_DC) in pcre_get_compiled_regex() argument
479 if (extra) { in pcre_get_compiled_regex()
480 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex()
492 PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *co… in pcre_get_compiled_regex_ex() argument
496 if (extra) { in pcre_get_compiled_regex_ex()
497 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex_ex()
566 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_match_impl() local
616 if (extra == NULL) { in php_pcre_match_impl()
618 extra = &extra_data; in php_pcre_match_impl()
620 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_match_impl()
621 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_match_impl()
624 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_match_impl()
659 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_match_impl()
1006 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_replace_impl() local
1036 if (extra == NULL) { in php_pcre_replace_impl()
1038 extra = &extra_data; in php_pcre_replace_impl()
1040 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_replace_impl()
1041 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_replace_impl()
1056 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_replace_impl()
1087 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_replace_impl()
1484 pcre_extra *extra = NULL; /* Holds results of studying */ in php_pcre_split_impl() local
1509 if (extra == NULL) { in php_pcre_split_impl()
1511 extra = &extra_data; in php_pcre_split_impl()
1513 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_split_impl()
1514 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_split_impl()
1520 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_split_impl()
1536 count = pcre_exec(pce->re, extra, subject, in php_pcre_split_impl()
1763 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_grep_impl() local
1776 if (extra == NULL) { in php_pcre_grep_impl()
1778 extra = &extra_data; in php_pcre_grep_impl()
1780 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_grep_impl()
1781 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_grep_impl()
1784 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_grep_impl()
1808 count = pcre_exec(pce->re, extra, Z_STRVAL(subject), in php_pcre_grep_impl()