Lines Matching refs:testNb

104                 (unsigned)seed, testNb, __LINE__);           \
272 int testNb = 1; in basicUnitTests() local
303 DISPLAYLEVEL(3, "test%3i : compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
323 …DISPLAYLEVEL(3, "test%3i : skipframe + compress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
341 DISPLAYLEVEL(3, "test%3i : estimate CStream size : ", testNb++); in basicUnitTests()
351 DISPLAYLEVEL(3, "test%3i : estimate CStream size using CCtxParams : ", testNb++); in basicUnitTests()
364 DISPLAYLEVEL(3, "test%3i : check actual CStream size : ", testNb++); in basicUnitTests()
371 DISPLAYLEVEL(3, "test%3i : use bad compression parameters : ", testNb++); in basicUnitTests()
381 DISPLAYLEVEL(3, "test%3i : decompress skippable frame : ", testNb++); in basicUnitTests()
398 DISPLAYLEVEL(3, "test%3i : decompress %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
408 … DISPLAYLEVEL(3, "test%3i : decompress again without init (re-use previous settings): ", testNb++); in basicUnitTests()
417 DISPLAYLEVEL(3, "test%3i : check decompressed result : ", testNb++); in basicUnitTests()
425 DISPLAYLEVEL(3, "test%3i : estimate DStream size : ", testNb++); in basicUnitTests()
438 DISPLAYLEVEL(3, "test%3i : check actual DStream size : ", testNb++); in basicUnitTests()
445 DISPLAYLEVEL(3, "test%3i : decompress byte-by-byte : ", testNb++); in basicUnitTests()
482 DISPLAYLEVEL(3, "test%3i : check decompressed result : ", testNb++); in basicUnitTests()
490 …LAYLEVEL(3, "test%3i : generate error when ZSTD_decompressStream() doesn't progress : ", testNb++); in basicUnitTests()
513 DISPLAYLEVEL(3, "test%3i : NULL buffers : ", testNb++); in basicUnitTests()
541 DISPLAYLEVEL(3, "test%3i : compress_srcSize %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH); in basicUnitTests()
561 …DISPLAYLEVEL(3, "test%3i : too large srcSize : %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH-1… in basicUnitTests()
576 …DISPLAYLEVEL(3, "test%3i : too small srcSize : %u bytes : ", testNb++, COMPRESSIBLE_NOISE_LENGTH-1… in basicUnitTests()
589 …DISPLAYLEVEL(3, "test%3i : wrong srcSize !contentSizeFlag : %u bytes : ", testNb++, COMPRESSIBLE_N… in basicUnitTests()
605 DISPLAYLEVEL(3, "test%3i : context re-use : ", testNb++); in basicUnitTests()
648 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() single pass on empty frame : ", testNb++); in basicUnitTests()
683 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() single pass : ", testNb++); in basicUnitTests()
696 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() stable out buffer : ", testNb++); in basicUnitTests()
710 … DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() stable out buffer too small : ", testNb++); in basicUnitTests()
723 … DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() stable out buffer modified : ", testNb++); in basicUnitTests()
739 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() buffered output : ", testNb++); in basicUnitTests()
768 DISPLAYLEVEL(3, "test%3i : ZSTD_compress2() uses stable input and output : ", testNb++); in basicUnitTests()
794 DISPLAYLEVEL(3, "test%3i : ZSTD_compress2() doesn't modify user parameters : ", testNb++); in basicUnitTests()
812 …t%3i : ZSTD_compressStream2() with ZSTD_c_stableInBuffer and ZSTD_c_stableOutBuffer : ", testNb++); in basicUnitTests()
822 …D_compressStream2() ZSTD_c_stableInBuffer and ZSTD_c_stableOutBuffer allocated size : ", testNb++); in basicUnitTests()
828 … DISPLAYLEVEL(3, "test%3i : ZSTD_compressStream2() with ZSTD_c_stableInBuffer only : ", testNb++); in basicUnitTests()
844 …SPLAYLEVEL(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableInBuffer modify buffer : ", testNb++); in basicUnitTests()
857 …(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableInBuffer with continue and flush : ", testNb++); in basicUnitTests()
875 …PLAYLEVEL(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableInBuffer allocated size : ", testNb++); in basicUnitTests()
883 … DISPLAYLEVEL(3, "test%3i : ZSTD_compressStream2() with ZSTD_c_stableOutBuffer only : ", testNb++); in basicUnitTests()
896 …PLAYLEVEL(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableOutBuffer modify buffer : ", testNb++); in basicUnitTests()
907 …LAYLEVEL(3, "test%3i : ZSTD_compressStream2() ZSTD_c_stableOutBuffer allocated size : ", testNb++); in basicUnitTests()
918 DISPLAYLEVEL(3, "test%3i : digested dictionary : ", testNb++); in basicUnitTests()
941 DISPLAYLEVEL(3, "test%3i : check CStream size : ", testNb++); in basicUnitTests()
947 DISPLAYLEVEL(4, "test%3i : check Dictionary ID : ", testNb++); in basicUnitTests()
954 …DISPLAYLEVEL(3, "test%3i : decompress %u bytes with digested dictionary : ", testNb++, (unsigned)C… in basicUnitTests()
973 DISPLAYLEVEL(3, "test%3i : maxWindowSize < frame requirement : ", testNb++); in basicUnitTests()
987 DISPLAYLEVEL(3, "test%3i : dictionary source size and level : ", testNb++); in basicUnitTests()
1032 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() with dictionary : ", testNb++); in basicUnitTests()
1074 DISPLAYLEVEL(3, "test%3i : ZSTD_resetDStream() with dictionary : ", testNb++); in basicUnitTests()
1103 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressStream() with ddict : ", testNb++); in basicUnitTests()
1133 DISPLAYLEVEL(3, "test%3i : ZSTD_decompressDCtx() with prefix : ", testNb++); in basicUnitTests()
1154 DISPLAYLEVEL(3, "test%3i : ZSTD_initDStream*() with dictionary : ", testNb++); in basicUnitTests()
1178 … DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_usingCDict_advanced with masked dictID : ", testNb++); in basicUnitTests()
1199 DISPLAYLEVEL(3, "test%3i : try retrieving dictID from frame : ", testNb++); in basicUnitTests()
1205 DISPLAYLEVEL(3, "test%3i : decompress without dictionary : ", testNb++); in basicUnitTests()
1211 DISPLAYLEVEL(3, "test%3i : compress with ZSTD_CCtx_refPrefix : ", testNb++); in basicUnitTests()
1224 DISPLAYLEVEL(3, "test%3i : decompress with ZSTD_DCtx_refPrefix : ", testNb++); in basicUnitTests()
1237 DISPLAYLEVEL(3, "test%3i : decompress without dictionary (should fail): ", testNb++); in basicUnitTests()
1243 DISPLAYLEVEL(3, "test%3i : compress again with ZSTD_compressStream2 : ", testNb++); in basicUnitTests()
1255 DISPLAYLEVEL(3, "test%3i : decompress without dictionary (should work): ", testNb++); in basicUnitTests()
1260 …DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_advanced with pledgedSrcSize=0 and dict : ", testNb++); in basicUnitTests()
1277 DISPLAYLEVEL(3, "test%3i : pledgedSrcSize == 0 behaves properly : ", testNb++); in basicUnitTests()
1307 …DISPLAYLEVEL(3, "test%3i : compress %u bytes with multiple threads : ", testNb++, COMPRESSIBLE_NOI… in basicUnitTests()
1338 …DISPLAYLEVEL(3, "test%3i : compress %u bytes with multiple threads + dictionary : ", testNb++, (un… in basicUnitTests()
1364 …VEL(3, "test%3i : decompress large frame created from multiple threads + dictionary : ", testNb++); in basicUnitTests()
1384 DISPLAYLEVEL(3, "test%3i : check dictionary FSE tables can represent every code : ", testNb++); in basicUnitTests()
1432 DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_srcSize sets requestedParams : ", testNb++); in basicUnitTests()
1443 DISPLAYLEVEL(3, "test%3i : ZSTD_initCStream_advanced sets requestedParams : ", testNb++); in basicUnitTests()
1452 DISPLAYLEVEL(3, "test%3i : ZSTD_c_srcSizeHint bounds : ", testNb++); in basicUnitTests()
1463 DISPLAYLEVEL(3, "test%3i : wildcopy doesn't overwrite potential match data : ", testNb++); in basicUnitTests()
1496 DISPLAYLEVEL(3, "test%3i : decompress blocks with small sequences section : ", testNb++); in basicUnitTests()
1547 DISPLAYLEVEL(3, "test%3i : raw block can be streamed: ", testNb++); in basicUnitTests()
1584 …3i : dictionary + uncompressible block + reusing tables checks offset table validity: ", testNb++); in basicUnitTests()
1637 …, "test%3i : dictionary + small blocks + reusing tables checks offset table validity: ", testNb++); in basicUnitTests()
1751 unsigned testNb = 0; in fuzzerTests() local
1782 for (testNb=1; testNb < startTest; testNb++) in fuzzerTests()
1786 for ( ; (testNb <= nbTests) || (UTIL_clockSpanMicro(startClock) < g_clockTime) ; testNb++ ) { in fuzzerTests()
1798 if (nbTests >= testNb) { in fuzzerTests()
1799 DISPLAYUPDATE(2, "\r%6u/%6u ", testNb, nbTests); in fuzzerTests()
1801 DISPLAYUPDATE(2, "\r%6u ", testNb); in fuzzerTests()
1967 DISPLAY("\r%u fuzzer tests completed \n", testNb); in fuzzerTests()
2016 int testNb = 0; in fuzzerTests_newAPI() local
2050 for (testNb=1; testNb < startTest; testNb++) in fuzzerTests_newAPI()
2054 for ( ; (testNb <= nbTests) || (UTIL_clockSpanMicro(startClock) < g_clockTime) ; testNb++ ) { in fuzzerTests_newAPI()
2068 if (nbTests >= testNb) { DISPLAYUPDATE(2, "\r%6u/%6u ", testNb, nbTests); } in fuzzerTests_newAPI()
2069 else { DISPLAYUPDATE(2, "\r%6u ", testNb); } in fuzzerTests_newAPI()
2072 DISPLAYLEVEL(5, " *** Test %u *** \n", testNb); in fuzzerTests_newAPI()
2115 DISPLAYLEVEL(5, "t%u : compression level : %i \n", testNb, compressionLevel); in fuzzerTests_newAPI()
2126 DISPLAYLEVEL(5, "t%i: base cLevel : %u \n", testNb, cLevel); in fuzzerTests_newAPI()
2128 DISPLAYLEVEL(5, "t%i: maxTestSize : %u \n", testNb, (unsigned)maxTestSize); in fuzzerTests_newAPI()
2141 DISPLAYLEVEL(5, "t%u: with dictionary of size : %zu \n", testNb, dictSize); in fuzzerTests_newAPI()
2155 DISPLAYLEVEL(5, "t%u: windowLog : %u \n", testNb, cParams.windowLog); in fuzzerTests_newAPI()
2161 DISPLAYLEVEL(5, "t%u: hashLog : %u \n", testNb, cParams.hashLog); in fuzzerTests_newAPI()
2165 DISPLAYLEVEL(5, "t%u: chainLog : %u \n", testNb, cParams.chainLog); in fuzzerTests_newAPI()
2185 DISPLAYLEVEL(5, "t%u: frame checksum : %u \n", testNb, checksumFlag); in fuzzerTests_newAPI()
2191 … DISPLAYLEVEL(5, "t%u: pledgedSrcSize : %u \n", testNb, (unsigned)pledgedSrcSize); in fuzzerTests_newAPI()
2202 DISPLAYLEVEL(5, "t%i: nbThreads : %u \n", testNb, nbThreads); in fuzzerTests_newAPI()
2213 DISPLAYLEVEL(5, "t%u: rsyncable : %d \n", testNb, rsyncable); in fuzzerTests_newAPI()
2221 DISPLAYLEVEL(5, "t%u: applying CCtxParams \n", testNb); in fuzzerTests_newAPI()
2252 DISPLAYLEVEL(6, "t%u: Reloading prefix\n", testNb); in fuzzerTests_newAPI()
2260 … DISPLAYLEVEL(6, "t%u: Modify nbWorkers: %d -> %d \n", testNb, nbWorkers, nbWorkers + iter); in fuzzerTests_newAPI()
2268 testNb, (unsigned)inBuff.pos, (unsigned)outBuff.pos); in fuzzerTests_newAPI()
2293testNb, (unsigned)inBuff.pos, (unsigned)(totalTestSize + inBuff.pos), (unsigned)flush, (unsigned)o… in fuzzerTests_newAPI()
2316 …DISPLAYLEVEL(6, "t%u: End-flush into dst buffer of size %u \n", testNb, (unsigned)adjustedDstSize); in fuzzerTests_newAPI()
2319 … DISPLAYLEVEL(6, "t%u: Total flushed so far : %u bytes \n", testNb, (unsigned)outBuff.pos); in fuzzerTests_newAPI()
2400 DISPLAY("\r%u fuzzer tests completed \n", testNb-1); in fuzzerTests_newAPI()
2449 int testNb = 0; in main() local
2466 … if (!strcmp(argument, "--newapi")) { selected_api=advanced_api; testNb += !testNb; continue; } in main()
2529 testNb=0; in main()
2531 testNb *= 10; in main()
2532 testNb += *argument - '0'; in main()
2568 if (testNb==0) { in main()
2576 result = fuzzerTests(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()
2579 result = fuzzerTests_newAPI(seed, nbTests, testNb, ((double)proba) / 100, bigTests); in main()