Home
last modified time | relevance | path

Searched refs:totalGenSize (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/tests/
Dzbufftest.c312 size_t cSize, totalTestSize, totalCSize, totalGenSize; in fuzzerTests() local
404 for (totalCSize = 0, totalGenSize = 0 ; errorCode ; ) { in fuzzerTests()
407 size_t dstBuffSize = MIN(dstBufferSize - totalGenSize, randomDstSize); in fuzzerTests()
408 …errorCode = ZBUFF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize,… in fuzzerTests()
410 totalGenSize += dstBuffSize; in fuzzerTests()
414 CHECK (totalGenSize != totalTestSize, "decompressed data : wrong size") in fuzzerTests()
435 totalGenSize = 0; in fuzzerTests()
436 while ( (totalCSize < cSize) && (totalGenSize < dstBufferSize) ) { in fuzzerTests()
439 size_t dstBuffSize = MIN(dstBufferSize - totalGenSize, randomDstSize); in fuzzerTests()
440 …size_t const decompressError = ZBUFF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, … in fuzzerTests()
[all …]
Dzstreamtest.c1019 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests() local
1146 for (totalGenSize = 0 ; decompressionResult ; ) { in fuzzerTests()
1149 size_t const dstBuffSize = MIN(dstBufferSize - totalGenSize, randomDstSize); in fuzzerTests()
1273 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests_MT() local
1417 for (totalGenSize = 0 ; decompressionResult ; ) { in fuzzerTests_MT()
1420 size_t const dstBuffSize = MIN(dstBufferSize - totalGenSize, randomDstSize); in fuzzerTests_MT()
1558 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests_newAPI() local
1778 for (totalGenSize = 0 ; decompressionResult ; ) { in fuzzerTests_newAPI()
1781 size_t const dstBuffSize = MIN(dstBufferSize - totalGenSize, randomDstSize); in fuzzerTests_newAPI()
Dfuzzer.c1400 size_t cSize, totalCSize, totalGenSize; in fuzzerTests() local
1617 totalGenSize = 0; in fuzzerTests()
1620 …const genSize = ZSTD_decompressContinue(dctx, dstBuffer+totalGenSize, dstBufferSize-totalGenSize, … in fuzzerTests()
1622 totalGenSize += genSize; in fuzzerTests()
1626 CHECK (totalGenSize != totalTestSize, "streaming decompressed data : wrong size") in fuzzerTests()