Home
last modified time | relevance | path

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

/external/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc43 z_stream decomp_strm; in LLVMFuzzerTestOneInput() local
44 decomp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
45 decomp_strm.zfree = Z_NULL; in LLVMFuzzerTestOneInput()
46 decomp_strm.opaque = Z_NULL; in LLVMFuzzerTestOneInput()
47 ret = inflateInit(&decomp_strm); in LLVMFuzzerTestOneInput()
49 decomp_strm.next_in = comp_buf; in LLVMFuzzerTestOneInput()
50 decomp_strm.avail_in = comp_sz; in LLVMFuzzerTestOneInput()
52 while (decomp_strm.avail_in > 0) { in LLVMFuzzerTestOneInput()
54 decomp_strm.next_out = decomp_buf; in LLVMFuzzerTestOneInput()
55 decomp_strm.avail_out = sizeof(decomp_buf); in LLVMFuzzerTestOneInput()
[all …]
/external/zlib/contrib/tests/
Dutils_unittest.cc95 z_stream comp_strm, decomp_strm; in TEST() local
120 decomp_strm.zalloc = Z_NULL; in TEST()
121 decomp_strm.zfree = Z_NULL; in TEST()
122 decomp_strm.opaque = Z_NULL; in TEST()
123 ret = inflateInit(&decomp_strm); in TEST()
125 decomp_strm.next_in = comp_buf; in TEST()
126 decomp_strm.avail_in = comp_sz; in TEST()
128 while (decomp_strm.avail_in > 0) { in TEST()
129 decomp_strm.next_out = decomp_buf; in TEST()
130 decomp_strm.avail_out = sizeof(decomp_buf); in TEST()
[all …]