Lines Matching refs:maxBufferSize
230 size_t maxBufferSize; member
446 …cctx.maxBufferSize = 5 MB; /* mess with real buffer size to prevent dynamic allocation; works on… in LZ4F_compressFrame()
650 if (cctxPtr->maxBufferSize < requiredBuffSize) { in LZ4F_compressBegin_usingCDict()
651 cctxPtr->maxBufferSize = 0; in LZ4F_compressBegin_usingCDict()
655 cctxPtr->maxBufferSize = requiredBuffSize; in LZ4F_compressBegin_usingCDict()
905 …if ((cctxPtr->tmpIn + blockSize) > (cctxPtr->tmpBuff + cctxPtr->maxBufferSize) /* necessarily LZ… in LZ4F_compressUpdate()
966 …if ((cctxPtr->tmpIn + cctxPtr->maxBlockSize) > (cctxPtr->tmpBuff + cctxPtr->maxBufferSize)) { /* … in LZ4F_flush()
1010 cctxPtr->maxBufferSize = 0; /* reuse HC context */ in LZ4F_compressEnd()
1043 size_t maxBufferSize; member
1331 if (dctx->dictSize + dstSize > dctx->maxBufferSize) { /* tmp buffer not large enough */ in LZ4F_updateDict()
1434 if (bufferNeeded > dctx->maxBufferSize) { /* tmp buffers too small */ in LZ4F_decompress()
1435 … dctx->maxBufferSize = 0; /* ensure allocation will be re-attempted on next entry*/ in LZ4F_decompress()
1444 dctx->maxBufferSize = bufferNeeded; in LZ4F_decompress()