Searched refs:c_stream (Results 1 – 2 of 2) sorted by relevance
173 z_stream c_stream; /* compression stream */ local177 c_stream.zalloc = (alloc_func)0;178 c_stream.zfree = (free_func)0;179 c_stream.opaque = (voidpf)0;181 err = deflateInit(&c_stream, Z_DEFAULT_COMPRESSION);184 c_stream.next_in = (Bytef*)hello;185 c_stream.next_out = compr;187 while (c_stream.total_in != len && c_stream.total_out < comprLen) {188 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */189 err = deflate(&c_stream, Z_NO_FLUSH);[all …]
204 z_stream c_stream; /* compression stream */ local208 c_stream.zalloc = zalloc;209 c_stream.zfree = zfree;210 c_stream.opaque = (voidpf)0;212 err = deflateInit(&c_stream, Z_DEFAULT_COMPRESSION);215 c_stream.next_in = (z_const unsigned char *)hello;216 c_stream.next_out = compr;218 while (c_stream.total_in != len && c_stream.total_out < comprLen) {219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */220 err = deflate(&c_stream, Z_NO_FLUSH);[all …]