Home
last modified time | relevance | path

Searched refs:c_stream (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dexample.c173 z_stream c_stream; /* compression stream */ local
177 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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dexample.c204 z_stream c_stream; /* compression stream */ local
208 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 …]