Home
last modified time | relevance | path

Searched refs:loadedDictEnd (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_internal.h204 U32 loadedDictEnd; /* index of end of dictionary, within context's referential. member
205 * When loadedDictEnd != 0, a dictionary is in use, and still valid.
206 * This relies on a mechanism to set loadedDictEnd=0 when dictionary is no longer within distance.
209 * loadedDictEnd == dictSize, since referential starts from zero.
256 U32 loadedDictEnd; member
957 U32 loadedDictEnd, in ZSTD_window_canOverflowCorrect()
979 U32 const dictionaryInvalidated = curr > maxDist + loadedDictEnd; in ZSTD_window_canOverflowCorrect()
992 U32 loadedDictEnd, in ZSTD_window_needOverflowCorrection()
998 if (ZSTD_window_canOverflowCorrect(window, cycleLog, maxDist, loadedDictEnd, src)) { in ZSTD_window_needOverflowCorrection()
1090 * (srcEnd - base) - lowLimit == maxDist + loadedDictEnd
954 ZSTD_window_canOverflowCorrect(ZSTD_window_t const window, U32 cycleLog, U32 maxDist, U32 loadedDictEnd, void const* src) ZSTD_window_canOverflowCorrect() argument
989 ZSTD_window_needOverflowCorrection(ZSTD_window_t const window, U32 cycleLog, U32 maxDist, U32 loadedDictEnd, void const* src, void const* srcEnd) ZSTD_window_needOverflowCorrection() argument
1118 U32 const loadedDictEnd = (loadedDictEndPtr != NULL) ? *loadedDictEndPtr : 0; ZSTD_window_enforceMaxDist() local
1165 U32 const loadedDictEnd = *loadedDictEndPtr; ZSTD_checkDictValidity() local
[all...]
H A Dzstd_ldm.c538 if (ZSTD_window_needOverflowCorrection(ldmState->window, 0, maxDist, ldmState->loadedDictEnd, chunkStart, chunkEnd)) { in ZSTD_ldm_generateSequences()
544 ldmState->loadedDictEnd = 0; in ZSTD_ldm_generateSequences()
560 ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
H A Dzstd_compress.c1608 ms->loadedDictEnd = 0; in ZSTD_invalidateMatchState()
1907 zc->ldmState.loadedDictEnd = 0; in ZSTD_resetCCtx_internal()
2009 /* loadedDictEnd is expressed within the referential of the active context */ in ZSTD_resetCCtx_byAttachingCDict()
2010 cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()
2089 dstMatchState->loadedDictEnd= srcMatchState->loadedDictEnd; in ZSTD_resetCCtx_byCopyingCDict()
2191 dstMatchState->loadedDictEnd= srcMatchState->loadedDictEnd; in ZSTD_copyCCtx_internal()
2746 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore()
3818 if (ZSTD_window_needOverflowCorrection(ms->window, cycleLog, maxDist, ms->loadedDictEnd, i in ZSTD_overflowCorrectIfNeeded()
[all...]
H A Dzstd_lazy.c667 const U32 isDictionary = (ms->loadedDictEnd != 0); in ZSTD_HcFindBestMatch()
1141 const U32 isDictionary = (ms->loadedDictEnd != 0); in ZSTD_RowFindBestMatch()
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c62 U32 loadedDictEnd; /* index of end of dictionary */ member
227 cctx->loadedDictEnd = 0; in ZSTD_continueCCtx()
327 zc->loadedDictEnd = 0; in ZSTD_resetCCtx_advanced()
377 dstCCtx->loadedDictEnd = srcCCtx->loadedDictEnd; in ZSTD_copyCCtx()
2394 if ((U32)(ip + blockSize - cctx->base) > cctx->loadedDictEnd + maxDist) { in ZSTD_compress_generic()
2568 zc->loadedDictEnd = zc->forceWindow ? 0 : (U32)(iend - zc->base); in ZSTD_loadDictionaryContent()

Completed in 23 milliseconds