Searched refs:totalTestSize (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | zstreamtest.c | 1019 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests() local 1099 for (n=0, cSize=0, totalTestSize=0 ; totalTestSize < maxTestSize ; n++) { in fuzzerTests() 1113 totalTestSize += inBuff.pos; in fuzzerTests() 1273 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests_MT() local 1355 for (n=0, cSize=0, totalTestSize=0 ; totalTestSize < maxTestSize ; n++) { in fuzzerTests_MT() 1371 totalTestSize += inBuff.pos; in fuzzerTests_MT() 1407 assert(totalTestSize < dstBufferSize); in fuzzerTests_MT() 1434 …CHECK (outBuff.pos != totalTestSize, "decompressed data : wrong size (%u != %u)", (U32)outBuff.pos… in fuzzerTests_MT() 1558 size_t totalTestSize, totalGenSize, cSize; in fuzzerTests_newAPI() local 1728 for (cSize=0, totalTestSize=0 ; (totalTestSize < maxTestSize) ; ) { in fuzzerTests_newAPI() [all …]
|
| H A D | zbufftest.c | 312 size_t cSize, totalTestSize, totalCSize, totalGenSize; in fuzzerTests() local 363 for (n=0, cSize=0, totalTestSize=0 ; (n<nbChunks) && (totalTestSize < maxTestSize) ; n++) { in fuzzerTests() 374 memcpy(copyBuffer+totalTestSize, srcBuffer+srcStart, readChunkSize); in fuzzerTests() 376 totalTestSize += readChunkSize; in fuzzerTests() 414 CHECK (totalGenSize != totalTestSize, "decompressed data : wrong size") in fuzzerTests() 416 { U64 const crcDest = XXH64(dstBuffer, totalTestSize, 0); in fuzzerTests() 417 if (crcDest!=crcOrig) findDiff(copyBuffer, dstBuffer, totalTestSize); in fuzzerTests()
|
| H A D | fuzzer.c | 1399 size_t sampleSize, maxTestSize, totalTestSize; in fuzzerTests() local 1579 for (totalTestSize=0, cSize=0, n=0 ; n<nbChunks ; n++) { in fuzzerTests() 1584 if (totalTestSize+segmentSize > maxTestSize) break; in fuzzerTests() 1591 memcpy(mirrorBuffer + totalTestSize, srcBuffer+segmentStart, segmentSize); in fuzzerTests() 1592 totalTestSize += segmentSize; in fuzzerTests() 1610 … CHECK((roundBuffSize > totalTestSize) && (zfh.frameContentSize!=ZSTD_CONTENTSIZE_UNKNOWN), in fuzzerTests() 1612 (U32)roundBuffSize, (U32)totalTestSize ); in fuzzerTests() 1626 CHECK (totalGenSize != totalTestSize, "streaming decompressed data : wrong size") in fuzzerTests() 1628 { U64 const crcDest = XXH64(dstBuffer, totalTestSize, 0); in fuzzerTests() 1630 size_t const errorPos = findDiff(mirrorBuffer, dstBuffer, totalTestSize); in fuzzerTests() [all …]
|