Home
last modified time | relevance | path

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

/PHP-5.3/ext/interbase/
H A Dibase_service.c278 char res_buf[400], *result, *heap_buf = NULL, *heap_p; in _php_ibase_service_query() local
308 if (heap_buf) { in _php_ibase_service_query()
309 RETURN_STRING(heap_buf,0); 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 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