Lines Matching refs:capture_count
56 uint32_t capture_count; member
839 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
893 PHPAPI pcre2_code *pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count) in pcre_get_compiled_regex() argument
897 if (capture_count) { in pcre_get_compiled_regex()
898 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex()
907 PHPAPI pcre2_match_data *php_pcre_create_match_data(uint32_t capture_count, pcre2_code *re) in php_pcre_create_match_data() argument
915 if (!capture_count) { in php_pcre_create_match_data()
917 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &capture_count); in php_pcre_create_match_data()
920 if (rc >= 0 && capture_count + 1 <= PHP_PCRE_PREALLOC_MDATA_SIZE) { in php_pcre_create_match_data()
1208 num_subpats = pce->capture_count + 1; in php_pcre_match_impl()
1626 num_subpats = pce->capture_count + 1; in php_pcre_replace_impl()
1862 num_subpats = pce->capture_count + 1; in php_pcre_replace_func_impl()
2587 num_subpats = pce->capture_count + 1; in php_pcre_split_impl()
2934 num_subpats = pce->capture_count + 1; in php_pcre_grep_impl()