Lines Matching refs:zin
420 z_stream zin; /* Input decompress context */
476 ctx->zin.zalloc = Z_NULL;
477 ctx->zin.zfree = Z_NULL;
478 ctx->zin.next_in = NULL;
479 ctx->zin.avail_in = 0;
480 ctx->zin.next_out = NULL;
481 ctx->zin.avail_out = 0;
504 inflateEnd(&ctx->zin);
523 z_stream *zin;
527 zin = &ctx->zin;
535 inflateInit(zin);
536 zin->next_in = ctx->ibuf;
537 zin->avail_in = 0;
541 zin->next_out = (unsigned char *)out;
542 zin->avail_out = (unsigned int)outl;
545 while (zin->avail_in) {
546 ret = inflate(zin, 0);
553 if ((ret == Z_STREAM_END) || !zin->avail_out)
554 return outl - zin->avail_out;
564 int tot = outl - zin->avail_out;
570 zin->avail_in = ret;
571 zin->next_in = ctx->ibuf;