Home
last modified time | relevance | path

Searched refs:ZSTD_CCtx_setParameter (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/contrib/zstd/lib/deprecated/
H A Dzbuff_compress.c81 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_windowLog, params.cParams.windowLog), ""); in ZBUFF_compressInit_advanced()
82 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_hashLog, params.cParams.hashLog), ""); in ZBUFF_compressInit_advanced()
83 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_chainLog, params.cParams.chainLog), ""); in ZBUFF_compressInit_advanced()
84 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_searchLog, params.cParams.searchLog), ""); in ZBUFF_compressInit_advanced()
85 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_minMatch, params.cParams.minMatch), ""); in ZBUFF_compressInit_advanced()
86 …FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_targetLength, params.cParams.targetLength), ""… in ZBUFF_compressInit_advanced()
87 FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_strategy, params.cParams.strategy), ""); in ZBUFF_compressInit_advanced()
89 …FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_contentSizeFlag, params.fParams.contentSizeFla… in ZBUFF_compressInit_advanced()
90 …FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_checksumFlag, params.fParams.checksumFlag), ""… in ZBUFF_compressInit_advanced()
91 … FORWARD_IF_ERROR(ZSTD_CCtx_setParameter(zbc, ZSTD_c_dictIDFlag, params.fParams.noDictIDFlag), ""); in ZBUFF_compressInit_advanced()
[all …]
/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.c173 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_nbWorkers, 0)); in BMK_initCCtx()
175 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_nbWorkers, adv->nbWorkers)); in BMK_initCCtx()
177 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_compressionLevel, cLevel)); in BMK_initCCtx()
178 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_useRowMatchFinder, adv->useRowMatchFinder)); in BMK_initCCtx()
179 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_enableLongDistanceMatching, adv->ldmFlag)); in BMK_initCCtx()
180 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmMinMatch, adv->ldmMinMatch)); in BMK_initCCtx()
181 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashLog, adv->ldmHashLog)); in BMK_initCCtx()
182 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmBucketSizeLog, adv->ldmBucketSizeLog)); in BMK_initCCtx()
183 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashRateLog, adv->ldmHashRateLog)); in BMK_initCCtx()
184 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_windowLog, (int)comprParams->windowLog)); in BMK_initCCtx()
[all …]
H A Dfileio.c1016 …CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_contentSizeFlag, prefs->contentSize) ); /* always… in FIO_createCResources()
1017 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_dictIDFlag, prefs->dictIDFlag) ); in FIO_createCResources()
1018 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_checksumFlag, prefs->checksumFlag) ); in FIO_createCResources()
1020 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in FIO_createCResources()
1022 … CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_targetCBlockSize, (int)prefs->targetCBlockSize) ); in FIO_createCResources()
1024 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_srcSizeHint, (int)prefs->srcSizeHint) ); in FIO_createCResources()
1026 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_enableLongDistanceMatching, prefs->ldmFlag) ); in FIO_createCResources()
1027 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_ldmHashLog, prefs->ldmHashLog) ); in FIO_createCResources()
1028 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_ldmMinMatch, prefs->ldmMinMatch) ); in FIO_createCResources()
1030 … CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_ldmBucketSizeLog, prefs->ldmBucketSizeLog) ); in FIO_createCResources()
[all …]
/freebsd/sys/contrib/zstd/examples/
H A Dstreaming_compression.c43 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel) ); in compressFile_orDie()
44 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 1) ); in compressFile_orDie()
45 ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads); in compressFile_orDie()
H A Dstreaming_compression_thread_pool.c59 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, args->cLevel) ); in compressFile_orDie()
60 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 1) ); in compressFile_orDie()
61 ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads); in compressFile_orDie()
H A Dmultiple_streaming_compression.c45 CHECK_ZSTD( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in createResources_orDie()
46 CHECK_ZSTD( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_checksumFlag, 1) ); in createResources_orDie()
/freebsd/usr.bin/mkuzip/
H A Dmkuz_zstd.c64 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, in mkuz_zstd_init()
70 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 1); in mkuz_zstd_init()
/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c536 ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, zstd_level); in zfs_zstd_compress_impl()
539 ZSTD_CCtx_setParameter(cctx, ZSTD_c_format, ZSTD_f_zstd1_magicless); in zfs_zstd_compress_impl()
545 ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 0); in zfs_zstd_compress_impl()
546 ZSTD_CCtx_setParameter(cctx, ZSTD_c_contentSizeFlag, 0); in zfs_zstd_compress_impl()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp175 if (ZSTD_isError(ZSTD_CCtx_setParameter( in compress()
182 ZSTD_CCtx_setParameter(Cctx, ZSTD_c_compressionLevel, Level))) { in compress()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_zstd.c392 ZSTD_CCtx_setParameter(data->cstream, ZSTD_c_nbWorkers, data->threads); in archive_compressor_zstd_open()
395 ZSTD_CCtx_setParameter(data->cstream, ZSTD_c_windowLog, data->long_distance); in archive_compressor_zstd_open()
/freebsd/sys/kern/
H A Dsubr_compressor.c299 rc = ZSTD_CCtx_setParameter(dump_compressor, ZSTD_c_checksumFlag, 1); in zstdio_init()
305 rc = ZSTD_CCtx_setParameter(dump_compressor, ZSTD_c_compressionLevel, in zstdio_init()
/freebsd/sys/contrib/openzfs/module/zstd/include/
H A Dzstd_compat_wrapper.h178 #define ZSTD_CCtx_setParameter zfs_ZSTD_CCtx_setParameter macro
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h446 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h471 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp402 ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, level); in maybeCompress()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c483 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter() function
3762 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
3777 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
3787 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()
/freebsd/sys/contrib/zstd/
H A DCHANGELOG146 api : Fix ZSTD_CCtx_setParameter() with ZSTD_c_compressionLevel to make 0 mean default level, by @i…
430 API exp : new advanced API : ZSTD_compress_generic(), ZSTD_CCtx_setParameter()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c644 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) in ZSTD_CCtx_setParameter() function
5286 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_usingDict()
5301 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream_srcSize()
5311 FORWARD_IF_ERROR( ZSTD_CCtx_setParameter(zcs, ZSTD_c_compressionLevel, compressionLevel) , ""); in ZSTD_initCStream()