Lines Matching refs:buffer
312 char *buffer = NULL; in PHP_FUNCTION() local
326 if (php_oci_lob_read(descriptor, -1, 0, &buffer, &buffer_len)) { in PHP_FUNCTION()
330 zend_string *ret = zend_string_init(buffer, buffer_len, 0); in PHP_FUNCTION()
331 if (buffer) in PHP_FUNCTION()
332 efree(buffer); in PHP_FUNCTION()
347 char *buffer; in PHP_FUNCTION() local
366 if (php_oci_lob_read(descriptor, length, descriptor->lob_current_position, &buffer, &buffer_len)) { in PHP_FUNCTION()
370 zend_string *ret = zend_string_init(buffer, buffer_len, 0); in PHP_FUNCTION()
371 efree(buffer); in PHP_FUNCTION()
824 char *buffer; in PHP_FUNCTION() local
890 if (php_oci_lob_read(descriptor, block_length, start, &buffer, &tmp_bytes_read)) { in PHP_FUNCTION()
894 if (tmp_bytes_read && !php_stream_write(stream, buffer, tmp_bytes_read)) { in PHP_FUNCTION()
896 if (buffer) in PHP_FUNCTION()
897 efree(buffer); in PHP_FUNCTION()
900 if (buffer) { in PHP_FUNCTION()
901 efree(buffer); in PHP_FUNCTION()