Lines Matching refs:DISPLAYLEVEL

60 #define DISPLAYLEVEL(l, ...)  if (g_displayLevel>=l) {                     \  macro
241 DISPLAYLEVEL(3, "creating dictionary for unit tests \n"); in basicUnitTests()
250 DISPLAYLEVEL(3, "test%3i : compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
262 DISPLAYLEVEL(3, "OK (%u bytes)\n", (U32)outBuff.pos); in basicUnitTests()
270 …DISPLAYLEVEL(3, "test%3i : skipframe + compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
284 …DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/COMPRESSIBLE_NOISE_LENGTH*10… in basicUnitTests()
287 DISPLAYLEVEL(3, "test%3i : estimate CStream size : ", testNb++); in basicUnitTests()
293 DISPLAYLEVEL(3, "OK (%u bytes) \n", (U32)(cstreamSize + cdictSize)); in basicUnitTests()
296 DISPLAYLEVEL(3, "test%3i : check actual CStream size : ", testNb++); in basicUnitTests()
299 DISPLAYLEVEL(3, "OK (%u bytes) \n", (U32)s); in basicUnitTests()
303 DISPLAYLEVEL(3, "test%3i : use bad compression parameters : ", testNb++); in basicUnitTests()
309 DISPLAYLEVEL(3, "init error : %s \n", ZSTD_getErrorName(r)); in basicUnitTests()
313 DISPLAYLEVEL(3, "test%3i : decompress skippable frame : ", testNb++); in basicUnitTests()
322 DISPLAYLEVEL(5, " ( ZSTD_decompressStream => %u ) ", (U32)r); in basicUnitTests()
326 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
330 DISPLAYLEVEL(3, "test%3i : decompress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
337 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
340 … DISPLAYLEVEL(3, "test%3i : decompress again without init (re-use previous settings): ", testNb++); in basicUnitTests()
346 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
349 DISPLAYLEVEL(3, "test%3i : check decompressed result : ", testNb++); in basicUnitTests()
354 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
357 DISPLAYLEVEL(3, "test%3i : estimate DStream size : ", testNb++); in basicUnitTests()
362 DISPLAYLEVEL(5, " (windowSize : %u) ", (U32)fhi.windowSize); in basicUnitTests()
367 DISPLAYLEVEL(3, "OK (%u bytes) \n", (U32)s); in basicUnitTests()
370 DISPLAYLEVEL(3, "test%3i : check actual DStream size : ", testNb++); in basicUnitTests()
373 DISPLAYLEVEL(3, "OK (%u bytes) \n", (U32)s); in basicUnitTests()
377 DISPLAYLEVEL(3, "test%3i : decompress byte-by-byte : ", testNb++); in basicUnitTests()
407 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
410 DISPLAYLEVEL(3, "test%3i : check decompressed result : ", testNb++); in basicUnitTests()
415 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
418 DISPLAYLEVEL(3, "test%3i : compress_srcSize %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
432 …DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/COMPRESSIBLE_NOISE_LENGTH*10… in basicUnitTests()
435 …DISPLAYLEVEL(3, "test%3i : too large srcSize : %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH-1… in basicUnitTests()
447 DISPLAYLEVEL(3, "OK (error detected : %s) \n", ZSTD_getErrorName(r)); } in basicUnitTests()
450 …DISPLAYLEVEL(3, "test%3i : too small srcSize : %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH-1… in basicUnitTests()
460 DISPLAYLEVEL(3, "OK (error detected : %s) \n", ZSTD_getErrorName(r)); in basicUnitTests()
464 DISPLAYLEVEL(3, "test%3i : context re-use : ", testNb++); in basicUnitTests()
470 DISPLAYLEVEL(5, "use1 "); in basicUnitTests()
478 DISPLAYLEVEL(5, "compress1 "); in basicUnitTests()
481 DISPLAYLEVEL(5, "end1 "); in basicUnitTests()
487 DISPLAYLEVEL(5, "use2 "); in basicUnitTests()
495 DISPLAYLEVEL(5, "compress2 "); in basicUnitTests()
498 DISPLAYLEVEL(5, "end2 "); in basicUnitTests()
502 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
505 DISPLAYLEVEL(3, "test%3i : digested dictionary : ", testNb++); in basicUnitTests()
508 DISPLAYLEVEL(5, "ZSTD_initCStream_usingCDict result : %u ", (U32)initError); in basicUnitTests()
517 DISPLAYLEVEL(5, "- starting ZSTD_compressStream "); in basicUnitTests()
521 DISPLAYLEVEL(5, "- ZSTD_endStream result : %u ", (U32)r); in basicUnitTests()
526 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/CNBufferSize*100); in basicUnitTests()
529 DISPLAYLEVEL(3, "test%3i : check CStream size : ", testNb++); in basicUnitTests()
532 DISPLAYLEVEL(3, "OK (%u bytes) \n", (U32)s); in basicUnitTests()
535 DISPLAYLEVEL(4, "test%3i : check Dictionary ID : ", testNb++); in basicUnitTests()
538 DISPLAYLEVEL(4, "OK (%u) \n", dID); in basicUnitTests()
542 …DISPLAYLEVEL(3, "test%3i : decompress %u bytes with digested dictionary : ", testNb++, (U32)CNBuff… in basicUnitTests()
557 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
561 DISPLAYLEVEL(3, "test%3i : wrong parameter for ZSTD_setDStreamParameter(): ", testNb++); in basicUnitTests()
564 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
567 DISPLAYLEVEL(3, "test%3i : maxWindowSize < frame requirement : ", testNb++); in basicUnitTests()
578 DISPLAYLEVEL(3, "OK (%s)\n", ZSTD_getErrorName(r)); } in basicUnitTests()
581 DISPLAYLEVEL(3, "test%3i : dictionary source size and level : ", testNb++); in basicUnitTests()
617 DISPLAYLEVEL(3, "OK\n"); in basicUnitTests()
619 … DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_usingCDict_advanced with masked dictID : ", testNb++); in basicUnitTests()
638 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/CNBufferSize*100); in basicUnitTests()
641 DISPLAYLEVEL(3, "test%3i : try retrieving dictID from frame : ", testNb++); in basicUnitTests()
645 DISPLAYLEVEL(3, "OK (not detected) \n"); in basicUnitTests()
647 DISPLAYLEVEL(3, "test%3i : decompress without dictionary : ", testNb++); in basicUnitTests()
650 DISPLAYLEVEL(3, "OK (%s)\n", ZSTD_getErrorName(r)); in basicUnitTests()
653 DISPLAYLEVEL(3, "test%3i : compress with ZSTD_CCtx_refPrefix : ", testNb++); in basicUnitTests()
664 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/CNBufferSize*100); in basicUnitTests()
666 DISPLAYLEVEL(3, "test%3i : decompress with ZSTD_DCtx_refPrefix : ", testNb++); in basicUnitTests()
677 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
679 DISPLAYLEVEL(3, "test%3i : decompress without dictionary (should fail): ", testNb++); in basicUnitTests()
682 DISPLAYLEVEL(3, "OK (%s)\n", ZSTD_getErrorName(r)); in basicUnitTests()
685 DISPLAYLEVEL(3, "test%3i : compress again with ZSTD_compress_generic : ", testNb++); in basicUnitTests()
695 DISPLAYLEVEL(3, "OK (%u bytes : %.2f%%)\n", (U32)cSize, (double)cSize/CNBufferSize*100); in basicUnitTests()
697 DISPLAYLEVEL(3, "test%3i : decompress without dictionary (should work): ", testNb++); in basicUnitTests()
699 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
702 …DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_advanced with pledgedSrcSize=0 and dict : ", testNb++); in basicUnitTests()
717 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
719 DISPLAYLEVEL(3, "test%3i : pledgedSrcSize == 0 behaves properly : ", testNb++); in basicUnitTests()
746 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
749 …DISPLAYLEVEL(3, "test%3i : compress %u bytes with multiple threads : ", testNb++, COMPRESSIBLE_NOI… in basicUnitTests()
766 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
777 …DISPLAYLEVEL(3, "test%3i : compress %u bytes with multiple threads + dictionary : ", testNb++, (U3… in basicUnitTests()
793 DISPLAYLEVEL(5, "cParams.windowLog = %u : ", cParams.windowLog); in basicUnitTests()
801 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
803 …DISPLAYLEVEL(3, "test%3i : decompress large frame created from multiple threads + dictionary : ", … in basicUnitTests()
807 DISPLAYLEVEL(5, "frame windowsize = %u : ", (U32)zfh.windowSize); in basicUnitTests()
821 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
823 DISPLAYLEVEL(3, "test%3i : check dictionary FSE tables can represent every code : ", testNb++); in basicUnitTests()
869 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
872 DISPLAYLEVEL(3, "test%3i : wildcopy doesn't overwrite potential match data : ", testNb++); in basicUnitTests()
902 DISPLAYLEVEL(3, "OK \n"); in basicUnitTests()
1263 DISPLAYLEVEL(6, "Creating initial context with %u threads \n", nbThreads); in fuzzerTests_MT()
1290 DISPLAYLEVEL(5, "Creating new context with %u threads \n", nbThreads); in fuzzerTests_MT()
1330 DISPLAYLEVEL(5, "Init with compression level = %i \n", compressionLevel); in fuzzerTests_MT()
1340 … DISPLAYLEVEL(5, "Init with windowLog = %u, pledgedSrcSize = %u, dictSize = %u \n", in fuzzerTests_MT()
1345 DISPLAYLEVEL(5, "checksumFlag : %u \n", params.fParams.checksumFlag); in fuzzerTests_MT()
1365 DISPLAYLEVEL(6, "Sending %u bytes to compress \n", (U32)srcSize); in fuzzerTests_MT()
1367 DISPLAYLEVEL(6, "%u bytes read by ZSTDMT_compressStream \n", (U32)inBuff.pos); in fuzzerTests_MT()
1380 DISPLAYLEVEL(5, "Flushing into dst buffer of size %u \n", (U32)adjustedDstSize); in fuzzerTests_MT()
1383 … DISPLAYLEVEL(6, "%u bytes flushed by ZSTDMT_flushStream \n", (U32)(outBuff.pos-previousPos)); in fuzzerTests_MT()
1393 DISPLAYLEVEL(5, "Ending into dst buffer of size %u \n", (U32)adjustedDstSize); in fuzzerTests_MT()
1397 … DISPLAYLEVEL(6, "%u bytes flushed by ZSTDMT_endStream \n", (U32)(outBuff.pos-previousPos)); in fuzzerTests_MT()
1398 DISPLAYLEVEL(5, "endStream : remainingToFlush : %u \n", (U32)remainingToFlush); in fuzzerTests_MT()
1402 DISPLAYLEVEL(5, "Frame completed : %u bytes compressed into %u bytes \n", in fuzzerTests_MT()
1423 DISPLAYLEVEL(6, "ZSTD_decompressStream input %u bytes into outBuff %u bytes \n", in fuzzerTests_MT()
1431 … DISPLAYLEVEL(6, "total ingested (inBuff.pos) = %u and produced (outBuff.pos) = %u \n", in fuzzerTests_MT()
1569 DISPLAYLEVEL(5, " *** Test %u *** \n", testNb); in fuzzerTests_newAPI()
1574 DISPLAYLEVEL(5, "Creating new context \n"); in fuzzerTests_newAPI()
1619 DISPLAYLEVEL(5, "t%u: base cLevel : %u \n", testNb, cLevel); in fuzzerTests_newAPI()
1621 DISPLAYLEVEL(5, "t%u: maxTestSize : %u \n", testNb, (U32)maxTestSize); in fuzzerTests_newAPI()
1644 DISPLAYLEVEL(5, "t%u: windowLog : %u \n", testNb, cParams.windowLog); in fuzzerTests_newAPI()
1650 DISPLAYLEVEL(5, "t%u: hashLog : %u \n", testNb, cParams.hashLog); in fuzzerTests_newAPI()
1654 DISPLAYLEVEL(5, "t%u: chainLog : %u \n", testNb, cParams.chainLog); in fuzzerTests_newAPI()
1673 DISPLAYLEVEL(5, "t%u: frame checksum : %u \n", testNb, checksumFlag); in fuzzerTests_newAPI()
1679 DISPLAYLEVEL(5, "t%u: pledgedSrcSize : %u \n", testNb, (U32)pledgedSrcSize); in fuzzerTests_newAPI()
1687 DISPLAYLEVEL(5, "t%u: nbThreads : %u \n", testNb, nbThreads); in fuzzerTests_newAPI()
1700 DISPLAYLEVEL(6," t%u: applying CCtxParams \n", testNb); in fuzzerTests_newAPI()
1740 … DISPLAYLEVEL(6, "t%u: compress consumed %u bytes (total : %u) ; flush: %u (total : %u) \n", in fuzzerTests_newAPI()
1755 … DISPLAYLEVEL(6, "t%u: End-flush into dst buffer of size %u \n", testNb, (U32)adjustedDstSize); in fuzzerTests_newAPI()
1757 … DISPLAYLEVEL(6, "t%u: Total flushed so far : %u bytes \n", testNb, (U32)outBuff.pos); in fuzzerTests_newAPI()
1764 DISPLAYLEVEL(5, "Frame completed : %u bytes \n", (U32)cSize); in fuzzerTests_newAPI()
1769 DISPLAYLEVEL(5, "resetting DCtx (dict:%08X) \n", (U32)(size_t)dict); in fuzzerTests_newAPI()
1772 DISPLAYLEVEL(5, "using dict of size %u \n", (U32)dictSize); in fuzzerTests_newAPI()
1784 DISPLAYLEVEL(6, "decompression presented %u new bytes (pos:%u/%u)\n", in fuzzerTests_newAPI()
1787 DISPLAYLEVEL(6, "so far: consumed = %u, produced = %u \n", in fuzzerTests_newAPI()