Lines Matching defs:stream
170 z_stream stream;
986 zip->stream.zalloc = Z_NULL;
987 zip->stream.zfree = Z_NULL;
988 zip->stream.opaque = Z_NULL;
989 zip->stream.next_out = zip->buf;
990 zip->stream.avail_out = (uInt)zip->len_buf;
991 if (deflateInit2(&zip->stream, zip->deflate_compression_level,
1085 zip->stream.next_in = (unsigned char*)(uintptr_t)buff;
1086 zip->stream.avail_in = (uInt)s;
1088 ret = deflate(&zip->stream, Z_NO_FLUSH);
1091 if (zip->stream.avail_out == 0) {
1117 zip->stream.next_out = zip->buf;
1118 zip->stream.avail_out = (uInt)zip->len_buf;
1120 } while (zip->stream.avail_in != 0);
1150 ret = deflate(&zip->stream, Z_FINISH);
1153 remainder = zip->len_buf - zip->stream.avail_out;
1176 zip->stream.next_out = zip->buf;
1177 if (zip->stream.avail_out != 0)
1179 zip->stream.avail_out = (uInt)zip->len_buf;
1181 deflateEnd(&zip->stream);