Lines Matching refs:capture_count
49 uint32_t capture_count; member
863 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
917 PHPAPI pcre2_code *pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count) in pcre_get_compiled_regex() argument
921 if (capture_count) { in pcre_get_compiled_regex()
922 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex()
930 PHPAPI pcre2_code* pcre_get_compiled_regex_ex(zend_string *regex, uint32_t *capture_count, uint32_t… in pcre_get_compiled_regex_ex() argument
940 if (capture_count) { in pcre_get_compiled_regex_ex()
941 *capture_count = pce ? pce->capture_count : 0; in pcre_get_compiled_regex_ex()
950 PHPAPI pcre2_match_data *php_pcre_create_match_data(uint32_t capture_count, pcre2_code *re) in php_pcre_create_match_data() argument
958 if (!capture_count) { in php_pcre_create_match_data()
960 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &capture_count); in php_pcre_create_match_data()
963 if (rc >= 0 && capture_count + 1 <= PHP_PCRE_PREALLOC_MDATA_SIZE) { in php_pcre_create_match_data()
1253 num_subpats = pce->capture_count + 1; in php_pcre_match_impl()
1638 num_subpats = pce->capture_count + 1; in php_pcre_replace_impl()
1875 num_subpats = pce->capture_count + 1; in php_pcre_replace_func_impl()
2557 num_subpats = pce->capture_count + 1; in php_pcre_split_impl()
2903 num_subpats = pce->capture_count + 1; in php_pcre_grep_impl()