Lines Matching refs:used

276 		if (context.out.data && context.out.used) {  in php_output_flush()
278 php_output_write(context.out.data, context.out.used); in php_output_flush()
379 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
392 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
801 …put_context_feed(php_output_context *context, char *data, size_t size, size_t used, zend_bool free) in php_output_context_feed() argument
807 context->in.used = used; in php_output_context_feed()
821 context->in.used = context->out.used; in php_output_context_swap()
825 context->out.used = 0; in php_output_context_swap()
836 context->out.used = context->in.used; in php_output_context_pass()
840 context->in.used = 0; in php_output_context_pass()
882 if (buf->used) { in php_output_handler_append()
885 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
887 …_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buffer. in php_output_handler_append()
893 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append()
894 handler->buffer.used += buf->used; in php_output_handler_append()
897 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
927 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op()
928 handler->buffer.used, in php_output_handler_op()
930 context->in.used?context->in.data:"", in php_output_handler_op()
931 context->in.used in php_output_handler_op()
954 ZVAL_STRINGL(&ob_data, handler->buffer.data, handler->buffer.used); in php_output_handler_op()
967 context->out.used = Z_STRLEN(retval); in php_output_handler_op()
982 …_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used, 0); in php_output_handler_op()
985 if (context->out.used) { in php_output_handler_op()
1008 context->out.used = handler->buffer.used; in php_output_handler_op()
1011 handler->buffer.used = 0; in php_output_handler_op()
1020 handler->buffer.used = 0; in php_output_handler_op()
1052 context.in.used = len; in php_output_op()
1063 context.out.used = len; in php_output_op()
1066 if (context.out.data && context.out.used) { in php_output_op()
1071 fprintf(stderr, "::: sapi_write('%s', %zu)\n", context.out.data, context.out.used); in php_output_op()
1073 sapi_module.ub_write(context.out.data, context.out.used); in php_output_op()
1141 handler->buffer.used = 0; in php_output_stack_apply_clean()
1185 add_assoc_long(entry, "buffer_used", (zend_long) handler->buffer.used); in php_output_handler_status()
1233 if (context.out.data && context.out.used && !(flags & PHP_OUTPUT_POP_DISCARD)) { in php_output_stack_pop()
1234 php_output_write(context.out.data, context.out.used); in php_output_stack_pop()
1256 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op); in php_output_handler_compat_func()
1260 output_context->out.used = out_len; in php_output_handler_compat_func()