Home
last modified time | relevance | path

Searched refs:lastBlockSize (Results 1 – 3 of 3) sorted by relevance

/external/lz4/lib/
Dlz4frame.c340 size_t const lastBlockSize = flush ? partialBlockSize : 0; in LZ4F_compressBound_internal() local
341 unsigned const nbBlocks = nbFullBlocks + (lastBlockSize>0); in LZ4F_compressBound_internal()
347 (blockSize * nbFullBlocks) + lastBlockSize + frameEnd; in LZ4F_compressBound_internal()
/external/zstd/lib/compress/
Dzstdmt_compress.c746 …size_t const lastBlockSize = ((lastBlockSize1==0) & (job->src.size>=chunkSize)) ? chunkSize : last… in ZSTDMT_compressionJob() local
748 ZSTD_compressEnd (cctx, op, oend-op, ip, lastBlockSize) : in ZSTDMT_compressionJob()
749 ZSTD_compressContinue(cctx, op, oend-op, ip, lastBlockSize); in ZSTDMT_compressionJob()
Dzstd_compress.c4956 { size_t const lastBlockSize = zcs->frameEnded ? 0 : ZSTD_BLOCKHEADERSIZE; in ZSTD_endStream() local
4958 size_t const toFlush = remainingToFlush + lastBlockSize + checksumSize; in ZSTD_endStream()