Lines Matching refs:zout
427 z_stream zout; /* Output compression context */
482 ctx->zout.zalloc = Z_NULL;
483 ctx->zout.zfree = Z_NULL;
484 ctx->zout.next_in = NULL;
485 ctx->zout.avail_in = 0;
486 ctx->zout.next_out = NULL;
487 ctx->zout.avail_out = 0;
509 deflateEnd(&ctx->zout);
579 z_stream *zout;
585 zout = &ctx->zout;
596 deflateInit(zout, ctx->comp_level);
597 zout->next_out = ctx->obuf;
598 zout->avail_out = ctx->obufsize;
601 zout->next_in = (void *)in;
602 zout->avail_in = inl;
609 int tot = inl - zout->avail_in;
620 if (!zout->avail_in)
627 zout->next_out = ctx->obuf;
628 zout->avail_out = ctx->obufsize;
630 ret = deflate(zout, 0);
636 ctx->ocount = ctx->obufsize - zout->avail_out;
644 z_stream *zout;
649 zout = &ctx->zout;
652 zout->next_in = NULL;
653 zout->avail_in = 0;
672 zout->next_out = ctx->obuf;
673 zout->avail_out = ctx->obufsize;
675 ret = deflate(zout, Z_FINISH);
683 ctx->ocount = ctx->obufsize - zout->avail_out;