Searched refs:c_stream (Results 1 – 3 of 3) sorted by relevance
185 var c_stream: z_stream; (* compression stream *)191 c_stream.zalloc := NIL;192 c_stream.zfree := NIL;193 c_stream.opaque := NIL;195 err := deflateInit(c_stream, Z_DEFAULT_COMPRESSION);198 c_stream.next_in := hello;199 c_stream.next_out := compr;201 while (c_stream.total_in <> len) and202 (c_stream.total_out < comprLen) do204 c_stream.avail_out := 1; { force small buffers }[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 …]