Home
last modified time | relevance | path

Searched refs:cLevel (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/zstd/programs/
H A Dzstdcli.c708 static void printDefaultCParams(const char* filename, const char* dictFileName, int cLevel) { in printDefaultCParams() argument
711 const ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, fileSize, dictSize); in printDefaultCParams()
724 static void printActualCParams(const char* filename, const char* dictFileName, int cLevel, const ZS… in printActualCParams() argument
727 ZSTD_compressionParameters actualCParams = ZSTD_getCParams(cLevel, fileSize, dictSize); in printActualCParams()
881 int cLevel = init_cLevel(); in main() local
927 dictCLevel = cLevel = 6; /* gzip default is -6 */ in main()
1004 if (!strcmp(argument, "--best")) { dictCLevel = cLevel = 9; continue; } in main()
1142 dictCLevel = cLevel = -(int)fastLevel; in main()
1152 cLevel = -1; /* default for --fast */ in main()
1175 dictCLevel = cLevel = (int)readU32FromChar(&argument); in main()
[all …]
H A Dbenchzstd.c249 int cLevel, in BMK_initCCtx() argument
259 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_compressionLevel, cLevel)); in BMK_initCCtx()
304 int cLevel; member
316 ag->cLevel, in local_initCCtx()
428 const int cLevel, in BMK_benchMemAdvancedNoAlloc() argument
582 cctxprep.cLevel = cLevel; in BMK_benchMemAdvancedNoAlloc()
753 cLevel, in BMK_benchMemAdvancedNoAlloc()
762 cLevel, in BMK_benchMemAdvancedNoAlloc()
771 OUTPUTLEVEL(2, "%2i#\n", cLevel); in BMK_benchMemAdvancedNoAlloc()
786 int cLevel, in BMK_benchMemAdvanced() argument
[all …]
H A Dbenchzstd.h84 int cLevel, const ZSTD_compressionParameters* compressionParams,
170 int cLevel, const ZSTD_compressionParameters* comprParams,
184 int cLevel, const ZSTD_compressionParameters* comprParams,
H A Dfileio.c1089 int cLevel) in FIO_adjustParamsForPatchFromMode() argument
1092 …ZSTD_compressionParameters const cParams = ZSTD_getCParams(cLevel, (size_t)maxSrcFileSize, (size_t… in FIO_adjustParamsForPatchFromMode()
1114 int cLevel, ZSTD_compressionParameters comprParams) { in FIO_createCResources() argument
1135 …aramsForPatchFromMode(prefs, &comprParams, dictSize, ssSize > 0 ? ssSize : maxSrcFileSize, cLevel); in FIO_createCResources()
1156 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in FIO_createCResources()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c288 static ZSTD_ParamSwitch_e ZSTD_resolveExternalRepcodeSearch(ZSTD_ParamSwitch_e value, int cLevel) { in ZSTD_resolveExternalRepcodeSearch() argument
290 if (cLevel < 10) { in ZSTD_resolveExternalRepcodeSearch()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c289 static ZSTD_ParamSwitch_e ZSTD_resolveExternalRepcodeSearch(ZSTD_ParamSwitch_e value, int cLevel) { in ZSTD_resolveExternalRepcodeSearch() argument
291 if (cLevel < 10) { in ZSTD_resolveExternalRepcodeSearch()