Home
last modified time | relevance | path

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

/external/lz4/tests/
Dfuzzer.c1057 int const maxCSize = LZ4_COMPRESSBOUND(sampleSize); in FUZ_unitTests() local
1058 int const outSize = LZ4_COMPRESS_INPLACE_BUFFER_SIZE(maxCSize); in FUZ_unitTests()
1066 cSize = LZ4_compress_default(startInput, testCompressed, sampleSize, maxCSize); in FUZ_unitTests()
1068 assert(maxCSize < INT_MAX); in FUZ_unitTests()
1069 assert(cSize <= maxCSize); in FUZ_unitTests()
/external/zstd/lib/compress/
Dzstd_compress.c2363 { size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, cctxParams->cParams.strategy); in ZSTD_entropyCompressSequences() local
2364 if (cSize >= maxCSize) return 0; /* block not compressed */ in ZSTD_entropyCompressSequences()
2770 … size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, zc->appliedParams.cParams.strategy); in ZSTD_compressBlock_targetCBlockSize_body() local
2772 if (cSize != 0 && cSize < maxCSize + ZSTD_blockHeaderSize) { in ZSTD_compressBlock_targetCBlockSize_body()