Home
last modified time | relevance | path

Searched refs:comp_buf (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
H A Dstreaming_inflate_fuzzer.cc32 uint8_t* comp_buf = (uint8_t*)malloc(comp_buf_cap); in LLVMFuzzerTestOneInput() local
33 ASSERT(comp_buf != nullptr); in LLVMFuzzerTestOneInput()
34 comp_strm.next_out = comp_buf; in LLVMFuzzerTestOneInput()
42 // Inflate comp_buf one chunk at a time. in LLVMFuzzerTestOneInput()
49 decomp_strm.next_in = comp_buf; in LLVMFuzzerTestOneInput()
68 free(comp_buf); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavcodec/
H A Dzmbvenc.c69 uint8_t *comp_buf, *work_buf; member
272 zstream->next_out = c->comp_buf; in encode_frame()
296 memcpy(buf, c->comp_buf, zstream->total_out); in encode_frame()
307 av_freep(&c->comp_buf); in encode_end()
388 if (!(c->comp_buf = av_malloc(c->comp_size))) { in encode_init()
/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dutils_unittest.cc94 uint8_t comp_buf[4096], decomp_buf[4096]; in TEST() local
105 // Deflate src into comp_buf. in TEST()
111 comp_strm.next_out = comp_buf; in TEST()
112 comp_strm.avail_out = sizeof(comp_buf); in TEST()
117 size_t comp_sz = sizeof(comp_buf) - comp_strm.avail_out; in TEST()
119 // Inflate comp_buf one 4096-byte buffer at a time. in TEST()
125 decomp_strm.next_in = comp_buf; in TEST()

Completed in 4 milliseconds