Lines Matching refs:zstream
563 z_stream zstream; in processDeflatedEntry() local
572 memset(&zstream, 0, sizeof(zstream)); in processDeflatedEntry()
573 zstream.zalloc = Z_NULL; in processDeflatedEntry()
574 zstream.zfree = Z_NULL; in processDeflatedEntry()
575 zstream.opaque = Z_NULL; in processDeflatedEntry()
576 zstream.next_in = NULL; in processDeflatedEntry()
577 zstream.avail_in = 0; in processDeflatedEntry()
578 zstream.next_out = (Bytef*) procBuf; in processDeflatedEntry()
579 zstream.avail_out = sizeof(procBuf); in processDeflatedEntry()
580 zstream.data_type = Z_UNKNOWN; in processDeflatedEntry()
586 zerr = inflateInit2(&zstream, -MAX_WBITS); in processDeflatedEntry()
602 if (zstream.avail_in == 0) { in processDeflatedEntry()
616 zstream.next_in = readBuf; in processDeflatedEntry()
617 zstream.avail_in = getSize; in processDeflatedEntry()
621 zerr = inflate(&zstream, Z_NO_FLUSH); in processDeflatedEntry()
628 if (zstream.avail_out == 0 || in processDeflatedEntry()
629 (zerr == Z_STREAM_END && zstream.avail_out != sizeof(procBuf))) in processDeflatedEntry()
631 long procSize = zstream.next_out - procBuf; in processDeflatedEntry()
639 zstream.next_out = procBuf; in processDeflatedEntry()
640 zstream.avail_out = sizeof(procBuf); in processDeflatedEntry()
647 result = zstream.total_out; in processDeflatedEntry()
650 inflateEnd(&zstream); /* free up any allocated structures */ in processDeflatedEntry()