| /freebsd-14.2/sys/contrib/zstd/examples/ |
| H A D | streaming_compression.c | 18 static void compressFile_orDie(const char* fname, const char* outName, int cLevel, in compressFile_orDie() argument 22 fname, cLevel, nbThreads); in compressFile_orDie() 43 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel) ); in compressFile_orDie() 119 int cLevel = 1; in main() local 123 cLevel = atoi (argv[2]); in main() 124 CHECK(cLevel != 0, "can't parse LEVEL!"); in main() 135 compressFile_orDie(inFilename, outFilename, cLevel, nbThreads); in main()
|
| H A D | dictionary_compression.c | 18 static ZSTD_CDict* createCDict_orDie(const char* dictFileName, int cLevel) in createCDict_orDie() argument 23 ZSTD_CDict* const cdict = ZSTD_createCDict(dictBuffer, dictSize, cLevel); in createCDict_orDie() 73 int const cLevel = 3; in main() local 84 ZSTD_CDict* const dictPtr = createCDict_orDie(dictName, cLevel); in main()
|
| H A D | multiple_streaming_compression.c | 31 static resources createResources_orDie(int cLevel) in createResources_orDie() argument 45 CHECK_ZSTD( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in createResources_orDie() 106 int const cLevel = 7; in main() local 107 resources const ress = createResources_orDie(cLevel); in main()
|
| H A D | streaming_compression_thread_pool.c | 23 int cLevel; member 34 …arting compression of %s with level %d, using %d threads\n", args->fname, args->cLevel, nbThreads); in compressFile_orDie() 59 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, args->cLevel) ); in compressFile_orDie() 164 args[i].cLevel = level; in main()
|
| /freebsd-14.2/sys/contrib/zstd/programs/ |
| H A D | benchzstd.h | 97 int cLevel, const ZSTD_compressionParameters* compressionParams, 132 int cLevel, const ZSTD_compressionParameters* compressionParams, 153 int cLevel, double compressibility, 188 int cLevel, const ZSTD_compressionParameters* comprParams, 202 int cLevel, const ZSTD_compressionParameters* comprParams,
|
| H A D | benchzstd.c | 167 int cLevel, in BMK_initCCtx() argument 206 int cLevel; member 311 const int cLevel, in BMK_benchMemAdvancedNoAlloc() argument 416 cctxprep.cLevel = cLevel; in BMK_benchMemAdvancedNoAlloc() 550 OUTPUTLEVEL(2, "%2i#\n", cLevel); in BMK_benchMemAdvancedNoAlloc() 657 cLevel, comprParams, in BMK_benchMem() 686 cLevel, comprParams, in BMK_benchCLevel() 700 if (cLevel > ZSTD_maxCLevel()) { in BMK_syntheticTest() 715 cLevel, compressionParams, in BMK_syntheticTest() 802 if (cLevel > ZSTD_maxCLevel()) { in BMK_benchFilesAdvanced() [all …]
|
| H A D | zstdcli.c | 816 int cLevel = init_cLevel(); in main() local 1290 if (cLevel > ZSTD_maxCLevel()) cLevel = ZSTD_maxCLevel(); in main() 1292 if (cLevelLast < cLevel) cLevelLast = cLevel; in main() 1293 if (cLevelLast > cLevel) in main() 1301 for(c = cLevel; c <= cLevelLast; c++) { in main() 1305 for(; cLevel <= cLevelLast; cLevel++) { in main() 1309 for(; cLevel <= cLevelLast; cLevel++) { in main() 1379 if (cLevel > maxCLevel) { in main() 1381 cLevel = maxCLevel; in main() 1443 if (adaptMin > cLevel) cLevel = adaptMin; in main() [all …]
|
| H A D | fileio.c | 960 int cLevel) in FIO_adjustParamsForPatchFromMode() argument 963 …ZSTD_compressionParameters const cParams = ZSTD_getCParams(cLevel, (size_t)maxSrcFileSize, (size_t… in FIO_adjustParamsForPatchFromMode() 984 int cLevel, ZSTD_compressionParameters comprParams) { in FIO_createCResources() argument 1001 …prefs, &comprParams, UTIL_getFileSize(dictFileName), ssSize > 0 ? ssSize : maxSrcFileSize, cLevel); in FIO_createCResources() 1020 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in FIO_createCResources()
|
| /freebsd-14.2/sys/contrib/zstd/zlibWrapper/examples/ |
| H A D | zwrapbench.c | 568 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem() 617 if (cLevelLast < cLevel) cLevelLast = cLevel; in BMK_benchCLevel() 620 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 628 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 636 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 644 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 656 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 664 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 672 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() 680 for (l=cLevel; l <= cLevelLast; l++) { in BMK_benchCLevel() [all …]
|