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 if (OG(active)->buffer.used) { in php_output_get_contents()
363 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
379 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
794 …p_output_context_feed(php_output_context *context, char *data, size_t size, size_t used, bool free) in php_output_context_feed() argument
800 context->in.used = used; in php_output_context_feed()
814 context->in.used = context->out.used; in php_output_context_swap()
818 context->out.used = 0; in php_output_context_swap()
829 context->out.used = context->in.used; in php_output_context_pass()
833 context->in.used = 0; in php_output_context_pass()
875 if (buf->used) { in php_output_handler_append()
878 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
880 …_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buffer. in php_output_handler_append()
886 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append()
887 handler->buffer.used += buf->used; in php_output_handler_append()
890 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
920 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op()
921 handler->buffer.used, in php_output_handler_op()
923 context->in.used?context->in.data:"", in php_output_handler_op()
924 context->in.used in php_output_handler_op()
953 ZVAL_STRINGL(&ob_args[0], handler->buffer.data, handler->buffer.used); in php_output_handler_op()
970 context->out.used = Z_STRLEN(retval); in php_output_handler_op()
987 …_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used, 0); in php_output_handler_op()
990 if (context->out.used) { in php_output_handler_op()
1013 context->out.used = handler->buffer.used; in php_output_handler_op()
1016 handler->buffer.used = 0; in php_output_handler_op()
1025 handler->buffer.used = 0; in php_output_handler_op()
1057 context.in.used = len; in php_output_op()
1068 context.out.used = len; in php_output_op()
1071 if (context.out.data && context.out.used) { in php_output_op()
1076 fprintf(stderr, "::: sapi_write('%s', %zu)\n", context.out.data, context.out.used); in php_output_op()
1078 sapi_module.ub_write(context.out.data, context.out.used); in php_output_op()
1146 handler->buffer.used = 0; in php_output_stack_apply_clean()
1190 add_assoc_long(entry, "buffer_used", (zend_long) handler->buffer.used); in php_output_handler_status()
1238 if (context.out.data && context.out.used && !(flags & PHP_OUTPUT_POP_DISCARD)) { in php_output_stack_pop()
1239 php_output_write(context.out.data, context.out.used); in php_output_stack_pop()
1261 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op); in php_output_handler_compat_func()
1265 output_context->out.used = out_len; in php_output_handler_compat_func()