Home | History | Annotate | Download | only in minzip

Lines Matching refs:zstream

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