Lines Matching refs:cctx
26 ZSTD_CCtx *cctx = NULL; variable
65 ZSTD_CCtx_reset(cctx, ZSTD_reset_session_only); in compress()
66 FUZZ_setRandomParameters(cctx, srcSize, producer); in compress()
69 FUZZ_ZASSERT(ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 0)); in compress()
72 cctx, dict, dictSize, in compress()
76 cctx, dict, dictSize, in compress()
93 ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_flush); in compress()
101 ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress()
105 ZSTD_CCtx_reset(cctx, ZSTD_reset_session_only); in compress()
108 FUZZ_setRandomParameters(cctx, remaining, producer); in compress()
117 … size_t const ret = ZSTD_compressStream2(cctx, &nullOut, &nullIn, ZSTD_e_continue); in compress()
123 ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_continue); in compress()
136 size_t const ret = ZSTD_compressStream2(cctx, &out, &in, ZSTD_e_end); in compress()
167 if (!cctx) { in LLVMFuzzerTestOneInput()
168 cctx = ZSTD_createCCtx(); in LLVMFuzzerTestOneInput()
169 FUZZ_ASSERT(cctx); in LLVMFuzzerTestOneInput()
202 ZSTD_freeCCtx(cctx); cctx = NULL; in LLVMFuzzerTestOneInput()