Lines Matching defs:strm
614 z_stream strm;
620 strm.zalloc = Z_NULL;
621 strm.zfree = Z_NULL;
622 strm.opaque = Z_NULL;
623 if (deflateInit2(&strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, -15, 8,
634 deflateEnd(&strm);
638 deflateSetDictionary(&strm, buf, (uint)dict);
647 deflateEnd(&strm);
650 deflatePrime(&strm, (8 - log->back) & 7, *buf);
653 strm.next_in = data;
656 strm.avail_in = len > max ? max : (uint)len;
657 len -= strm.avail_in;
659 strm.avail_out = DICT;
660 strm.next_out = buf;
661 deflate(&strm, len ? Z_NO_FLUSH : Z_PARTIAL_FLUSH);
662 got = DICT - strm.avail_out;
664 deflateEnd(&strm);
668 } while (strm.avail_out == 0);
670 deflateEnd(&strm);