Lines Matching refs:replace_count
1561 size_t limit, size_t *replace_count) in php_pcre_replace() argument
1577 limit, replace_count); in php_pcre_replace()
1585 …t char *subject, size_t subject_len, zend_string *replace_str, size_t limit, size_t *replace_count) in php_pcre_replace_impl() argument
1665 if (replace_count) { in php_pcre_replace_impl()
1666 ++*replace_count; in php_pcre_replace_impl()
1827 …nd_fcall_info *fci, zend_fcall_info_cache *fcc, size_t limit, size_t *replace_count, zend_long fla… in php_pcre_replace_func_impl() argument
1921 if (replace_count) { in php_pcre_replace_func_impl()
1922 ++*replace_count; in php_pcre_replace_func_impl()
2043 size_t limit, size_t *replace_count, zend_long flags) in php_pcre_replace_func() argument
2055 limit, replace_count, flags); in php_pcre_replace_func()
2065 zend_string *subject_str, size_t limit, size_t *replace_count) in php_pcre_replace_array() argument
2101 ZSTR_LEN(subject_str), replace_entry_str, limit, replace_count); in php_pcre_replace_array()
2123 ZSTR_LEN(subject_str), replace_str, limit, replace_count); in php_pcre_replace_array()
2142 zend_string *subject, size_t limit, size_t *replace_count) in php_replace_in_subject() argument
2149 replace_str, limit, replace_count); in php_replace_in_subject()
2153 limit, replace_count); in php_replace_in_subject()
2162 zend_string *subject, size_t limit, size_t *replace_count, zend_long flags) in php_replace_in_subject_func() argument
2168 regex_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func()
2187 regex_entry_str, subject, fci, fcc, limit, replace_count, flags); in php_replace_in_subject_func()
2208 size_t replace_count = 0; in preg_replace_func_impl() local
2212 regex_str, regex_ht, fci, fcc, subject_str, limit_val, &replace_count, flags); in preg_replace_func_impl()
2235 regex_str, regex_ht, fci, fcc, subject_entry_str, limit_val, &replace_count, flags); in preg_replace_func_impl()
2249 return replace_count; in preg_replace_func_impl()
2264 size_t replace_count = 0; in preg_replace_common() local
2285 old_replace_count = replace_count; in preg_replace_common()
2287 subject_str, limit, &replace_count); in preg_replace_common()
2289 if (!is_filter || replace_count > old_replace_count) { in preg_replace_common()
2311 old_replace_count = replace_count; in preg_replace_common()
2315 subject_entry_str, limit, &replace_count); in preg_replace_common()
2318 if (!is_filter || replace_count > old_replace_count) { in preg_replace_common()
2335 ZEND_TRY_ASSIGN_REF_LONG(zcount, replace_count); in preg_replace_common()
2356 size_t replace_count; in PHP_FUNCTION() local
2371 replace_count = preg_replace_func_impl(return_value, regex_str, regex_ht, in PHP_FUNCTION()
2375 ZEND_TRY_ASSIGN_REF_LONG(zcount, replace_count); in PHP_FUNCTION()
2387 size_t replace_count = 0; in PHP_FUNCTION() local
2423 replace_count += preg_replace_func_impl(&zv, str_idx_regex, /* regex_ht */ NULL, &fci, &fcc, in PHP_FUNCTION()
2448 ZEND_TRY_ASSIGN_REF_LONG(zcount, replace_count); in PHP_FUNCTION()