Lines Matching refs:buffer
838 xmlBufferPtr buffer; in PHP_FUNCTION() local
851 buffer = xmlBufferCreate(); in PHP_FUNCTION()
853 if (buffer == NULL) { in PHP_FUNCTION()
858 ptr = xmlNewTextWriterMemory(buffer, 0); in PHP_FUNCTION()
860 xmlBufferFree(buffer); in PHP_FUNCTION()
872 ze_obj->output = buffer; in PHP_FUNCTION()
877 ze_obj->output = buffer; in PHP_FUNCTION()
887 xmlBufferPtr buffer; in php_xmlwriter_flush() local
897 buffer = Z_XMLWRITER_P(self)->output; in php_xmlwriter_flush()
898 if (force_string == 1 && buffer == NULL) { in php_xmlwriter_flush()
902 if (buffer) { in php_xmlwriter_flush()
903 RETVAL_STRING((char *) buffer->content); in php_xmlwriter_flush()
905 xmlBufferEmpty(buffer); in php_xmlwriter_flush()