Lines Matching refs:cctx
27 static size_t zstd_cctx_init(zstd_cctx *cctx, const zstd_parameters *parameters, in zstd_cctx_init() argument
31 cctx, ZSTD_reset_session_and_parameters)); in zstd_cctx_init()
33 cctx, pledged_src_size)); in zstd_cctx_init()
35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
37 cctx, ZSTD_c_hashLog, parameters->cParams.hashLog)); in zstd_cctx_init()
39 cctx, ZSTD_c_chainLog, parameters->cParams.chainLog)); in zstd_cctx_init()
41 cctx, ZSTD_c_searchLog, parameters->cParams.searchLog)); in zstd_cctx_init()
43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
45 cctx, ZSTD_c_targetLength, parameters->cParams.targetLength)); in zstd_cctx_init()
47 cctx, ZSTD_c_strategy, parameters->cParams.strategy)); in zstd_cctx_init()
49 cctx, ZSTD_c_contentSizeFlag, parameters->fParams.contentSizeFlag)); in zstd_cctx_init()
51 cctx, ZSTD_c_checksumFlag, parameters->fParams.checksumFlag)); in zstd_cctx_init()
53 cctx, ZSTD_c_dictIDFlag, !parameters->fParams.noDictIDFlag)); in zstd_cctx_init()
96 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity, in zstd_compress_cctx() argument
99 ZSTD_FORWARD_IF_ERR(zstd_cctx_init(cctx, parameters, src_size)); in zstd_compress_cctx()
100 return ZSTD_compress2(cctx, dst, dst_capacity, src, src_size); in zstd_compress_cctx()