Lines Matching refs:maxDist
10681 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument
10707 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow()
10709 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow()
10722 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow()
10723 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow()
10759 U32 maxDist, in ZSTD_window_enforceMaxDist() argument
10766 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd); in ZSTD_window_enforceMaxDist()
10781 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist()
10782 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist()
10804 U32 maxDist, in ZSTD_checkDictValidity() argument
10813 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd); in ZSTD_checkDictValidity()
10816 if (blockEndIdx > loadedDictEnd + maxDist) { in ZSTD_checkDictValidity()
15640 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local
15642 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_overflowCorrectIfNeeded()
15674 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local
15693 …ZSTD_checkDictValidity(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd, &ms->dictMatchSta… in ZSTD_compress_frameChunk()
19956 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local
19988 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences()
20007 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()