Home
last modified time | relevance | path

Searched refs:heap_buf (Results 1 – 1 of 1) sorted by relevance

/PHP-7.3/ext/interbase/
H A Dibase_service.c276 char res_buf[400], *result, *heap_buf = NULL, *heap_p; in _php_ibase_service_query() local
306 if (heap_buf) { in _php_ibase_service_query()
307 RETVAL_STRING(heap_buf); in _php_ibase_service_query()
308 efree(heap_buf); in _php_ibase_service_query()
314 if (!heap_buf || (heap_p - heap_buf + line_len +2) > heap_buf_size) { in _php_ibase_service_query()
315 zend_long res_size = heap_buf ? heap_p - heap_buf : 0; in _php_ibase_service_query()
320 heap_buf = (char*) erealloc(heap_buf, heap_buf_size); in _php_ibase_service_query()
321 heap_p = heap_buf + res_size; in _php_ibase_service_query()
325 snprintf(heap_p, heap_buf_size - (heap_p - heap_buf), "%s\n", result); in _php_ibase_service_query()

Completed in 6 milliseconds