Lines Matching refs:status

340 	int status;  in php_zlib_encode()  local
348 …if (Z_OK == (status = deflateInit2(&Z, level, Z_DEFLATED, encoding, MAX_MEM_LEVEL, Z_DEFAULT_STRAT… in php_zlib_encode()
356 status = deflate(&Z, Z_FINISH); in php_zlib_encode()
359 if (Z_STREAM_END == status) { in php_zlib_encode()
369 php_error_docref(NULL, E_WARNING, "%s", zError(status)); in php_zlib_encode()
377 int status, round = 0; in php_zlib_inflate_rounds() local
387 status = Z_MEM_ERROR; in php_zlib_inflate_rounds()
393 …%7lu,\tfree=%7lu,\tused=%7lu,\tavail_in=%7lu,\tavail_out=%7lu\n", round, status, buffer.size, buff… in php_zlib_inflate_rounds()
395 status = inflate(Z, Z_NO_FLUSH); in php_zlib_inflate_rounds()
400 …%7lu,\tfree=%7lu,\tused=%7lu,\tavail_in=%7lu,\tavail_out=%7lu\n", round, status, buffer.size, buff… in php_zlib_inflate_rounds()
404 } while ((Z_BUF_ERROR == status || (Z_OK == status && Z->avail_in)) && ++round < 100); in php_zlib_inflate_rounds()
406 if (status == Z_STREAM_END) { in php_zlib_inflate_rounds()
417 status = (status == Z_OK) ? Z_DATA_ERROR : status; in php_zlib_inflate_rounds()
419 return status; in php_zlib_inflate_rounds()
426 int status = Z_DATA_ERROR; in php_zlib_decode() local
435 status = inflateInit2(&Z, encoding); in php_zlib_decode()
436 if (Z_OK == status) { in php_zlib_decode()
440 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) { in php_zlib_decode()
460 php_error_docref(NULL, E_WARNING, "%s", zError(status)); in php_zlib_decode()
871 ((php_zlib_context *) ctx)->status = Z_OK; in PHP_FUNCTION()
914 int status; in PHP_FUNCTION() local
941 if (((php_zlib_context *) ctx)->status == Z_STREAM_END) in PHP_FUNCTION()
943 ((php_zlib_context *) ctx)->status = Z_OK; in PHP_FUNCTION()
958 status = inflate(ctx, flush_type); in PHP_FUNCTION()
961 ((php_zlib_context *) ctx)->status = status; /* Save status for exposing to userspace */ in PHP_FUNCTION()
963 switch (status) { in PHP_FUNCTION()
1010 php_error_docref(NULL, E_WARNING, "%s", zError(status)); in PHP_FUNCTION()
1040 RETURN_LONG(((php_zlib_context *) ctx)->status); in PHP_FUNCTION()
1170 int status; in PHP_FUNCTION() local
1224 status = deflate(ctx, flush_type); in PHP_FUNCTION()
1226 } while (status == Z_OK && ctx->avail_out == 0); in PHP_FUNCTION()
1228 switch (status) { in PHP_FUNCTION()
1242 php_error_docref(NULL, E_WARNING, "zlib error (%s)", zError(status)); in PHP_FUNCTION()
1457 int status = php_output_get_status(); in PHP_INI_MH() local
1458 if (status & PHP_OUTPUT_SENT) { in PHP_INI_MH()