Lines Matching defs:zstream
49 z_stream zstream;
64 memset(&zstream, 0, sizeof(zstream));
65 zstream.zalloc = Z_NULL;
66 zstream.zfree = Z_NULL;
67 zstream.opaque = Z_NULL;
68 zstream.next_in = NULL;
69 zstream.avail_in = 0;
70 zstream.next_out = (Bytef*) buf;
71 zstream.avail_out = uncompressedLen;
72 zstream.data_type = Z_UNKNOWN;
78 zerr = inflateInit2(&zstream, -MAX_WBITS);
96 if (zstream.avail_in == 0) {
112 zstream.next_in = readBuf;
113 zstream.avail_in = getSize;
117 zerr = inflate(&zstream, Z_NO_FLUSH);
128 if ((long) zstream.total_out != uncompressedLen) {
130 zstream.total_out, uncompressedLen);
138 inflateEnd(&zstream); /* free up any allocated structures */
162 z_stream zstream;
177 memset(&zstream, 0, sizeof(zstream));
178 zstream.zalloc = Z_NULL;
179 zstream.zfree = Z_NULL;
180 zstream.opaque = Z_NULL;
181 zstream.next_in = NULL;
182 zstream.avail_in = 0;
183 zstream.next_out = (Bytef*) buf;
184 zstream.avail_out = uncompressedLen;
185 zstream.data_type = Z_UNKNOWN;
191 zerr = inflateInit2(&zstream, -MAX_WBITS);
209 if (zstream.avail_in == 0) {
224 zstream.next_in = readBuf;
225 zstream.avail_in = getSize;
229 zerr = inflate(&zstream, Z_NO_FLUSH);
240 if ((long) zstream.total_out != uncompressedLen) {
242 zstream.total_out, uncompressedLen);
250 inflateEnd(&zstream); /* free up any allocated structures */