Home
last modified time | relevance | path

Searched refs:DISPLAYLEVEL (Results 1 – 21 of 21) sorted by relevance

/external/zstd/tests/
Dfuzzer.c62 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
129 #define CHECK_VAR(var, fn) var = fn; if (ZSTD_isError(var)) { DISPLAYLEVEL(1, "%s : fails : %s \n"…
166 DISPLAYLEVEL(4, "allocating %u KB => effectively %u KB \n", in FUZ_mallocDebug()
179 DISPLAYLEVEL(4, "freeing %u KB \n", (unsigned)(malloc_size(address) >> 10)); in FUZ_freeDebug()
187 DISPLAYLEVEL(3, "peak:%6u KB, nbMallocs:%2u, total:%6u KB \n", in FUZ_displayMallocStats()
215 DISPLAYLEVEL(3, "compressCCtx level %i : ", compressionLevel); in FUZ_mallocTests_internal()
232 DISPLAYLEVEL(3, "compressStream level %i : ", compressionLevel); in FUZ_mallocTests_internal()
249 DISPLAYLEVEL(3, "compress_generic,-T%i,end level %i : ", in FUZ_mallocTests_internal()
270 DISPLAYLEVEL(3, "compress_generic,-T%i,continue level %i : ", in FUZ_mallocTests_internal()
376 DISPLAYLEVEL(3, "thread pool test : threadPool re-use roundtrips: "); in threadPoolTests()
[all …]
Dzstreamtest.c62 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { \ macro
295 DISPLAYLEVEL(3, "creating dictionary for unit tests \n"); in basicUnitTests()
304 DISPLAYLEVEL(3, "test%3i : compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
316 DISPLAYLEVEL(3, "OK (%u bytes)\n", (unsigned)outBuff.pos); in basicUnitTests()
324DISPLAYLEVEL(3, "test%3i : skipframe + compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
340 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", in basicUnitTests()
344 DISPLAYLEVEL(3, "test%3i : estimate CStream size : ", testNb++); in basicUnitTests()
350 DISPLAYLEVEL(3, "OK (%u bytes) \n", (unsigned)(cstreamSize + cdictSize)); in basicUnitTests()
354 DISPLAYLEVEL(3, "test%3i : estimate CStream size using CCtxParams : ", testNb++); in basicUnitTests()
364 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
[all …]
Ddatagencli.c36 #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", (unsigned)seed); in main()
127 DISPLAYLEVEL(1, "\n"); in main()
Ddecodecorpus.c48 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
354 DISPLAYLEVEL(3, " frame content size:\t%u\n", (unsigned)fh.contentSize); in writeFrameHeader()
355 DISPLAYLEVEL(3, " frame window size:\t%u\n", fh.windowSize); in writeFrameHeader()
356 DISPLAYLEVEL(3, " content size flag:\t%d\n", contentSizeFlag); in writeFrameHeader()
357 DISPLAYLEVEL(3, " single segment flag:\t%d\n", singleSegment); in writeFrameHeader()
407 DISPLAYLEVEL(4, " raw literals\n"); in writeLiteralsBlockSimple()
416 DISPLAYLEVEL(4, " rle literals: 0x%02x\n", (unsigned)symb); in writeLiteralsBlockSimple()
450 DISPLAYLEVEL(6, " huffman log: %u\n", huffLog); in writeHufHeader()
485 DISPLAYLEVEL(4, " compressed literals\n"); in writeLiteralsBlockCompressed()
520 DISPLAYLEVEL(5, " distribution weight: %d%%\n", in writeLiteralsBlockCompressed()
[all …]
Dparamgrill.c56 #define DISPLAYLEVEL(n, ...) if(g_displayLevel >= n) { fprintf(stderr, __VA_ARGS__); } macro
1281 DISPLAYLEVEL(2, "Loading %s... \r", fileNamesTable[n]); in createBuffers()
1536 DISPLAYLEVEL(3, "\r testing :"); in display_params_tested()
1538 DISPLAYLEVEL(3, "%3u,", (unsigned)cParams.vals[vi]); in display_params_tested()
1540 DISPLAYLEVEL(3, "\b \r"); in display_params_tested()
1876DISPLAYLEVEL(3, "Decompression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for … in BMK_seed()
1884DISPLAYLEVEL(3, "Compression Memory : %5.3f @ %4.1f MB vs %5.3f @ %4.1f MB : not enough for le… in BMK_seed()
1893DISPLAYLEVEL(3, "Compression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough for… in BMK_seed()
1902DISPLAYLEVEL(3, "Decompression Speed : %5.3f @ %4.1f MB/s vs %5.3f @ %4.1f MB/s : not enough f… in BMK_seed()
1910DISPLAYLEVEL(3, "Solution %4.3f selected over %4.3f at level %i, due to better secondary statistic… in BMK_seed()
[all …]
/external/lz4/tests/
Dframetest.c84 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
196 DISPLAYLEVEL(3, "LZ4F_compressBound(0) = "); in basicTests()
199 DISPLAYLEVEL(3, " %u \n", (U32)cBound); in basicTests()
203 DISPLAYLEVEL(3, "LZ4F_compressBound(1 KB, autoFlush=1) = "); in basicTests()
210 DISPLAYLEVEL(3, " %u \n", (U32)cBound); in basicTests()
214 DISPLAYLEVEL(3, "LZ4F_compressBound(1 KB, autoFlush=0) = "); in basicTests()
217 DISPLAYLEVEL(3, " %u \n", (U32)cBound); in basicTests()
222 DISPLAYLEVEL(3, "LZ4F_compressFrame, compress null content : "); in basicTests()
224 DISPLAYLEVEL(3, "null content encoded into a %u bytes frame \n", (unsigned)cSize); in basicTests()
226 DISPLAYLEVEL(3, "LZ4F_createDecompressionContext \n"); in basicTests()
[all …]
Ddatagencli.c52 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
164 DISPLAYLEVEL(4, "Data Generator %s \n", LZ4_VERSION_STRING); in main()
165 DISPLAYLEVEL(3, "Seed = %u \n", seed); in main()
166 … if (proba!=COMPRESSIBILITY_DEFAULT) DISPLAYLEVEL(3, "Compressibility : %i%%\n", (U32)(proba*100)); in main()
169 DISPLAYLEVEL(1, "\n"); in main()
Dfuzzer.c95 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
272 DISPLAYLEVEL(2, "generating low buffer at address %p \n", lowBuff); in FUZ_createLowAddr()
407DISPLAYLEVEL(5, "destSize : %7i/%7i; content%7i/%7i ", cSize, targetSize, srcSize, blockSize); in FUZ_test()
423 DISPLAYLEVEL(5, " OK \n"); in FUZ_test()
435 DISPLAYLEVEL(5, "LZ4_compress_HC_destSize(%i): destSize : %7i/%7i; content%7i/%7i ", in FUZ_test()
456 DISPLAYLEVEL(5, " OK \n"); in FUZ_test()
725DISPLAYLEVEL(5, " compress %i bytes from buffer(%p) into dst(%p) using dict(%p) of size %i \n", in FUZ_test()
734 DISPLAYLEVEL(5, " decoding %i bytes from buffer(%p) using dict(%p) of size %i \n", in FUZ_test()
961DISPLAYLEVEL(5, " LZ4_compress_HC_continue_destSize : compressed %6i/%6i into %6i/%6i at cLevel=%i… in FUZ_test()
1037 DISPLAYLEVEL(3, "LZ4_decompress_safe() with empty input \n"); in FUZ_unitTests()
[all …]
DcheckFrame.c57 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
69 DISPLAYLEVEL(1, "Error %i : ", error); \
70 DISPLAYLEVEL(1, __VA_ARGS__); \
71 DISPLAYLEVEL(1, " \n"); \
/external/zstd/programs/
Ddibio.c59 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
170 DISPLAYLEVEL(2, "\r%79s\r", ""); in DiB_loadFiles()
171 DISPLAYLEVEL(4, "Loaded %d KB total training data, %d nb samples \n", in DiB_loadFiles()
280 DISPLAYLEVEL(3, "Sample file '%s' has zero size, skipping...\n", fileNamesTable[n]); in DiB_fileStats()
298 DISPLAYLEVEL(3, "Sample file '%s' is too large, limiting to %d KB", in DiB_fileStats()
305DISPLAYLEVEL(4, "Found training data %d files, %d KB, %d samples\n", nbFiles, (int)(fs.totalSizeTo… in DiB_fileStats()
329 DISPLAYLEVEL(3, "Shuffling input files\n"); in DiB_trainFromFiles()
345DISPLAYLEVEL(2, "! Warning : setting manual memory limit for dictionary training data at %u MB \n… in DiB_trainFromFiles()
357 DISPLAYLEVEL(2, "! Warning : some sample(s) are very large \n"); in DiB_trainFromFiles()
358 DISPLAYLEVEL(2, "! Note that dictionary is only useful for small samples. \n"); in DiB_trainFromFiles()
[all …]
Dfileio.c103 #define DISPLAYLEVEL(l, ...) { if (g_display_prefs.displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
124 DISPLAYLEVEL(1, "zstd: "); \
125 DISPLAYLEVEL(5, "Error defined at %s, line %i : \n", __FILE__, __LINE__); \
126 DISPLAYLEVEL(1, "error %i : ", error); \
127 DISPLAYLEVEL(1, __VA_ARGS__); \
128 DISPLAYLEVEL(1, " \n"); \
135 DISPLAYLEVEL(5, "%s \n", #f); \
458 if (nbWorkers > 0) DISPLAYLEVEL(2, "Note : multi-threading is disabled \n"); in FIO_setNbWorkers()
469 DISPLAYLEVEL(2, "Setting block size is useless in single-thread mode \n"); in FIO_setBlockSize()
475 DISPLAYLEVEL(2, "Setting overlapLog is useless in single-thread mode \n"); in FIO_setOverlapLog()
[all …]
Dzstdcli.c105 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
118 DISPLAYLEVEL(1, "Error : incorrect library version (expecting : %s ; actual : %s ) \n", in checkLibVersion()
120 DISPLAYLEVEL(1, "Please update library to version %s, or use stand-alone zstd binary \n", in checkLibVersion()
279 DISPLAYLEVEL(1, "Incorrect parameters \n"); in badusage()
471DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nsteps=%u\nsplit=%u\nshrink%u\n", params->k, params->d, params-… in parseCoverParameters()
511DISPLAYLEVEL(4, "cover: k=%u\nd=%u\nf=%u\nsteps=%u\nsplit=%u\naccel=%u\nshrink=%u\n", params->k, p… in parseFastCoverParameters()
526 DISPLAYLEVEL(4, "legacy: selectivity=%u\n", *selectivity); in parseLegacyParameters()
570 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseAdaptParameters()
575 DISPLAYLEVEL(4, "incoherent adaptation limits \n"); in parseAdaptParameters()
602 DISPLAYLEVEL(4, "invalid compression parameter \n"); in parseCompressionParameters()
[all …]
Dbenchzstd.c71 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
87 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
88 DISPLAYLEVEL(1, __VA_ARGS__); \
89 DISPLAYLEVEL(1, " \n"); \
109 DISPLAYLEVEL(1, "Error %i : ", errorNum); \
110 DISPLAYLEVEL(1, __VA_ARGS__); \
111 DISPLAYLEVEL(1, " \n"); \
669 DISPLAYLEVEL(2, "Note : switching to real-time priority \n"); in BMK_benchCLevel()
753 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles()
758 DISPLAYLEVEL(2, "Cannot evaluate size of %s, ignoring ... \n", fileNamesTable[n]); in BMK_loadFiles()
[all …]
/external/lz4/programs/
Dlz4cli.c72 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
84 DISPLAYLEVEL(1, "Error %i : ", error); \
85 DISPLAYLEVEL(1, __VA_ARGS__); \
86 DISPLAYLEVEL(1, "\n"); \
230 DISPLAYLEVEL(1, "Incorrect parameters\n"); in badusage()
527DISPLAYLEVEL(2, "using blocks of size %u KB \n", (U32)(blockSize>>10));
533DISPLAYLEVEL(2, "using blocks of size %u KB \n", (U32)(blockSize>>10));
535DISPLAYLEVEL(2, "using blocks of size %u bytes \n", (U32)(blockSize));
597DISPLAYLEVEL(1, "Warning : %s won't be used ! Do you want multiple input files (-m) ? \n", argumen…
600 DISPLAYLEVEL(3, WELCOME_MESSAGE);
[all …]
Dlz4io.c94 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
140 DISPLAYLEVEL(1, "Error %i : ", error); \
141 DISPLAYLEVEL(1, __VA_ARGS__); \
142 DISPLAYLEVEL(1, " \n"); \
317 DISPLAYLEVEL(4,"Using stdin for input\n"); in LZ4IO_openSrcFile()
322 if ( f==NULL ) DISPLAYLEVEL(1, "%s: %s \n", srcFileName, strerror(errno)); in LZ4IO_openSrcFile()
338 DISPLAYLEVEL(4, "Using stdout for output \n"); in LZ4IO_openDstFile()
342 DISPLAYLEVEL(4, "Sparse File Support automatically disabled on stdout ;" in LZ4IO_openDstFile()
363 if (f==NULL) DISPLAYLEVEL(1, "%s: %s\n", dstFileName, strerror(errno)); in LZ4IO_openDstFile()
464 DISPLAYLEVEL(2, "\r%79s\r", ""); /* blank line */ in LZ4IO_compressFilename_Legacy()
[all …]
Dbench.c252 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
273 DISPLAYLEVEL(1, "Error %i : ", error); \
274 DISPLAYLEVEL(1, __VA_ARGS__); \
275 DISPLAYLEVEL(1, "\n"); \
295 DISPLAYLEVEL(3, "- test >= %u seconds per compression / decompression -\n", g_nbSeconds); in BMK_setNbSeconds()
384 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem()
388 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem()
394 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (U32)srcSize); in BMK_benchMem()
433 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem()
476 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s ,%6.1f MB/s\r", in BMK_benchMem()
[all …]
/external/zstd/lib/dictBuilder/
Dzdict.c78 #undef DISPLAYLEVEL
79 #define DISPLAYLEVEL(l, ...) if (notificationLevel>=l) { DISPLAY(__VA_ARGS__); } /* 0 : no displ… macro
309 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos()
310DISPLAYLEVEL(4, "found %3u matches of length >= %i at pos %7u ", (unsigned)(end-start), MINMATCHL… in ZDICT_analyzePos()
311 DISPLAYLEVEL(4, "\n"); in ZDICT_analyzePos()
391 DISPLAYLEVEL(4, "Selected dict at position %u, of length %u : saves %u (ratio: %.2f) \n", in ZDICT_analyzePos()
565 DISPLAYLEVEL(2, "\r%70s\r", ""); /* clean display line */ in ZDICT_trainBuffer_legacy()
574 …if (bufferSize > ZDICT_MAX_SAMPLES_SIZE) DISPLAYLEVEL(3, "sample set too large : reduced to %u MB … in ZDICT_trainBuffer_legacy()
578DISPLAYLEVEL(2, "sorting %u files of total size %u MB ...\n", nbFiles, (unsigned)(bufferSize>>20)); in ZDICT_trainBuffer_legacy()
595 DISPLAYLEVEL(2, "finding patterns ... \n"); in ZDICT_trainBuffer_legacy()
[all …]
Dfastcover.c67 #undef DISPLAYLEVEL
68 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro
330 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", in FASTCOVER_ctx_init()
337 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples); in FASTCOVER_ctx_init()
343 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.\n", nbTestSamples); in FASTCOVER_ctx_init()
349 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in FASTCOVER_ctx_init()
351 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, in FASTCOVER_ctx_init()
367 DISPLAYLEVEL(1, "Failed to allocate scratch buffers \n"); in FASTCOVER_ctx_init()
384 DISPLAYLEVEL(1, "Failed to allocate frequency table \n"); in FASTCOVER_ctx_init()
389 DISPLAYLEVEL(2, "Computing frequencies\n"); in FASTCOVER_ctx_init()
[all …]
Dcover.c70 #undef DISPLAYLEVEL
71 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__) macro
562 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", in COVER_ctx_init()
568 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples); in COVER_ctx_init()
573 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.", nbTestSamples); in COVER_ctx_init()
578 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in COVER_ctx_init()
580 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, in COVER_ctx_init()
595 DISPLAYLEVEL(1, "Failed to allocate scratch buffers\n"); in COVER_ctx_init()
610 DISPLAYLEVEL(2, "Constructing partial suffix array\n"); in COVER_ctx_init()
632 DISPLAYLEVEL(2, "Computing frequencies\n"); in COVER_ctx_init()
[all …]
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } macro
98 DISPLAYLEVEL(1, "Error %i : ", error); \
99 DISPLAYLEVEL(1, __VA_ARGS__); \
100 DISPLAYLEVEL(1, "\n"); \
119 DISPLAYLEVEL(3, "- test >= %u seconds per compression / decompression -\n", g_nbIterations); in BMK_SetNbIterations()
125 DISPLAYLEVEL(2, "using blocks of size %u KB \n", (unsigned)(blockSize>>10)); in BMK_SetBlockSize()
213 DISPLAYLEVEL(2, "\r%79s\r", ""); in BMK_benchMem()
220 DISPLAYLEVEL(2, "\rcooling down ... \r"); in BMK_benchMem()
226DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->\r", marks[markNb], displayName, (unsigned)srcSize); in BMK_benchMem()
389 DISPLAYLEVEL(2, "%2s-%-17.17s :%10u ->%10u (%5.3f),%6.1f MB/s\r", in BMK_benchMem()
[all …]
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c62 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } } macro
135 DISPLAYLEVEL(3, "loading dictionary %s \n", dictionaryName); in createDictionaryBuffer()
140 DISPLAYLEVEL(3, "creating dictionary, of target size %u bytes \n", in createDictionaryBuffer()
742 DISPLAYLEVEL(3, "loading %u files... \n", nbFiles); in bench()
747 DISPLAYLEVEL(3, "created src buffer of size %.1f MB \n", in bench()
752 DISPLAYLEVEL(3, "split input into %u blocks ", nbBlocks); in bench()
754 DISPLAYLEVEL(3, "of max size %u bytes ", (unsigned)blockSize); in bench()
755 DISPLAYLEVEL(3, "\n"); in bench()
800 DISPLAYLEVEL(3, "compressing at level %u without dictionary : Ratio=%.2f (%u bytes) \n", in bench()
809 DISPLAYLEVEL(3, "compressed using a %u bytes dictionary : Ratio=%.2f (%u bytes) \n", in bench()
[all …]