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/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);
1148 static int php_tidy_output_handler(void **nothing, php_output_context *output_context) argument
1153 PHP_OUTPUT_TSRMLS(output_context);
1155 if (TG(clean_output) && (output_context->op & PHP_OUTPUT_HANDLER_START) && (output_context->op & PHP_OUTPUT_HANDLER_FINAL)) {
1166 tidyBufAttach(&inbuf, (byte *) output_context->in.data, output_context->in.used);
1172 output_context->out.data = (char *) outbuf.bp;
1173 output_context->out.used = outbuf.size ? outbuf.size-1 : 0;
1174 output_context
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c121 static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context) argument
124 PHP_OUTPUT_TSRMLS(output_context);
126 if (output_context->op & PHP_OUTPUT_HANDLER_START) {
133 if (output_context->op & PHP_OUTPUT_HANDLER_CLEAN) {
137 if (output_context->op & PHP_OUTPUT_HANDLER_FINAL) {
148 if (output_context->in.used) {
150 if (ctx->buffer.free < output_context->in.used) {
151 if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx->buffer.free + output_context->in.used))) {
156 ctx->buffer.free += output_context->in.used;
158 memcpy(ctx->buffer.data + ctx->buffer.used, output_context
207 php_zlib_output_handler(void **handler_context, php_output_context *output_context) argument
[all...]

Completed in 9 milliseconds