Lines Matching refs:capture_count
58 uint32_t capture_count; member
847 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
901 PHPAPI pcre2_code *pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count) in pcre_get_compiled_regex() argument
905 if (capture_count) { in pcre_get_compiled_regex()
906 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex()
915 PHPAPI pcre2_match_data *php_pcre_create_match_data(uint32_t capture_count, pcre2_code *re) in php_pcre_create_match_data() argument
923 if (!capture_count) { in php_pcre_create_match_data()
925 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &capture_count); in php_pcre_create_match_data()
928 if (rc >= 0 && capture_count + 1 <= PHP_PCRE_PREALLOC_MDATA_SIZE) { in php_pcre_create_match_data()
1223 num_subpats = pce->capture_count + 1; in php_pcre_match_impl()
1608 num_subpats = pce->capture_count + 1; in php_pcre_replace_impl()
1847 num_subpats = pce->capture_count + 1; in php_pcre_replace_func_impl()
2532 num_subpats = pce->capture_count + 1; in php_pcre_split_impl()
2878 num_subpats = pce->capture_count + 1; in php_pcre_grep_impl()