Home
last modified time | relevance | path

Searched refs:totalCSize (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/tests/
H A Dzbufftest.c312 size_t cSize, totalTestSize, totalCSize, totalGenSize; in fuzzerTests() local
404 for (totalCSize = 0, totalGenSize = 0 ; errorCode ; ) { in fuzzerTests()
408 …FF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize, &readCSrcSize); in fuzzerTests()
411 totalCSize += readCSrcSize; in fuzzerTests()
415 CHECK (totalCSize != cSize, "compressed data should be fully read") in fuzzerTests()
434 totalCSize = 0; in fuzzerTests()
436 while ( (totalCSize < cSize) && (totalGenSize < dstBufferSize) ) { in fuzzerTests()
440 …FF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize, &readCSrcSize); in fuzzerTests()
443 totalCSize += readCSrcSize; in fuzzerTests()
H A Dfuzzer.c1400 size_t cSize, totalCSize, totalGenSize; in fuzzerTests() local
1616 totalCSize = 0; in fuzzerTests()
1618 while (totalCSize < cSize) { in fuzzerTests()
1620 …ressContinue(dctx, dstBuffer+totalGenSize, dstBufferSize-totalGenSize, cBuffer+totalCSize, inSize); in fuzzerTests()
1623 totalCSize += inSize; in fuzzerTests()
1627 CHECK (totalCSize != cSize, "compressed data should be fully read") in fuzzerTests()