Lines Matching refs:size

794 static inline void php_output_context_feed(php_output_context *context, char *data, size_t size, si…  in php_output_context_feed()  argument
802 context->in.size = size; in php_output_context_feed()
816 context->in.size = context->out.size; in php_output_context_swap()
820 context->out.size = 0; in php_output_context_swap()
830 context->out.size = context->in.size; in php_output_context_pass()
835 context->in.size = 0; in php_output_context_pass()
862 handler->size = chunk_size; in php_output_handler_init()
864 handler->buffer.size = PHP_OUTPUT_HANDLER_INITBUF_SIZE(chunk_size); in php_output_handler_init()
865 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init()
878 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
879 size_t grow_int = PHP_OUTPUT_HANDLER_INITBUF_SIZE(handler->size); in php_output_handler_append()
880 …size_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buf… in php_output_handler_append()
883 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append()
884 handler->buffer.size += grow_max; in php_output_handler_append()
890 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
922 handler->buffer.size, in php_output_handler_op()
987 …php_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used,… in php_output_handler_op()
1017 handler->buffer.size = 0; in php_output_handler_op()
1188 add_assoc_long(entry, "chunk_size", (zend_long) handler->size); in php_output_handler_status()
1189 add_assoc_long(entry, "buffer_size", (zend_long) handler->buffer.size); in php_output_handler_status()