Searched refs:output_context (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/iconv/
H A Diconv.c220 static int php_iconv_output_handler(void **nothing, php_output_context *output_context);
400 static int php_iconv_output_handler(void **nothing, php_output_context *output_context) argument
404 PHP_OUTPUT_TSRMLS(output_context);
406 if (output_context->op & PHP_OUTPUT_HANDLER_START) {
423 if (mimetype != NULL && !(output_context->op & PHP_OUTPUT_HANDLER_CLEAN)) {
439 if (output_context->in.used) {
441 output_context->out.free = 1;
442 _php_iconv_show_error(php_iconv_string(output_context->in.data, output_context->in.used, &out, get_output_encoding(), get_internal_encoding()), get_output_encoding(), get_internal_encoding());
444 output_context
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c226 static int php_tidy_output_handler(void **nothing, php_output_context *output_context);
1150 static int php_tidy_output_handler(void **nothing, php_output_context *output_context) argument
1155 PHP_OUTPUT_TSRMLS(output_context);
1157 if (TG(clean_output) && (output_context->op & PHP_OUTPUT_HANDLER_START) && (output_context->op & PHP_OUTPUT_HANDLER_FINAL)) {
1168 tidyBufAttach(&inbuf, (byte *) output_context->in.data, output_context->in.used);
1174 output_context->out.data = (char *) outbuf.bp;
1175 output_context->out.used = outbuf.size ? outbuf.size-1 : 0;
1176 output_context
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c103 static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context) argument
106 PHP_OUTPUT_TSRMLS(output_context);
108 if (output_context->op & PHP_OUTPUT_HANDLER_START) {
115 if (output_context->op & PHP_OUTPUT_HANDLER_CLEAN) {
119 if (output_context->op & PHP_OUTPUT_HANDLER_FINAL) {
130 if (output_context->in.used) {
132 if (ctx->buffer.free < output_context->in.used) {
133 if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx->buffer.free + output_context->in.used))) {
138 ctx->buffer.free += output_context->in.used;
140 memcpy(ctx->buffer.data + ctx->buffer.used, output_context
189 php_zlib_output_handler(void **handler_context, php_output_context *output_context) argument
[all...]
/PHP_TRUNK/main/
H A Doutput.c75 static int php_output_handler_compat_func(void **handler_context, php_output_context *output_context);
76 static int php_output_handler_default_func(void **handler_context, php_output_context *output_context);
77 static int php_output_handler_devnull_func(void **handler_context, php_output_context *output_context);
1255 static int php_output_handler_compat_func(void **handler_context, php_output_context *output_context) argument
1258 PHP_OUTPUT_TSRMLS(output_context);
1264 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op);
1267 output_context->out.data = out_str;
1268 output_context
1282 php_output_handler_default_func(void **handler_context, php_output_context *output_context) argument
1291 php_output_handler_devnull_func(void **handler_context, php_output_context *output_context) argument
[all...]
H A Dphp_output.h113 typedef int (*php_output_handler_context_func_t)(void **handler_context, php_output_context *output_context);

Completed in 10 milliseconds