Home
last modified time | relevance | path

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

/external/v8/third_party/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc53 uint8_t decomp_buf[1024]; in LLVMFuzzerTestOneInput() local
54 decomp_strm.next_out = decomp_buf; in LLVMFuzzerTestOneInput()
55 decomp_strm.avail_out = sizeof(decomp_buf); in LLVMFuzzerTestOneInput()
60 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in LLVMFuzzerTestOneInput()
62 ASSERT(decomp_buf[i] == data[decomp_strm.total_out - num_out + i]); in LLVMFuzzerTestOneInput()
/external/v8/third_party/zlib/contrib/tests/
Dutils_unittest.cc94 uint8_t comp_buf[4096], decomp_buf[4096]; in TEST() local
129 decomp_strm.next_out = decomp_buf; in TEST()
130 decomp_strm.avail_out = sizeof(decomp_buf); in TEST()
135 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in TEST()
137 EXPECT_EQ(decomp_buf[i], src[decomp_strm.total_out - num_out + i]); in TEST()