Searched defs:output_context (Results 1 - 4 of 4) 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/zlib/
H A Dzlib.c124 static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context) argument
127 PHP_OUTPUT_TSRMLS(output_context);
129 if (output_context->op & PHP_OUTPUT_HANDLER_START) {
136 if (output_context->op & PHP_OUTPUT_HANDLER_CLEAN) {
140 if (output_context->op & PHP_OUTPUT_HANDLER_FINAL) {
151 if (output_context->in.used) {
153 if (ctx->buffer.free < output_context->in.used) {
154 if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx->buffer.free + output_context->in.used))) {
159 ctx->buffer.free += output_context->in.used;
161 memcpy(ctx->buffer.data + ctx->buffer.used, output_context
210 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);
1249 static int php_output_handler_compat_func(void **handler_context, php_output_context *output_context) argument
1252 PHP_OUTPUT_TSRMLS(output_context);
1258 func(output_context->in.data, output_context->in.used, &out_str, &out_len, output_context->op);
1261 output_context->out.data = out_str;
1262 output_context
1276 php_output_handler_default_func(void **handler_context, php_output_context *output_context) argument
1285 php_output_handler_devnull_func(void **handler_context, php_output_context *output_context) argument
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c224 static int php_tidy_output_handler(void **nothing, php_output_context *output_context);
1147 static int php_tidy_output_handler(void **nothing, php_output_context *output_context) argument
1152 PHP_OUTPUT_TSRMLS(output_context);
1154 if (TG(clean_output) && (output_context->op & PHP_OUTPUT_HANDLER_START) && (output_context->op & PHP_OUTPUT_HANDLER_FINAL)) {
1165 tidyBufAttach(&inbuf, (byte *) output_context->in.data, output_context->in.used);
1171 output_context->out.data = (char *) outbuf.bp;
1172 output_context->out.used = outbuf.size ? outbuf.size-1 : 0;
1173 output_context
[all...]

Completed in 9 milliseconds