Lines Matching refs:extra

99 	if (pce->extra) pefree(pce->extra, 1);  in php_free_pcre_cache()
192 pcre_extra *extra = pce->extra; in make_subpats_table() local
199 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMECOUNT, &name_cnt); in make_subpats_table()
208 rc1 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMETABLE, &name_table); in make_subpats_table()
209 rc2 = pcre_fullinfo(pce->re, extra, PCRE_INFO_NAMEENTRYSIZE, &name_size); in make_subpats_table()
257 pcre_extra *extra; in pcre_get_compiled_regex_cache() local
443 extra = pcre_study(re, soptions, &error); in pcre_get_compiled_regex_cache()
444 if (extra) { in pcre_get_compiled_regex_cache()
445 extra->flags |= PCRE_EXTRA_MATCH_LIMIT | PCRE_EXTRA_MATCH_LIMIT_RECURSION; in pcre_get_compiled_regex_cache()
451 extra = NULL; in pcre_get_compiled_regex_cache()
468 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
502 PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *preg_options TSRMLS_DC) in pcre_get_compiled_regex() argument
506 if (extra) { in pcre_get_compiled_regex()
507 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex()
519 PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *co… in pcre_get_compiled_regex_ex() argument
523 if (extra) { in pcre_get_compiled_regex_ex()
524 *extra = pce ? pce->extra : NULL; in pcre_get_compiled_regex_ex()
595 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_match_impl() local
647 if (extra == NULL) { in php_pcre_match_impl()
649 extra = &extra_data; in php_pcre_match_impl()
651 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_match_impl()
652 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_match_impl()
654 extra->mark = &mark; in php_pcre_match_impl()
655 extra->flags |= PCRE_EXTRA_MARK; in php_pcre_match_impl()
659 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_match_impl()
694 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_match_impl()
1070 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_replace_impl() local
1101 if (extra == NULL) { in php_pcre_replace_impl()
1103 extra = &extra_data; in php_pcre_replace_impl()
1105 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_replace_impl()
1106 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_replace_impl()
1108 extra->mark = &mark; in php_pcre_replace_impl()
1109 extra->flags |= PCRE_EXTRA_MARK; in php_pcre_replace_impl()
1129 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &num_subpats); in php_pcre_replace_impl()
1160 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset, in php_pcre_replace_impl()
1568 pcre_extra *extra = NULL; /* Holds results of studying */ in php_pcre_split_impl() local
1593 if (extra == NULL) { in php_pcre_split_impl()
1595 extra = &extra_data; in php_pcre_split_impl()
1597 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_split_impl()
1598 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_split_impl()
1600 extra->flags &= ~PCRE_EXTRA_MARK; in php_pcre_split_impl()
1607 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_split_impl()
1623 count = pcre_exec(pce->re, extra, subject, in php_pcre_split_impl()
1852 pcre_extra *extra = pce->extra;/* Holds results of studying */ in php_pcre_grep_impl() local
1866 if (extra == NULL) { in php_pcre_grep_impl()
1868 extra = &extra_data; in php_pcre_grep_impl()
1870 extra->match_limit = PCRE_G(backtrack_limit); in php_pcre_grep_impl()
1871 extra->match_limit_recursion = PCRE_G(recursion_limit); in php_pcre_grep_impl()
1873 extra->flags &= ~PCRE_EXTRA_MARK; in php_pcre_grep_impl()
1877 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_grep_impl()
1901 count = pcre_exec(pce->re, extra, Z_STRVAL(subject), in php_pcre_grep_impl()