Lines Matching refs:blockSize
485 size_t blockSize = LZ4F_getBlockSize(bid);
486 unsigned nbBlocks = (unsigned)(srcSize / blockSize) + 1;
487 size_t lastBlockSize = prefsPtr->autoFlush ? srcSize % blockSize : blockSize;
491 return (blockInfo * nbBlocks) + (blockSize * (nbBlocks-1)) + lastBlockSize + frameEnd;;
566 size_t blockSize = cctxPtr->maxBlockSize;
586 size_t sizeToCopy = blockSize - cctxPtr->tmpInSize;
602 dstPtr += LZ4F_compressBlock(dstPtr, cctxPtr->tmpIn, blockSize, compress, cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel);
604 if (cctxPtr->prefs.frameInfo.blockMode==LZ4F_blockLinked) cctxPtr->tmpIn += blockSize;
609 while ((size_t)(srcEnd - srcPtr) >= blockSize)
613 dstPtr += LZ4F_compressBlock(dstPtr, srcPtr, blockSize, compress, cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel);
614 srcPtr += blockSize;
619 /* compress remaining input < blockSize */
641 if ((cctxPtr->tmpIn + blockSize) > (cctxPtr->tmpBuff + cctxPtr->maxBufferSize) /* necessarily LZ4F_blockLinked && lastBlockCompressed==fromTmpBuffer */
648 /* some input data left, necessarily < blockSize */
919 * This function decodes frame header information, such as blockSize.