Lines Matching refs:new_len
1183 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1285 new_len = result_len + offsets[0] - start_offset; /* part before the match */ in php_pcre_replace_impl()
1302 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1306 new_len++; in php_pcre_replace_impl()
1311 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1312 alloc_len = zend_safe_address_guarded(2, new_len, alloc_len); in php_pcre_replace_impl()
1355 new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result), new_len); in php_pcre_replace_impl()
1356 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1357 alloc_len = zend_safe_address_guarded(2, new_len, alloc_len); in php_pcre_replace_impl()
1397 new_len = result_len + subject_len - start_offset; in php_pcre_replace_impl()
1398 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1399 alloc_len = new_len; /* now we know exactly how long it is */ in php_pcre_replace_impl()