Lines Matching refs:compressedBufferSize
346 size_t const compressedBufferSize = ZSTD_compressBound(CNBuffSize); in basicUnitTests() local
347 void* const compressedBuffer = malloc(compressedBufferSize); in basicUnitTests()
399 compressedBuffer, compressedBufferSize, in basicUnitTests()
465 ZSTD_outBuffer outb = { compressedBuffer, compressedBufferSize, 0 }; in basicUnitTests()
567 …ize_t const r = ZSTD_decompress(decodedBuffer, CNBuffSize, compressedBuffer, compressedBufferSize); in basicUnitTests()
573 { size_t const r = ZSTD_decompress(NULL, 0, compressedBuffer, compressedBufferSize); in basicUnitTests()
588 compressedBuffer, compressedBufferSize, in basicUnitTests()
622 compressedBuffer, compressedBufferSize, in basicUnitTests()
628 size_t const ret = ZSTD_getFrameHeader(&zfh, compressedBuffer, compressedBufferSize); in basicUnitTests()
632 … unsigned long long const bound = ZSTD_decompressBound(compressedBuffer, compressedBufferSize); in basicUnitTests()
651 compressedBufferSize, CNBuffer, largeFrameSrcSize, 3); in basicUnitTests()
654 compressedBufferSize - srcSize, CNBuffer, in basicUnitTests()
717 … cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in basicUnitTests()
799 cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, srcSize1); in basicUnitTests()
802 cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, srcSize2); in basicUnitTests()
817 ZSTD_outBuffer out = {compressedBuffer, compressedBufferSize, 0}; in basicUnitTests()
825 ZSTD_outBuffer out = {compressedBuffer, compressedBufferSize, 0}; in basicUnitTests()
971 …size_t const normalCSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, … in basicUnitTests()
977 … superCSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in basicUnitTests()
1005 CHECK_Z( ZSTD_compress(compressedBuffer, compressedBufferSize, NULL, 0, level) ); in basicUnitTests()
1007 CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, NULL, 0) ); in basicUnitTests()
1015 … size_t const r = ZSTD_compressCCtx(cctx, compressedBuffer, compressedBufferSize, NULL, 0, 19); in basicUnitTests()
1032 output.size = compressedBufferSize; in basicUnitTests()
1071 …CHECK_Z( ZSTD_compressEnd(cctx, compressedBuffer, compressedBufferSize, CNBuffer, 1) ); /* creates… in basicUnitTests()
1093 … size1 = ZSTD_compressCCtx(cctx, compressedBuffer, compressedBufferSize, CNBuffer, sampleSize, i); in basicUnitTests()
1096 … size2 = ZSTD_compressCCtx(cctx, compressedBuffer, compressedBufferSize, CNBuffer, sampleSize, i); in basicUnitTests()
1101 … size2 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, sampleSize); in basicUnitTests()
1137 outb.size = compressedBufferSize; in basicUnitTests()
1242 … CHECK_Z( ZSTD_compressEnd(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize) ); in basicUnitTests()
1252 CHECK_Z( ZSTD_compressEnd(largeCCtx, compressedBuffer, compressedBufferSize, CNBuffer, 1) ); in basicUnitTests()
1256 … CHECK_Z(ZSTD_compressCCtx(smallCCtx, compressedBuffer, compressedBufferSize, CNBuffer, 1, 1)); in basicUnitTests()
1270 … CHECK_Z(ZSTD_compressCCtx(largeCCtx, compressedBuffer, compressedBufferSize, CNBuffer, 1, 1)); in basicUnitTests()
1309 compressedBuffer, compressedBufferSize, in basicUnitTests()
1316 compressedBuffer, compressedBufferSize, in basicUnitTests()
1330 compressedBuffer, compressedBufferSize, in basicUnitTests()
1341 compressedBuffer, compressedBufferSize, in basicUnitTests()
1353 compressedBuffer, compressedBufferSize, in basicUnitTests()
1380 { ZSTD_outBuffer output = { compressedBuffer, compressedBufferSize, 0 }; in basicUnitTests()
1391 { ZSTD_outBuffer output = { compressedBuffer, compressedBufferSize, 0 }; in basicUnitTests()
1399 { ZSTD_outBuffer output = { compressedBuffer, compressedBufferSize, 0 }; in basicUnitTests()
1449 compressedBuffer, compressedBufferSize, in basicUnitTests()
1478 compressedBuffer, compressedBufferSize, in basicUnitTests()
1517 cSize1 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in basicUnitTests()
1520 cSize2 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in basicUnitTests()
1535 … CHECK( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize - 1, CNBuffer, CNBuffSize) ); in basicUnitTests()
1630 compressedBuffer, compressedBufferSize, in basicUnitTests()
1647 compressedBuffer, compressedBufferSize, in basicUnitTests()
1722 size_t const nodict_cSize = ZSTD_compress(compressedBuffer, compressedBufferSize, in basicUnitTests()
1734 compressedBuffer, compressedBufferSize, in basicUnitTests()
1774 assert(compressedBufferSize >= totalSampleSize); in basicUnitTests()
1879 cSize = ZSTD_compress_usingDict(cctx, compressedBuffer, compressedBufferSize, in basicUnitTests()
1922 cSize = ZSTD_compress_usingCDict(cctx, compressedBuffer, compressedBufferSize, in basicUnitTests()
1964 compressedBuffer, compressedBufferSize, in basicUnitTests()
1980 compressedBuffer, compressedBufferSize, in basicUnitTests()
2009 cSize = ZSTD_compress_advanced(cctx, compressedBuffer, compressedBufferSize, in basicUnitTests()
2069 …ret = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100)); in basicUnitTests()
2081 …ret = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100)); in basicUnitTests()
2092 … cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, srcSize); in basicUnitTests()
2118 …size1 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2124 …size2 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2135 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2144 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2154 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2164 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2173 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2182 …CHECK_Z( ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 10… in basicUnitTests()
2192 …size1 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2196 …size2 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2208 …size1 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2212 …size2 = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2221 …cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, MIN(CNBuffSize, 100… in basicUnitTests()
2316 cSize = ZSTD_compress_usingCDict(cctx, compressedBuffer, compressedBufferSize, in basicUnitTests()
2424 compressedBuffer, compressedBufferSize, in basicUnitTests()
2432 compressedBuffer, compressedBufferSize, in basicUnitTests()
2960 …CHECK_Z(ZSTD_compress_usingCDict(cctx, compressedBuffer, compressedBufferSize, CNBuffer, size, lgC… in basicUnitTests()
2961 CHECK_Z(ZSTD_getFrameHeader(&lgHeader, compressedBuffer, compressedBufferSize)); in basicUnitTests()
2962 …CHECK_Z(ZSTD_compress_usingCDict(cctx, compressedBuffer, compressedBufferSize, CNBuffer, size, smC… in basicUnitTests()
2963 CHECK_Z(ZSTD_getFrameHeader(&smHeader, compressedBuffer, compressedBufferSize)); in basicUnitTests()
3065 size_t const compressedBufferSize = ZSTD_compressBound(CNBuffSize); in longUnitTests() local
3066 void* const compressedBuffer = malloc(compressedBufferSize); in longUnitTests()
3094 { ZSTD_outBuffer out = { compressedBuffer, compressedBufferSize, 0 }; in longUnitTests()
3110 ZSTD_outBuffer out = { compressedBuffer, compressedBufferSize / (unsigned)cLevel, 0 }; in longUnitTests()
3120 { ZSTD_outBuffer out = { compressedBuffer, compressedBufferSize, 0 }; in longUnitTests()
3137 ZSTD_outBuffer out = { compressedBuffer, compressedBufferSize / (unsigned)cLevel, 0 }; in longUnitTests()
3164 … cSizeLdm = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in longUnitTests()
3174 … cSizeNoLdm = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in longUnitTests()
3232 … cSize = ZSTD_compress2(cctx, compressedBuffer, compressedBufferSize, CNBuffer, CNBuffSize); in longUnitTests()