| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | fuzzer.c | 328 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 334 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 339 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 346 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 352 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 357 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 363 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 369 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 378 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 395 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() [all …]
|
| H A D | zstreamtest.c | 326 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 337 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 346 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 354 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 407 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 415 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 502 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 564 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() 617 DISPLAYLEVEL(3, "OK\n"); in basicUnitTests() 677 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests() [all …]
|
| H A D | datagencli.c | 36 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 121 DISPLAYLEVEL(4, "Compressible data Generator \n"); in main() 123 DISPLAYLEVEL(3, "Compressibility : %i%%\n", probaU32); in main() 124 DISPLAYLEVEL(3, "Seed = %u \n", seed); in main() 127 DISPLAYLEVEL(1, "\n"); in main()
|
| H A D | zbufftest.c | 58 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 162 DISPLAYLEVEL(4, "test%3i : decompress skippable frame : ", testNb++); in basicUnitTests() 169 DISPLAYLEVEL(4, "OK \n"); in basicUnitTests() 180 DISPLAYLEVEL(4, "OK \n"); in basicUnitTests() 183 DISPLAYLEVEL(4, "test%3i : check decompressed result : ", testNb++); in basicUnitTests() 188 DISPLAYLEVEL(4, "OK \n"); in basicUnitTests() 191 DISPLAYLEVEL(4, "test%3i : decompress byte-by-byte : ", testNb++); in basicUnitTests() 209 DISPLAYLEVEL(4, "OK \n"); in basicUnitTests() 212 DISPLAYLEVEL(4, "test%3i : check decompressed result : ", testNb++); in basicUnitTests() 217 DISPLAYLEVEL(4, "OK \n"); in basicUnitTests() [all …]
|
| H A D | decodecorpus.c | 406 DISPLAYLEVEL(4, " raw literals\n"); in writeLiteralsBlockSimple() 448 DISPLAYLEVEL(6, " huffman log: %u\n", huffLog); in writeHufHeader() 483 DISPLAYLEVEL(4, " compressed literals\n"); in writeLiteralsBlockCompressed() 573 DISPLAYLEVEL(5, " trying again\n"); in writeLiteralsBlockCompressed() 749 DISPLAYLEVEL(7, " srcPos: %8u seqNb: %3u", in generateSequences() 751 DISPLAYLEVEL(6, "\n"); in generateSequences() 768 DISPLAYLEVEL(6, "\n"); in generateSequences() 1008 DISPLAYLEVEL(4, " compressed block:\n"); in writeCompressedBlock() 1031 DISPLAYLEVEL(4, " block:\n"); in writeBlock() 1183 DISPLAYLEVEL(4, "block seed: %u\n", seed); in generateCompressedBlock() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/programs/ |
| H A D | dibio.c | 55 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 142 DISPLAYLEVEL(2, "\r%79s\r", ""); in DiB_loadFiles() 144 DISPLAYLEVEL(4, "loaded : %u KB \n", (U32)(pos >> 10)) in DiB_loadFiles() 253 DISPLAYLEVEL(4, "Preparing to load : %u KB \n", (U32)(fs.totalSizeToLoad >> 10)); in DiB_fileStats() 291 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); in DiB_trainFromFiles() 292 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); in DiB_trainFromFiles() 296 DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n"); in DiB_trainFromFiles() 297 DISPLAYLEVEL(2, "! Please provide _one file per sample_. \n"); in DiB_trainFromFiles() 303 DISPLAYLEVEL(2, "! Samples should be about 100x larger than target dictionary size \n"); in DiB_trainFromFiles() 311 DISPLAYLEVEL(3, "Shuffling input files\n"); in DiB_trainFromFiles() [all …]
|
| H A D | fileio.c | 295 DISPLAYLEVEL(4,"Using stdin for input\n"); in FIO_openSrcFile() 320 DISPLAYLEVEL(4,"Using stdout for output\n"); in FIO_openDstFile() 386 DISPLAYLEVEL(4,"Loading %s as dictionary \n", fileName); in FIO_createDictBuffer() 425 DISPLAYLEVEL(6, "FIO_createCResources \n"); in FIO_createCResources() 467 DISPLAYLEVEL(5,"set nb workers = %u \n", g_nbWorkers); in FIO_createCResources() 752 DISPLAYLEVEL(6, "compression using zstd format \n"); in FIO_compressZstdFrame() 864 DISPLAYLEVEL(2, "\r%79s\r", ""); in FIO_compressFilename_internal() 965 DISPLAYLEVEL(4, "Completed in %.2f sec \n", seconds); in FIO_compressFilename() 1170 DISPLAYLEVEL(1, "Pass-through write error \n"); in FIO_passThrough() 1386 DISPLAYLEVEL(1, "zstd: %s: %s error %d \n", in FIO_decompressLzmaFrame() [all …]
|
| H A D | zstdcli.c | 92 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro 192 DISPLAYLEVEL(1, "Incorrect parameters\n"); in badusage() 288 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); in parseLegacyParameters() 323 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseCompressionParameters() 337 DISPLAYLEVEL(3, "*** supports: zstd"); in printVersion() 339 DISPLAYLEVEL(3, ", zstd legacy v0.%d+", ZSTD_LEGACY_SUPPORT); in printVersion() 342 DISPLAYLEVEL(3, ", gzip"); in printVersion() 345 DISPLAYLEVEL(3, ", lz4"); in printVersion() 348 DISPLAYLEVEL(3, ", lzma, xz "); in printVersion() 350 DISPLAYLEVEL(3, "\n"); in printVersion() [all …]
|
| H A D | bench.c | 73 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 94 DISPLAYLEVEL(1, "Error %i : ", error); \ 95 DISPLAYLEVEL(1, __VA_ARGS__); \ 96 DISPLAYLEVEL(1, " \n"); \ 130 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); in BMK_setNbWorkers() 284 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem() 289 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem() 486 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem() 530 DISPLAYLEVEL(2, "Note : switching to real-time priority \n"); in BMK_benchCLevel() 560 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 262 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 264 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos() 547 DISPLAYLEVEL(2, "finding patterns ... \n"); in ZDICT_trainBuffer_legacy() 548 DISPLAYLEVEL(3, "minimum ratio : %u \n", minRatio); in ZDICT_trainBuffer_legacy() 716 DISPLAYLEVEL(1, "Not enough memory \n"); in ZDICT_analyzeEntropy() 749 DISPLAYLEVEL(1, " HUF_buildCTable error \n"); in ZDICT_analyzeEntropy() 799 DISPLAYLEVEL(1, "HUF_writeCTable error \n"); in ZDICT_analyzeEntropy() 896 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_finalizeDictionary() 927 DISPLAYLEVEL(2, "statistics ... \n"); in ZDICT_addEntropyTablesFromBuffer_advanced() 989 DISPLAYLEVEL(3, "list %u best segments \n", nb-1); in ZDICT_trainFromBuffer_unsafe_legacy() [all …]
|
| H A D | cover.c | 559 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); in COVER_ctx_init() 574 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); in COVER_ctx_init() 589 DISPLAYLEVEL(2, "Computing frequencies\n"); in COVER_ctx_init() 649 DISPLAYLEVEL(2, "\r%79s\r", ""); in COVER_buildDictionary() 666 DISPLAYLEVEL(1, "Cover parameters incorrect\n"); in ZDICT_trainFromBuffer_cover() 674 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n", in ZDICT_trainFromBuffer_cover() 689 DISPLAYLEVEL(2, "Building dictionary\n"); in ZDICT_trainFromBuffer_cover() 698 DISPLAYLEVEL(2, "Constructed dictionary of size %u\n", in ZDICT_trainFromBuffer_cover() 869 DISPLAYLEVEL(1, "Failed to finalize dictionary\n"); in COVER_tryParameters() 963 DISPLAYLEVEL(1, "dictBufferCapacity must be at least %u\n", in ZDICT_optimizeTrainFromBuffer_cover() [all …]
|
| /freebsd-12.1/sys/contrib/zstd/zlibWrapper/examples/ |
| H A D | zwrapbench.c | 74 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro 96 DISPLAYLEVEL(1, "Error %i : ", error); \ 97 DISPLAYLEVEL(1, __VA_ARGS__); \ 98 DISPLAYLEVEL(1, "\n"); \ 123 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (U32)(blockSize>>10)); in BMK_SetBlockSize() 211 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem() 218 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem() 372 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem() 551 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem() 826 DISPLAYLEVEL(1, "Incorrect parameters\n"); in badusage() [all …]
|