Lines Matching refs:maxBlockSize
120 size_t maxBlockSize; member
135 size_t maxBlockSize; member
229 size_t maxBlockSize = 64 KB; in LZ4F_compressFrameBound() local
232 if (srcSize <= maxBlockSize) in LZ4F_compressFrameBound()
238 maxBlockSize <<= 2; in LZ4F_compressFrameBound()
276 size_t maxBlockSize = 64 KB; in LZ4F_compressFrame() local
279 if (srcSize <= maxBlockSize) in LZ4F_compressFrame()
285 maxBlockSize <<= 2; in LZ4F_compressFrame()
392 cctxPtr->maxBlockSize = LZ4F_getBlockSize(cctxPtr->prefs.frameInfo.blockSizeID); in LZ4F_compressBegin()
394 …requiredBuffSize = cctxPtr->maxBlockSize + ((cctxPtr->prefs.frameInfo.blockMode == blockLinked) * … in LZ4F_compressBegin()
523 size_t blockSize = cctxPtr->maxBlockSize; in LZ4F_compressUpdate()
652 …if ((cctxPtr->tmpIn + cctxPtr->maxBlockSize) > (cctxPtr->tmpBuff + cctxPtr->maxBufferSize)) /* n… in LZ4F_flush()
777 dctxPtr->maxBlockSize = LZ4F_getBlockSize(blockSizeID); in LZ4F_decodeHeader()
783 bufferNeeded = dctxPtr->maxBlockSize + ((dctxPtr->frameInfo.blockMode==blockLinked) * 128 KB); in LZ4F_decodeHeader()
789 dctxPtr->tmpIn = ALLOCATOR(dctxPtr->maxBlockSize); in LZ4F_decodeHeader()
1066 …if (nextCBlockSize > dctxPtr->maxBlockSize) return (size_t)-ERROR_GENERIC; /* invalid cBlockSize… in LZ4F_decompress()
1141 …if ((size_t)(dstEnd-dstPtr) < dctxPtr->maxBlockSize) /* not enough place into dst : decode into … in LZ4F_decompress()
1158 …*)selectedIn, (char*)dstPtr, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)d… in LZ4F_decompress()
1203 …dIn, (char*)dctxPtr->tmpOut, (int)dctxPtr->tmpInTarget, (int)dctxPtr->maxBlockSize, (const char*)d… in LZ4F_decompress()