Home
last modified time | relevance | path

Searched refs:lowLimit (Results 1 – 8 of 8) sorted by relevance

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h794 window->lowLimit = end; in ZSTD_window_clear()
804 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
879 if (window->lowLimit <= correction) window->lowLimit = 1; in ZSTD_window_correctOverflow()
880 else window->lowLimit -= correction; in ZSTD_window_correctOverflow()
888 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
892 window->lowLimit); in ZSTD_window_correctOverflow()
946 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
950 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist()
1024 window->lowLimit = window->dictLimit; 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_fast.c390 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local
391 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic()
394 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c376 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local
377 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
379 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_lazy.c86 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1()
175 U32 const dictLowLimit = dms->window.lowLimit; in ZSTD_DUBT_findBetterDictMatch()
176 U32 const dictIndexDelta = ms->window.lowLimit - dictHighLimit; in ZSTD_DUBT_findBetterDictMatch()
614 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch_generic()
617 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch_generic() local
638 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch_generic()
1219 const BYTE* const dictStart = dictBase + ms->window.lowLimit; in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_opt.c394 U32 const windowLow = ms->window.lowLimit; in ZSTD_insertBt1()
552 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
1263 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra()
1272 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
1305 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
H A Dzstd_ldm.c284 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstdmt_compress.c1550 extDict.start = window.dictBase + window.lowLimit; in ZSTDMT_doesOverlapWindow()
1551 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()
H A Dzstd_compress.c2870 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()