Home
last modified time | relevance | path

Searched refs:d_stream (Results 1 – 17 of 17) sorted by relevance

/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dexample.pas232 d_stream: z_stream; (* decompression stream *)
236 d_stream.zalloc := NIL;
237 d_stream.zfree := NIL;
238 d_stream.opaque := NIL;
240 d_stream.next_in := compr;
241 d_stream.avail_in := 0;
242 d_stream.next_out := uncompr;
244 err := inflateInit(d_stream);
247 while (d_stream.total_out < uncomprLen) and
248 (d_stream.total_in < comprLen) do
[all …]
/external/zstd/zlibWrapper/examples/
Dexample.c268 z_stream d_stream; /* decompression stream */ local
272 d_stream.zalloc = zalloc;
273 d_stream.zfree = zfree;
274 d_stream.opaque = (voidpf)0;
276 d_stream.next_in = compr;
277 d_stream.avail_in = 0;
278 d_stream.next_out = uncompr;
280 err = inflateInit(&d_stream);
283 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
284 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
[all …]
Dexample_original.c260 z_stream d_stream; /* decompression stream */ local
264 d_stream.zalloc = zalloc;
265 d_stream.zfree = zfree;
266 d_stream.opaque = (voidpf)0;
268 d_stream.next_in = compr;
269 d_stream.avail_in = 0;
270 d_stream.next_out = uncompr;
272 err = inflateInit(&d_stream);
275 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
276 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
[all …]
/external/rust/crates/libz-sys/src/zlib/test/
Dexample.c243 z_stream d_stream; /* decompression stream */ local
247 d_stream.zalloc = zalloc;
248 d_stream.zfree = zfree;
249 d_stream.opaque = (voidpf)0;
251 d_stream.next_in = compr;
252 d_stream.avail_in = 0;
253 d_stream.next_out = uncompr;
255 err = inflateInit(&d_stream);
258 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
[all …]
/external/python/cpython2/Modules/zlib/
Dexample.c243 z_stream d_stream; /* decompression stream */ local
247 d_stream.zalloc = zalloc;
248 d_stream.zfree = zfree;
249 d_stream.opaque = (voidpf)0;
251 d_stream.next_in = compr;
252 d_stream.avail_in = 0;
253 d_stream.next_out = uncompr;
255 err = inflateInit(&d_stream);
258 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) {
259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c278 PREFIX3(stream) d_stream; /* decompression stream */ in test_inflate()
282 d_stream.zalloc = zalloc; in test_inflate()
283 d_stream.zfree = zfree; in test_inflate()
284 d_stream.opaque = (void *)0; in test_inflate()
286 d_stream.next_in = compr; in test_inflate()
287 d_stream.avail_in = 0; in test_inflate()
288 d_stream.next_out = uncompr; in test_inflate()
289 d_stream.total_in = 0; in test_inflate()
290 d_stream.total_out = 0; in test_inflate()
292 err = PREFIX(inflateInit)(&d_stream); in test_inflate()
[all …]
Dminideflate.c131 PREFIX3(stream) d_stream; /* decompression stream */ in inflate_params()
150 d_stream.zalloc = NULL; in inflate_params()
151 d_stream.zfree = NULL; in inflate_params()
152 d_stream.opaque = (void *)0; in inflate_params()
153 d_stream.total_in = 0; in inflate_params()
154 d_stream.total_out = 0; in inflate_params()
156 err = PREFIX(inflateInit2)(&d_stream, window_bits); in inflate_params()
166 d_stream.next_in = (z_const uint8_t *)read_buf; in inflate_params()
167 d_stream.next_out = write_buf; in inflate_params()
168 d_stream.avail_in = read; in inflate_params()
[all …]
/external/oss-fuzz/projects/zlib/
Dexample_small_fuzzer.c64 z_stream d_stream; /* decompression stream */ in test_inflate() local
66 d_stream.zalloc = zalloc; in test_inflate()
67 d_stream.zfree = zfree; in test_inflate()
68 d_stream.opaque = (void *)0; in test_inflate()
70 d_stream.next_in = compr; in test_inflate()
71 d_stream.avail_in = 0; in test_inflate()
72 d_stream.next_out = uncompr; in test_inflate()
74 err = inflateInit(&d_stream); in test_inflate()
77 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) { in test_inflate()
78 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ in test_inflate()
[all …]
Dexample_flush_fuzzer.c63 z_stream d_stream; /* decompression stream */ in test_sync() local
65 d_stream.zalloc = zalloc; in test_sync()
66 d_stream.zfree = zfree; in test_sync()
67 d_stream.opaque = (void *)0; in test_sync()
69 d_stream.next_in = compr; in test_sync()
70 d_stream.avail_in = 2; /* just read the zlib header */ in test_sync()
72 err = inflateInit(&d_stream); in test_sync()
75 d_stream.next_out = uncompr; in test_sync()
76 d_stream.avail_out = (unsigned int)uncomprLen; in test_sync()
78 err = inflate(&d_stream, Z_NO_FLUSH); in test_sync()
[all …]
Dexample_dict_fuzzer.c93 z_stream d_stream; /* decompression stream */ in test_dict_inflate() local
96 d_stream.zalloc = zalloc; in test_dict_inflate()
97 d_stream.zfree = zfree; in test_dict_inflate()
98 d_stream.opaque = (void *)0; in test_dict_inflate()
100 d_stream.next_in = compr; in test_dict_inflate()
101 d_stream.avail_in = (unsigned int)comprLen; in test_dict_inflate()
103 err = inflateInit(&d_stream); in test_dict_inflate()
107 d_stream.next_out = uncompr; in test_dict_inflate()
108 d_stream.avail_out = (unsigned int)dataLen; in test_dict_inflate()
111 err = inflate(&d_stream, Z_NO_FLUSH); in test_dict_inflate()
[all …]
Dexample_large_fuzzer.c83 z_stream d_stream; /* decompression stream */ in test_large_inflate() local
85 d_stream.zalloc = zalloc; in test_large_inflate()
86 d_stream.zfree = zfree; in test_large_inflate()
87 d_stream.opaque = (void *)0; in test_large_inflate()
89 d_stream.next_in = compr; in test_large_inflate()
90 d_stream.avail_in = (unsigned int)comprLen; in test_large_inflate()
92 err = inflateInit(&d_stream); in test_large_inflate()
96 d_stream.next_out = uncompr; /* discard the output */ in test_large_inflate()
97 d_stream.avail_out = (unsigned int)uncomprLen; in test_large_inflate()
98 err = inflate(&d_stream, Z_NO_FLUSH); in test_large_inflate()
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dexample_small_fuzzer.c69 PREFIX3(stream) d_stream; /* decompression stream */ in test_inflate()
71 d_stream.zalloc = zalloc; in test_inflate()
72 d_stream.zfree = zfree; in test_inflate()
73 d_stream.opaque = (void *)0; in test_inflate()
75 d_stream.next_in = compr; in test_inflate()
76 d_stream.avail_in = 0; in test_inflate()
77 d_stream.next_out = uncompr; in test_inflate()
79 err = PREFIX(inflateInit)(&d_stream); in test_inflate()
82 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) { in test_inflate()
83 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ in test_inflate()
[all …]
Dexample_flush_fuzzer.c68 PREFIX3(stream) d_stream; /* decompression stream */ in test_sync()
70 d_stream.zalloc = zalloc; in test_sync()
71 d_stream.zfree = zfree; in test_sync()
72 d_stream.opaque = (void *)0; in test_sync()
74 d_stream.next_in = compr; in test_sync()
75 d_stream.avail_in = 2; /* just read the zlib header */ in test_sync()
77 err = PREFIX(inflateInit)(&d_stream); in test_sync()
80 d_stream.next_out = uncompr; in test_sync()
81 d_stream.avail_out = (unsigned int)uncomprLen; in test_sync()
83 err = PREFIX(inflate)(&d_stream, Z_NO_FLUSH); in test_sync()
[all …]
Dexample_dict_fuzzer.c99 PREFIX3(stream) d_stream; /* decompression stream */ in test_dict_inflate()
102 d_stream.zalloc = zalloc; in test_dict_inflate()
103 d_stream.zfree = zfree; in test_dict_inflate()
104 d_stream.opaque = (void *)0; in test_dict_inflate()
106 d_stream.next_in = compr; in test_dict_inflate()
107 d_stream.avail_in = (unsigned int)comprLen; in test_dict_inflate()
109 err = PREFIX(inflateInit)(&d_stream); in test_dict_inflate()
113 d_stream.next_out = uncompr; in test_dict_inflate()
114 d_stream.avail_out = (unsigned int)dataLen; in test_dict_inflate()
117 err = PREFIX(inflate)(&d_stream, Z_NO_FLUSH); in test_dict_inflate()
[all …]
Dexample_large_fuzzer.c87 PREFIX3(stream) d_stream; /* decompression stream */ in test_large_inflate()
89 d_stream.zalloc = zalloc; in test_large_inflate()
90 d_stream.zfree = zfree; in test_large_inflate()
91 d_stream.opaque = (void *)0; in test_large_inflate()
93 d_stream.next_in = compr; in test_large_inflate()
94 d_stream.avail_in = (unsigned int)comprLen; in test_large_inflate()
96 err = PREFIX(inflateInit)(&d_stream); in test_large_inflate()
100 d_stream.next_out = uncompr; /* discard the output */ in test_large_inflate()
101 d_stream.avail_out = (unsigned int)uncomprLen; in test_large_inflate()
102 err = PREFIX(inflate)(&d_stream, Z_NO_FLUSH); in test_large_inflate()
[all …]
/external/llvm-project/llvm/test/Linker/Inputs/
DPR11464.b.ll6 %d_stream = getelementptr inbounds %bug_type, %bug_type* %fp, i64 0, i32 0
/external/llvm/test/Linker/Inputs/
DPR11464.b.ll6 %d_stream = getelementptr inbounds %bug_type, %bug_type* %fp, i64 0, i32 0