Home
last modified time | relevance | path

Searched refs:maxDist (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h844 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument
870 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow()
872 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow()
885 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow()
886 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow()
922 U32 maxDist, in ZSTD_window_enforceMaxDist() argument
929 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd); in ZSTD_window_enforceMaxDist()
944 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist()
945 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist()
967 U32 maxDist, in ZSTD_checkDictValidity() argument
[all …]
H A Dzstd_ldm.c448 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local
480 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences()
499 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
H A Dzstd_compress.c2814 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local
2816 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_overflowCorrectIfNeeded()
2848 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local
2867 …ZSTD_checkDictValidity(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd, &ms->dictMatchSta… in ZSTD_compress_frameChunk()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10709 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow()
10711 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow()
10724 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow()
10725 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow()
10761 U32 maxDist, in ZSTD_window_enforceMaxDist() argument
10783 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist()
10784 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist()
10806 U32 maxDist, in ZSTD_checkDictValidity() argument
10818 if (blockEndIdx > loadedDictEnd + maxDist) { in ZSTD_checkDictValidity()
15642 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local
[all …]