Lines Matching refs:replace_count
1134 int limit, int *replace_count) in php_pcre_replace() argument
1145 is_callable_replace, limit, replace_count); in php_pcre_replace()
1153 …ubject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) in php_pcre_replace_impl() argument
1258 if (UNEXPECTED(replace_count)) { in php_pcre_replace_impl()
1259 ++*replace_count; in php_pcre_replace_impl()
1427 …(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) in php_replace_in_subject() argument
1487 replace_count)) != NULL) { in php_replace_in_subject()
1510 replace_count); in php_replace_in_subject()
1525 int replace_count = 0, old_replace_count; in preg_replace_impl() local
1542 old_replace_count = replace_count; in preg_replace_impl()
1543 …_subject(regex, replace, subject_entry, limit_val, is_callable_replace, &replace_count)) != NULL) { in preg_replace_impl()
1544 if (!is_filter || replace_count > old_replace_count) { in preg_replace_impl()
1561 old_replace_count = replace_count; in preg_replace_impl()
1562 …ace_in_subject(regex, replace, subject, limit_val, is_callable_replace, &replace_count)) != NULL) { in preg_replace_impl()
1563 if (!is_filter || replace_count > old_replace_count) { in preg_replace_impl()
1574 return replace_count; in preg_replace_impl()
1584 int replace_count; in PHP_FUNCTION() local
1601 replace_count = preg_replace_impl(return_value, regex, replace, subject, limit, 0, 0); in PHP_FUNCTION()
1604 ZVAL_LONG(zcount, replace_count); in PHP_FUNCTION()
1616 int replace_count; in PHP_FUNCTION() local
1636 replace_count = preg_replace_impl(return_value, regex, replace, subject, limit, 1, 0); in PHP_FUNCTION()
1639 ZVAL_LONG(zcount, replace_count); in PHP_FUNCTION()
1652 int replace_count = 0; in PHP_FUNCTION() local
1683 replace_count += preg_replace_impl(&zv, ®ex, replace, subject, limit, 1, 0); in PHP_FUNCTION()
1685 replace_count += preg_replace_impl(&zv, ®ex, replace, return_value, limit, 1, 0); in PHP_FUNCTION()
1701 ZVAL_LONG(zcount, replace_count); in PHP_FUNCTION()
1712 int replace_count; in PHP_FUNCTION() local
1729 replace_count = preg_replace_impl(return_value, regex, replace, subject, limit, 0, 1); in PHP_FUNCTION()
1732 ZVAL_LONG(zcount, replace_count); in PHP_FUNCTION()