Lines Matching refs:maxBlockSize

275 static size_t ZSTD_resolveMaxBlockSize(size_t maxBlockSize) {  in ZSTD_resolveMaxBlockSize()  argument
276 if (maxBlockSize == 0) { in ZSTD_resolveMaxBlockSize()
279 return maxBlockSize; in ZSTD_resolveMaxBlockSize()
316 cctxParams.maxBlockSize = ZSTD_resolveMaxBlockSize(cctxParams.maxBlockSize); in ZSTD_makeCCtxParamsFromCParams()
384 cctxParams->maxBlockSize = ZSTD_resolveMaxBlockSize(cctxParams->maxBlockSize); in ZSTD_CCtxParams_init_internal()
965 CCtxParams->maxBlockSize = (size_t)value; in ZSTD_CCtxParams_setParameter()
966 return CCtxParams->maxBlockSize; in ZSTD_CCtxParams_setParameter()
1097 *value = (int)CCtxParams->maxBlockSize; in ZSTD_CCtxParams_getParameter()
1647 size_t maxBlockSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument
1650 size_t const blockSize = MIN(ZSTD_resolveMaxBlockSize(maxBlockSize), windowSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1702 …eRowMatchFinder, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_estimateCCtxSize_usingCCtxParams()
1752 …size_t const blockSize = MIN(ZSTD_resolveMaxBlockSize(params->maxBlockSize), (size_t)1 << cParams.… in ZSTD_estimateCStreamSize_usingCCtxParams()
1763 ZSTD_CONTENTSIZE_UNKNOWN, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_estimateCStreamSize_usingCCtxParams()
2049 assert(params->maxBlockSize != 0); in ZSTD_resetCCtx_internal()
2058 size_t const blockSize = MIN(params->maxBlockSize, windowSize); in ZSTD_resetCCtx_internal()
2076 … buffInSize, buffOutSize, pledgedSrcSize, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_resetCCtx_internal()
2459 params.maxBlockSize = srcCCtx->appliedParams.maxBlockSize; in ZSTD_copyCCtx_internal()
4787 return MIN(cctx->appliedParams.maxBlockSize, (size_t)1 << cParams.windowLog); in ZSTD_getBlockSize_deprecated()
6261 params.maxBlockSize = ZSTD_resolveMaxBlockSize(params.maxBlockSize); in ZSTD_CCtx_init_compressStream2()