Lines Matching refs:size

815 static inline void php_output_context_feed(php_output_context *context, char *data, size_t size, si…  in php_output_context_feed()  argument
823 context->in.size = size; in php_output_context_feed()
837 context->in.size = context->out.size; in php_output_context_swap()
841 context->out.size = 0; in php_output_context_swap()
851 context->out.size = context->in.size; in php_output_context_pass()
856 context->in.size = 0; in php_output_context_pass()
884 handler->size = chunk_size; in php_output_handler_init()
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()
901 size_t grow_int = PHP_OUTPUT_HANDLER_INITBUF_SIZE(handler->size); in php_output_handler_append()
902 …size_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buf… 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()
912 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
945 handler->buffer.size, 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()
1033 handler->buffer.size = 0; in php_output_handler_op()
1206 add_assoc_long(entry, "chunk_size", (long) handler->size); in php_output_handler_status()
1207 add_assoc_long(entry, "buffer_size", (long) handler->buffer.size); in php_output_handler_status()