Lines Matching refs:out_buffer
560 zend_string *ret, *out_buffer; in php_iconv_string() local
582 out_buffer = zend_string_alloc(out_size, 0); in php_iconv_string()
583 out_p = ZSTR_VAL(out_buffer); in php_iconv_string()
588 zend_string_free(out_buffer); in php_iconv_string()
593 size_t pos = out_p - ZSTR_VAL(out_buffer); in php_iconv_string()
594 out_buffer = zend_string_extend(out_buffer, out_size + 8, 0); in php_iconv_string()
595 out_p = ZSTR_VAL(out_buffer) + pos; in php_iconv_string()
604 zend_string_free(out_buffer); in php_iconv_string()
608 ZSTR_VAL(out_buffer)[out_size - out_left] = '\0'; in php_iconv_string() local
609 ZSTR_LEN(out_buffer) = out_size - out_left; in php_iconv_string()
613 *out = out_buffer; in php_iconv_string()
2481 zend_string *out_buffer; in PHP_NAMED_FUNCTION() local
2492 …err = php_iconv_string(ZSTR_VAL(in_buffer), (size_t)ZSTR_LEN(in_buffer), &out_buffer, out_charset,… in PHP_NAMED_FUNCTION()
2494 if (err == PHP_ICONV_ERR_SUCCESS && out_buffer != NULL) { in PHP_NAMED_FUNCTION()
2495 RETVAL_STR(out_buffer); in PHP_NAMED_FUNCTION()
2497 if (out_buffer != NULL) { in PHP_NAMED_FUNCTION()
2498 zend_string_free(out_buffer); in PHP_NAMED_FUNCTION()