Lines Matching refs:producer
28 static ZSTD_outBuffer makeOutBuffer(FUZZ_dataProducer_t *producer, void* buf, size_t bufSize) in makeOutBuffer() argument
32 if (FUZZ_dataProducer_empty(producer)) { in makeOutBuffer()
35 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 0, bufSize)); in makeOutBuffer()
47 FUZZ_dataProducer_t *producer) in makeInBuffer() argument
52 if (FUZZ_dataProducer_empty(producer)) { in makeInBuffer()
55 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 0, *size)); in makeInBuffer()
72 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(src, size); in LLVMFuzzerTestOneInput() local
77 size = FUZZ_dataProducer_reserveDataPrefix(producer); in LLVMFuzzerTestOneInput()
90 stableOutBuffer = FUZZ_dataProducer_uint32Range(producer, 0, 10) == 5; in LLVMFuzzerTestOneInput()
97 out = makeOutBuffer(producer, buf, bufSize); in LLVMFuzzerTestOneInput()
101 ZSTD_inBuffer in = makeInBuffer(&src, &size, producer); in LLVMFuzzerTestOneInput()
105 out = makeOutBuffer(producer, buf, bufSize); in LLVMFuzzerTestOneInput()
116 FUZZ_dataProducer_free(producer); in LLVMFuzzerTestOneInput()