Home
last modified time | relevance | path

Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_lazy.c38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT()
76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local
78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1()
79 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertDUBT1()
80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1()
92 curr, dictLimit, windowLow); in ZSTD_insertDUBT1()
111 || (curr < dictLimit) ); in ZSTD_insertDUBT1()
117 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertDUBT1()
300 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local
609 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch_generic() local
[all …]
H A Dzstd_compress_internal.h795 window->dictLimit = end; in ZSTD_window_clear()
804 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
881 if (window->dictLimit <= correction) window->dictLimit = 1; in ZSTD_window_correctOverflow()
882 else window->dictLimit -= correction; in ZSTD_window_correctOverflow()
889 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow()
947 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()
950 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist()
1024 window->lowLimit = window->dictLimit; in ZSTD_window_update()
1026 window->dictLimit = (U32)distanceFromBase; in ZSTD_window_update()
1030 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update()
[all …]
H A Dzstd_opt.c385 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local
386 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBt1()
387 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1()
444 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBt1()
533 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() local
534 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches()
570 assert(curr >= dictLimit); in ZSTD_insertBtAndGetAllMatches()
657 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches()
1271 ms->window.dictLimit += (U32)srcSize; in ZSTD_initStats_ultra()
1272 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
[all …]
H A Dzstd_ldm.c283 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local
284 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
288 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL; in ZSTD_ldm_generateSequences_internal()
289 BYTE const* const lowPrefixPtr = base + dictLimit; in ZSTD_ldm_generateSequences_internal()
339 cur->offset < dictLimit ? dictBase : base; in ZSTD_ldm_generateSequences_internal()
342 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal()
344 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
H A Dzstd_fast.c220 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()
230 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()
393 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local
394 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c83 dms->window.dictLimit : 0; in ZSTD_compressBlock_doubleFast_generic()
105 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_generic()
378 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
379 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_compress.c1492 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()
1835 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()
1845 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict()
1851 … cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()
2465 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore()
2676 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal()
2795 …(unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockSt… in ZSTD_compressBlock_targetCBlockSize()
3014 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_compressContinue_internal()
H A Dzstdmt_compress.c1551 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()
1553 prefix.start = window.base + window.dictLimit; in ZSTDMT_doesOverlapWindow()
1554 prefix.size = window.nextSrc - (window.base + window.dictLimit); in ZSTDMT_doesOverlapWindow()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10720 if (window->dictLimit <= correction) window->dictLimit = 1; in ZSTD_window_correctOverflow()
17742 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
18280 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local
18281 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
18461 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local
18684 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local
18878 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch_generic() local
19326 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_lazy_extDict_generic() local
19794 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local
20531 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local
[all …]