Lines Matching refs:ZLIBG

106 	if (!ZLIBG(compression_coding)) {  in php_zlib_output_encoding()
111 ZLIBG(compression_coding) = PHP_ZLIB_ENCODING_GZIP; in php_zlib_output_encoding()
113 ZLIBG(compression_coding) = PHP_ZLIB_ENCODING_DEFLATE; in php_zlib_output_encoding()
117 return ZLIBG(compression_coding); in php_zlib_output_encoding()
128 …if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_c… in php_zlib_output_handler_ex()
142 …if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_c… in php_zlib_output_handler_ex()
240 if (SG(headers_sent) || !ZLIBG(output_compression)) { in php_zlib_output_handler()
244 switch (ZLIBG(compression_coding)) { in php_zlib_output_handler()
294 if (!ZLIBG(output_compression)) { in php_zlib_output_handler_init()
295 ZLIBG(output_compression) = chunk_size ? chunk_size : PHP_OUTPUT_HANDLER_DEFAULT_SIZE; in php_zlib_output_handler_init()
298 ZLIBG(handler_registered) = 1; in php_zlib_output_handler_init()
314 switch (ZLIBG(output_compression)) { in php_zlib_output_compression_start()
318 ZLIBG(output_compression) = PHP_OUTPUT_HANDLER_DEFAULT_SIZE; in php_zlib_output_compression_start()
322 …(h = php_zlib_output_handler_init(ZEND_STRL(PHP_ZLIB_OUTPUT_HANDLER_NAME), ZLIBG(output_compressio… in php_zlib_output_compression_start()
324 if (ZLIBG(output_handler) && *ZLIBG(output_handler)) { in php_zlib_output_compression_start()
325 ZVAL_STRING(&zoh, ZLIBG(output_handler)); in php_zlib_output_compression_start()
326 php_output_start_user(&zoh, ZLIBG(output_compression), PHP_OUTPUT_HANDLER_STDFLAGS); in php_zlib_output_compression_start()
466 if (ZLIBG(ob_gzhandler)) { in php_zlib_cleanup_ob_gzhandler_mess()
467 deflateEnd(&(ZLIBG(ob_gzhandler)->Z)); in php_zlib_cleanup_ob_gzhandler_mess()
468 php_zlib_output_handler_context_dtor(ZLIBG(ob_gzhandler)); in php_zlib_cleanup_ob_gzhandler_mess()
469 ZLIBG(ob_gzhandler) = NULL; in php_zlib_cleanup_ob_gzhandler_mess()
512 if (!ZLIBG(ob_gzhandler)) { in PHP_FUNCTION()
513 ZLIBG(ob_gzhandler) = php_zlib_output_handler_context_init(); in PHP_FUNCTION()
520 rv = php_zlib_output_handler_ex(ZLIBG(ob_gzhandler), &ctx); in PHP_FUNCTION()
548 switch (ZLIBG(compression_coding)) { in PHP_FUNCTION()
1467 ZLIBG(output_compression) = ZLIBG(output_compression_default); in PHP_INI_MH()
1565 ZLIBG(compression_coding) = 0; in PHP_RINIT_FUNCTION()
1566 if (!ZLIBG(handler_registered)) { in PHP_RINIT_FUNCTION()
1567 ZLIBG(output_compression) = ZLIBG(output_compression_default); in PHP_RINIT_FUNCTION()
1579 ZLIBG(handler_registered) = 0; in PHP_RSHUTDOWN_FUNCTION()