Lines Matching refs:ZSTD_compressBound
279 size_t const outSize = ZSTD_compressBound(inSize); in FUZ_mallocTests()
346 size_t const compressedBufferSize = ZSTD_compressBound(CNBuffSize); in basicUnitTests()
683 size_t const dstCapacity = ZSTD_compressBound(size); in basicUnitTests()
733 size_t const dstSize = ZSTD_compressBound(srcSize); in basicUnitTests()
851 size_t const dstSize = ZSTD_compressBound(size); in basicUnitTests()
917 size_t srcSize = 321656; size_t dstCapacity = ZSTD_compressBound(srcSize); in basicUnitTests()
1075 size_t const outSize = ZSTD_compressBound(inSize); in basicUnitTests()
1105 …size2 = ZSTD_compress2(cctx, compressedBuffer, ZSTD_compressBound(sampleSize) - 1, CNBuffer, sampl… in basicUnitTests()
1116 …outb.size = ZSTD_compressBound(sampleSize) - 1; /* force streaming, as output buffer is not large… in basicUnitTests()
1690 … CHECK_VAR(cSize, ZSTD_compressEnd(ctxDuplicated, compressedBuffer, ZSTD_compressBound(testSize), in basicUnitTests()
2453 compressedBuffer, ZSTD_compressBound(inputSize), in basicUnitTests()
2469 compressedBuffer, ZSTD_compressBound(inputSize), in basicUnitTests()
2522 ZSTD_outBuffer out = { compressedBuffer, ZSTD_compressBound(inputSize), 0 }; in basicUnitTests()
2562 ZSTD_outBuffer out = { compressedBuffer, ZSTD_compressBound(0), 0 }; in basicUnitTests()
2632 …CHECK_VAR(cSize, ZSTD_compressBlock(cctx, compressedBuffer, ZSTD_compressBound(blockSize), CNBuffe… in basicUnitTests()
2648 …ze_t const blockCSize = ZSTD_compressBlock(cctx, compressedBuffer, ZSTD_compressBound(blockSize), … in basicUnitTests()
2658 …CHECK_VAR(cSize, ZSTD_compressBlock(cctx, compressedBuffer, ZSTD_compressBound(blockSize), (char*… in basicUnitTests()
2660 …{ CHECK_NEWV(r, ZSTD_compressBlock(cctx, (char*)compressedBuffer+cSize, ZSTD_compressBound(blockSi… in basicUnitTests()
2663 …2, ZSTD_compressBlock(cctx, (char*)compressedBuffer+cSize+blockSize, ZSTD_compressBound(blockSize), in basicUnitTests()
2688 …CHECK( ZSTD_compressBlock(cctx, compressedBuffer, ZSTD_compressBound(blockSize), (char*)CNBuffer+d… in basicUnitTests()
2705 … cSize = ZSTD_compress(compressedBuffer, ZSTD_compressBound(sampleSize), CNBuffer, sampleSize, 1); in basicUnitTests()
2748 size_t dstSize = ZSTD_compressBound(srcSize); in basicUnitTests()
2806 …CHECK_VAR(cSize, ZSTD_compress(compressedBuffer, ZSTD_compressBound(LONGZEROSLENGTH), CNBuffer, LO… in basicUnitTests()
2818 …CHECK_VAR(cSize, ZSTD_compress(compressedBuffer, ZSTD_compressBound(ZEROESLENGTH), CNBuffer, ZEROE… in basicUnitTests()
2854 size_t const bound = ZSTD_compressBound(_3BYTESTESTLENGTH); in basicUnitTests()
2870 CHECK_VAR(cSize, ZSTD_compress(compressedBuffer, ZSTD_compressBound(_3BYTESTESTLENGTH), in basicUnitTests()
2883 size_t const bound = ZSTD_compressBound(CNBuffSize); in basicUnitTests()
2918 size_t const outputSize = ZSTD_compressBound(inputSize); in basicUnitTests()
2994 size_t const dstSize = ZSTD_compressBound(srcSize); in basicUnitTests()
3025 size_t const dstSize = ZSTD_compressBound(srcSize); in basicUnitTests()
3065 size_t const compressedBufferSize = ZSTD_compressBound(CNBuffSize); in longUnitTests()
3320 size_t const cBufferSize = ZSTD_compressBound(dstBufferSize); in fuzzerTests()
3545 …if (cBufferSize-cSize < ZSTD_compressBound(segmentSize)) break; /* avoid invalid dstBufferTooSma… in fuzzerTests()