Lines Matching refs:size

814 static inline void php_output_context_feed(php_output_context *context, char *data, size_t size, si…  in php_output_context_feed()  argument
822 context->in.size = size; in php_output_context_feed()
836 context->in.size = context->out.size; in php_output_context_swap()
840 context->out.size = 0; in php_output_context_swap()
850 context->out.size = context->in.size; in php_output_context_pass()
855 context->in.size = 0; in php_output_context_pass()
883 handler->size = chunk_size; in php_output_handler_init()
885 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init()
886 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
899 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
900 size_t grow_int = PHP_OUTPUT_HANDLER_INITBUF_SIZE(handler->size); in php_output_handler_append()
901 …size_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buf… in php_output_handler_append()
904 handler->buffer.data = erealloc(handler->buffer.data, handler->buffer.size + grow_max); in php_output_handler_append()
905 handler->buffer.size += grow_max; in php_output_handler_append()
911 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
944 handler->buffer.size, in php_output_handler_op()
1002 …php_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used,… in php_output_handler_op()
1032 handler->buffer.size = 0; in php_output_handler_op()
1205 add_assoc_long(entry, "chunk_size", (long) handler->size); in php_output_handler_status()
1206 add_assoc_long(entry, "buffer_size", (long) handler->buffer.size); in php_output_handler_status()