Lines Matching defs:stream
63 z_stream stream;
70 stream.next_in = (typeof(stream.next_in))*in_buf;
71 stream.avail_in = in_len;
72 stream.next_out = (typeof(stream.next_out))*out_buf;
73 stream.avail_out = out_len;
74 stream.zalloc = zcalloc;
75 stream.zfree = zfree;
76 stream.opaque = (voidpf)0;
78 zret = inflateInit(&stream);
84 zret = inflate(&stream, Z_NO_FLUSH);
88 if (stream.msg)
89 ERROR("%s\n", stream.msg);
94 VERBOSE("zlib: %lu byte input\n", stream.total_in);
95 VERBOSE("zlib: %lu byte output\n", stream.total_out);
97 *in_buf = (uintptr_t)stream.next_in;
98 *out_buf = (uintptr_t)stream.next_out;
100 inflateEnd(&stream);