Lines Matching refs:php_zlib_context
77 if (((php_zlib_context *) ctx)->inflateDict) { in inflate_rsrc_dtor()
78 efree(((php_zlib_context *) ctx)->inflateDict); in inflate_rsrc_dtor()
122 static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context) in php_zlib_output_handler_ex()
209 php_zlib_context *ctx = *(php_zlib_context **) handler_context; in php_zlib_output_handler()
266 static php_zlib_context *php_zlib_output_handler_context_init(void) in php_zlib_output_handler_context_init()
268 php_zlib_context *ctx = (php_zlib_context *) ecalloc(1, sizeof(php_zlib_context)); in php_zlib_output_handler_context_init()
278 php_zlib_context *ctx = (php_zlib_context *) opaq; in php_zlib_output_handler_context_dtor()
866 ctx = ecalloc(1, sizeof(php_zlib_context)); in PHP_FUNCTION()
869 ((php_zlib_context *) ctx)->inflateDict = dict; in PHP_FUNCTION()
870 ((php_zlib_context *) ctx)->inflateDictlen = dictlen; in PHP_FUNCTION()
871 ((php_zlib_context *) ctx)->status = Z_OK; in PHP_FUNCTION()
881 php_zlib_context *php_ctx = (php_zlib_context *) ctx; in PHP_FUNCTION()
941 if (((php_zlib_context *) ctx)->status == Z_STREAM_END) in PHP_FUNCTION()
943 ((php_zlib_context *) ctx)->status = Z_OK; in PHP_FUNCTION()
961 ((php_zlib_context *) ctx)->status = status; /* Save status for exposing to userspace */ in PHP_FUNCTION()
988 if (((php_zlib_context *) ctx)->inflateDict) { in PHP_FUNCTION()
989 php_zlib_context *php_ctx = (php_zlib_context *) ctx; in PHP_FUNCTION()
1040 RETURN_LONG(((php_zlib_context *) ctx)->status); in PHP_FUNCTION()
1134 ctx = ecalloc(1, sizeof(php_zlib_context)); in PHP_FUNCTION()