Lines Matching refs:zout
439 z_stream zout; /* Output compression context */
498 ctx->zout.zalloc = Z_NULL;
499 ctx->zout.zfree = Z_NULL;
500 ctx->zout.next_in = NULL;
501 ctx->zout.avail_in = 0;
502 ctx->zout.next_out = NULL;
503 ctx->zout.avail_out = 0;
526 deflateEnd(&ctx->zout);
601 z_stream *zout;
605 zout = &ctx->zout;
618 deflateInit(zout, ctx->comp_level);
619 zout->next_out = ctx->obuf;
620 zout->avail_out = ctx->obufsize;
623 zout->next_in = (void *)in;
624 zout->avail_in = inl;
633 int tot = inl - zout->avail_in;
643 if(!zout->avail_in)
650 zout->next_out = ctx->obuf;
651 zout->avail_out = ctx->obufsize;
653 ret = deflate(zout, 0);
661 ctx->ocount = ctx->obufsize - zout->avail_out;
669 z_stream *zout;
673 zout = &ctx->zout;
676 zout->next_in = NULL;
677 zout->avail_in = 0;
698 zout->next_out = ctx->obuf;
699 zout
701 ret = deflate(zout, Z_FINISH);
710 ctx->ocount = ctx->obufsize - zout->avail_out;