Lines Matching refs:used
285 if (context.out.data && context.out.used) { in php_output_flush()
287 php_output_write(context.out.data, context.out.used TSRMLS_CC); in php_output_flush()
388 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used, 1); in php_output_get_contents()
401 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
814 …put_context_feed(php_output_context *context, char *data, size_t size, size_t used, zend_bool free) in php_output_context_feed() argument
820 context->in.used = used; in php_output_context_feed()
834 context->in.used = context->out.used; in php_output_context_swap()
838 context->out.used = 0; in php_output_context_swap()
849 context->out.used = context->in.used; in php_output_context_pass()
853 context->in.used = 0; in php_output_context_pass()
896 if (buf->used) { in php_output_handler_append()
899 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append()
901 …_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buffer.… in php_output_handler_append()
907 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append()
908 handler->buffer.used += buf->used; in php_output_handler_append()
911 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append()
942 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op()
943 handler->buffer.used, in php_output_handler_op()
945 context->in.used?context->in.data:"", in php_output_handler_op()
946 context->in.used in php_output_handler_op()
970 ZVAL_STRINGL(ob_data, handler->buffer.data, handler->buffer.used, 1); in php_output_handler_op()
983 context->out.used = Z_STRLEN_P(retval); in php_output_handler_op()
1002 …_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used, 0); in php_output_handler_op()
1005 if (context->out.used) { in php_output_handler_op()
1028 context->out.used = handler->buffer.used; in php_output_handler_op()
1031 handler->buffer.used = 0; in php_output_handler_op()
1040 handler->buffer.used = 0; in php_output_handler_op()
1072 context.in.used = len; in php_output_op()
1083 context.out.used = len; in php_output_op()
1086 if (context.out.data && context.out.used) { in php_output_op()
1091 fprintf(stderr, "::: sapi_write('%s', %zu)\n", context.out.data, context.out.used); in php_output_op()
1093 sapi_module.ub_write(context.out.data, context.out.used TSRMLS_CC); in php_output_op()
1161 handler->buffer.used = 0; in php_output_stack_apply_clean()
1207 add_assoc_long(entry, "buffer_used", (long) handler->buffer.used); in php_output_handler_status()
1255 if (context.out.data && context.out.used && !(flags & PHP_OUTPUT_POP_DISCARD)) { in php_output_stack_pop()
1256 php_output_write(context.out.data, context.out.used TSRMLS_CC); in php_output_stack_pop()
1279 …func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op TSRM… in php_output_handler_compat_func()
1283 output_context->out.used = out_len; in php_output_handler_compat_func()