Lines Matching refs:buffer

389 		ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used, 1);  in php_output_get_contents()
402 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
719 STR_FREE(handler->buffer.data); in php_output_handler_dtor()
886 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init()
887 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
900 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
902 …w_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buffer.used)); in php_output_handler_append()
905 handler->buffer.data = erealloc(handler->buffer.data, handler->buffer.size + grow_max); in php_output_handler_append()
906 handler->buffer.size += grow_max; in php_output_handler_append()
908 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append()
909 handler->buffer.used += buf->used; in php_output_handler_append()
912 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
943 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op()
944 handler->buffer.used, in php_output_handler_op()
945 handler->buffer.size, in php_output_handler_op()
971 ZVAL_STRINGL(ob_data, handler->buffer.data, handler->buffer.used, 1); in php_output_handler_op()
1003 …php_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used,… in php_output_handler_op()
1028 context->out.data = handler->buffer.data; in php_output_handler_op()
1029 context->out.used = handler->buffer.used; in php_output_handler_op()
1031 handler->buffer.data = NULL; in php_output_handler_op()
1032 handler->buffer.used = 0; in php_output_handler_op()
1033 handler->buffer.size = 0; in php_output_handler_op()
1041 handler->buffer.used = 0; in php_output_handler_op()
1162 handler->buffer.used = 0; in php_output_stack_apply_clean()
1207 add_assoc_long(entry, "buffer_size", (long) handler->buffer.size); in php_output_handler_status()
1208 add_assoc_long(entry, "buffer_used", (long) handler->buffer.used); in php_output_handler_status()