Lines Matching refs:used

259 		if (context.out.data && context.out.used) {  in php_output_flush()
261 php_output_write(context.out.data, context.out.used); in php_output_flush()
362 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
375 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
790 …p_output_context_feed(php_output_context *context, char *data, size_t size, size_t used, bool free) in php_output_context_feed() argument
796 context->in.used = used; in php_output_context_feed()
810 context->in.used = context->out.used; in php_output_context_swap()
814 context->out.used = 0; in php_output_context_swap()
825 context->out.used = context->in.used; in php_output_context_pass()
829 context->in.used = 0; in php_output_context_pass()
871 if (buf->used) { in php_output_handler_append()
874 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
876 …_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buffer. in php_output_handler_append()
882 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append()
883 handler->buffer.used += buf->used; in php_output_handler_append()
886 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
916 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op()
917 handler->buffer.used, in php_output_handler_op()
919 context->in.used?context->in.data:"", in php_output_handler_op()
920 context->in.used in php_output_handler_op()
945 ZVAL_STRINGL(&ob_args[0], handler->buffer.data, handler->buffer.used); in php_output_handler_op()
962 context->out.used = Z_STRLEN(retval); in php_output_handler_op()
979 …_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used, 0); in php_output_handler_op()
982 if (context->out.used) { in php_output_handler_op()
1005 context->out.used = handler->buffer.used; in php_output_handler_op()
1008 handler->buffer.used = 0; in php_output_handler_op()
1017 handler->buffer.used = 0; in php_output_handler_op()
1049 context.in.used = len; in php_output_op()
1060 context.out.used = len; in php_output_op()
1063 if (context.out.data && context.out.used) { in php_output_op()
1068 fprintf(stderr, "::: sapi_write('%s', %zu)\n", context.out.data, context.out.used); in php_output_op()
1070 sapi_module.ub_write(context.out.data, context.out.used); in php_output_op()
1138 handler->buffer.used = 0; in php_output_stack_apply_clean()
1182 add_assoc_long(entry, "buffer_used", (zend_long) handler->buffer.used); in php_output_handler_status()
1230 if (context.out.data && context.out.used && !(flags & PHP_OUTPUT_POP_DISCARD)) { in php_output_stack_pop()
1231 php_output_write(context.out.data, context.out.used); in php_output_stack_pop()
1253 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op); in php_output_handler_compat_func()
1257 output_context->out.used = out_len; in php_output_handler_compat_func()