Lines Matching refs:buffer
938 xmlBufferPtr buffer; in PHP_FUNCTION() local
951 buffer = xmlBufferCreate(); in PHP_FUNCTION()
953 if (buffer == NULL) { in PHP_FUNCTION()
958 ptr = xmlNewTextWriterMemory(buffer, 0); in PHP_FUNCTION()
960 xmlBufferFree(buffer); in PHP_FUNCTION()
972 ze_obj->output = buffer; in PHP_FUNCTION()
977 ze_obj->output = buffer; in PHP_FUNCTION()
987 xmlBufferPtr buffer; in php_xmlwriter_flush() local
998 buffer = Z_XMLWRITER_P(self)->output; in php_xmlwriter_flush()
999 if (force_string == 1 && buffer == NULL) { in php_xmlwriter_flush()
1003 if (buffer) { in php_xmlwriter_flush()
1004 RETVAL_STRING((char *) buffer->content); in php_xmlwriter_flush()
1006 xmlBufferEmpty(buffer); in php_xmlwriter_flush()