Lines Matching refs:windowLog

235         if (cParams->windowLog > 14) mode = ZSTD_ps_enable;  in ZSTD_resolveRowMatchFinderMode()
237 if (cParams->windowLog > 17) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode()
246 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode()
267 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm()
702 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
703 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
890 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter()
1165 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams()
1187 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams()
1213 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog() argument
1218 return windowLog; in ZSTD_dictAndWindowLog()
1220 assert(windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_dictAndWindowLog()
1223 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog()
1230 return windowLog; /* Window size large enough already */ in ZSTD_dictAndWindowLog()
1290 if (cPar.windowLog > srcLog) cPar.windowLog = srcLog; in ZSTD_adjustCParams_internal()
1293 … U32 const dictAndWindowLog = ZSTD_dictAndWindowLog(cPar.windowLog, (U64)srcSize, (U64)dictSize); in ZSTD_adjustCParams_internal()
1300 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams_internal()
1301 … cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* minimum wlog required for valid frame header */ in ZSTD_adjustCParams_internal()
1323 if (overrides->windowLog) cParams->windowLog = overrides->windowLog; in ZSTD_overrideCParams()
1340 …if (CCtxParams->ldmParams.enableLdm == ZSTD_ps_enable) cParams.windowLog = ZSTD_LDM_DEFAULT_WINDOW… in ZSTD_getCParamsFromCCtxParams()
1358 …onst hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_sizeof_matchState()
1398 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1496 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams()
1498 ? ((size_t)1 << cParams.windowLog) + blockSize in ZSTD_estimateCStreamSize_usingCCtxParams()
1579 assert(cParams1.windowLog == cParams2.windowLog); in ZSTD_assertEqualCParams()
1656 …= ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_reset_matchState()
1757 …(U32)pledgedSrcSize, params->cParams.windowLog, (int)params->useRowMatchFinder, (int)params->useBl… in ZSTD_resetCCtx_internal()
1778 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrc… in ZSTD_resetCCtx_internal()
1972 unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byAttachingCDict() local
1973 assert(windowLog != 0); in ZSTD_resetCCtx_byAttachingCDict()
1984 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byAttachingCDict()
2034 { unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byCopyingCDict() local
2035 assert(windowLog != 0); in ZSTD_resetCCtx_byCopyingCDict()
2038 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byCopyingCDict()
2153 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
2491 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_entropyCompressSeqStore_internal()
3817 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded()
3851 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk()
3853 assert(cctx->appliedParams.cParams.windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_compress_frameChunk()
3927 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader()
3929 … BYTE const windowLogByte = (BYTE)((params->cParams.windowLog - ZSTD_WINDOWLOG_ABSOLUTEMIN) << 3); in ZSTD_writeFrameHeader()
4094 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize()
4407 DEBUGLOG(4, "ZSTD_compressBegin_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_internal()
4450 DEBUGLOG(4, "ZSTD_compressBegin_advanced_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_advanced_internal()
4968 cctxParams.cParams.windowLog = MAX(cctxParams.cParams.windowLog, limitedSrcLog); in ZSTD_compressBegin_usingCDict_internal()
5566 size_t posInSrc, U32 windowLog, size_t dictSize) in ZSTD_validateSequence() argument
5568 U32 const windowSize = 1 << windowLog; in ZSTD_validateSequence()
5631 cctx->appliedParams.cParams.windowLog, dictSize), in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5754 cctx->appliedParams.cParams.windowLog, dictSize), in ZSTD_copySequencesToSeqStoreNoBlockDelim()