Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/contrib/zstd/programs/
Dbench.c305 ZSTD_CCtx_setParameter(ctx, ZSTD_p_nbWorkers, g_nbWorkers); in BMK_benchMem()
306 ZSTD_CCtx_setParameter(ctx, ZSTD_p_compressionLevel, cLevel); in BMK_benchMem()
307 ZSTD_CCtx_setParameter(ctx, ZSTD_p_enableLongDistanceMatching, g_ldmFlag); in BMK_benchMem()
308 ZSTD_CCtx_setParameter(ctx, ZSTD_p_ldmMinMatch, g_ldmMinMatch); in BMK_benchMem()
309 ZSTD_CCtx_setParameter(ctx, ZSTD_p_ldmHashLog, g_ldmHashLog); in BMK_benchMem()
311 ZSTD_CCtx_setParameter(ctx, ZSTD_p_ldmBucketSizeLog, g_ldmBucketSizeLog); in BMK_benchMem()
314 ZSTD_CCtx_setParameter(ctx, ZSTD_p_ldmHashEveryLog, g_ldmHashEveryLog); in BMK_benchMem()
316 ZSTD_CCtx_setParameter(ctx, ZSTD_p_windowLog, comprParams->windowLog); in BMK_benchMem()
317 ZSTD_CCtx_setParameter(ctx, ZSTD_p_hashLog, comprParams->hashLog); in BMK_benchMem()
318 ZSTD_CCtx_setParameter(ctx, ZSTD_p_chainLog, comprParams->chainLog); in BMK_benchMem()
[all …]
Dfileio.c442 …CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_contentSizeFlag, 1) ); /* always enable content s… in FIO_createCResources()
443 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_dictIDFlag, g_dictIDFlag) ); in FIO_createCResources()
444 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_checksumFlag, g_checksumFlag) ); in FIO_createCResources()
446 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_compressionLevel, (unsigned)cLevel) ); in FIO_createCResources()
448 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_enableLongDistanceMatching, g_ldmFlag) ); in FIO_createCResources()
449 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_ldmHashLog, g_ldmHashLog) ); in FIO_createCResources()
450 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_ldmMinMatch, g_ldmMinMatch) ); in FIO_createCResources()
452 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_ldmBucketSizeLog, g_ldmBucketSizeLog) ); in FIO_createCResources()
455 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_ldmHashEveryLog, g_ldmHashEveryLog) ); in FIO_createCResources()
458 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_p_windowLog, comprParams->windowLog) ); in FIO_createCResources()
[all …]
/freebsd-12-stable/sys/contrib/zstd/tests/
Dfullbench.c151 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_compressionLevel, 1); in local_ZSTD_compress_generic_end()
167 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_compressionLevel, 1); in local_ZSTD_compress_generic_continue()
184 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_compressionLevel, 1); in local_ZSTD_compress_generic_T2_end()
185 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_nbWorkers, 2); in local_ZSTD_compress_generic_T2_end()
201 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_compressionLevel, 1); in local_ZSTD_compress_generic_T2_continue()
202 ZSTD_CCtx_setParameter(g_cstream, ZSTD_p_nbWorkers, 2); in local_ZSTD_compress_generic_T2_continue()
Dfuzzer.c228 … CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, (U32)compressionLevel) ); in FUZ_mallocTests()
229 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_nbWorkers, nbThreads) ); in FUZ_mallocTests()
248 … CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, (U32)compressionLevel) ); in FUZ_mallocTests()
249 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_nbWorkers, nbThreads) ); in FUZ_mallocTests()
1033 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, 2) ); in basicUnitTests()
1034 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_enableLongDistanceMatching, 1) ); in basicUnitTests()
1035 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_windowLog, 18) ); in basicUnitTests()
1050 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_windowLog, 18) ); in basicUnitTests()
1051 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_enableLongDistanceMatching, 1) ); in basicUnitTests()
1052 CHECK( ZSTD_CCtx_setParameter(cctx, ZSTD_p_compressionLevel, 2) ); in basicUnitTests()
[all …]
Dzstreamtest.c778 CHECK_Z( ZSTD_CCtx_setParameter(zc, ZSTD_p_compressionLevel, 3) ); in basicUnitTests()
779 CHECK_Z( ZSTD_CCtx_setParameter(zc, ZSTD_p_nbWorkers, nbWorkers) ); in basicUnitTests()
780 CHECK_Z( ZSTD_CCtx_setParameter(zc, ZSTD_p_jobSize, jobSize) ); in basicUnitTests()
1499 return ZSTD_CCtx_setParameter(zc, param, value); in setCCtxParameter()
1716 … size_t const setError = ZSTD_CCtx_setParameter(zc, ZSTD_p_windowLog, cParams.windowLog-1); in fuzzerTests_newAPI()
/freebsd-12-stable/sys/contrib/zstd/tests/fuzz/
Dzstd_helpers.c18 FUZZ_ZASSERT(ZSTD_CCtx_setParameter(cctx, param, value)); in set()
/freebsd-12-stable/sys/kern/
Dsubr_compressor.c294 rc = ZSTD_CCtx_setParameter(dump_compressor, ZSTD_p_checksumFlag, 1); in zstdio_init()
300 rc = ZSTD_CCtx_setParameter(dump_compressor, ZSTD_p_compressionLevel, in zstdio_init()
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_write_add_filter_zstd.c271 ZSTD_CCtx_setParameter(data->cstream, ZSTD_c_nbWorkers, data->threads); in archive_compressor_zstd_open()
/freebsd-12-stable/sys/contrib/zstd/lib/
Dzstd.h1069 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, unsigned value);
/freebsd-12-stable/sys/contrib/zstd/
DNEWS75 API exp : new advanced API : ZSTD_compress_generic(), ZSTD_CCtx_setParameter()
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
Dzstd_compress.c276 size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, unsigned value) in ZSTD_CCtx_setParameter() function