Z_FINISH
if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
int eof = flush == Z_FINISH;
if (flush != Z_NO_FLUSH && flush != Z_FINISH)
(flush == Z_FINISH && state->status != FINISH_STATE)) {
if (flush == Z_FINISH) {
if (flush != Z_NO_FLUSH && flush != Z_FINISH
if (flush != Z_FINISH) return Z_OK;
int flag = finish == B_TRUE ? Z_FINISH : Z_FULL_FLUSH;
if ((err = zlib.z_compress(&zs, Z_FINISH)) != Z_STREAM_END) {
flush > Z_FINISH || flush < 0) {
(s->status == FINISH_STATE && flush != Z_FINISH)) {
flush != Z_FINISH) {
if (flush != Z_FINISH)
FLUSH_BLOCK(s, flush == Z_FINISH);
return (flush == Z_FINISH ? finish_done : block_done);
FLUSH_BLOCK(s, flush == Z_FINISH);
return (flush == Z_FINISH ? finish_done : block_done);
FLUSH_BLOCK(s, flush == Z_FINISH);
return (flush == Z_FINISH ? finish_done : block_done);
if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) {