Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h132 U32 lowLimit; /* below that point, no more valid data */ member
722 window->lowLimit = end; in ZSTD_window_clear()
732 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
807 if (window->lowLimit <= correction) window->lowLimit = 1; in ZSTD_window_correctOverflow()
808 else window->lowLimit -= correction; in ZSTD_window_correctOverflow()
816 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
820 window->lowLimit); in ZSTD_window_correctOverflow()
874 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
875 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()
877 (unsigned)window->dictLimit, (unsigned)window->lowLimit); in ZSTD_window_enforceMaxDist()
[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()
498 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch_generic()
501 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch_generic() local
509 for ( ; (matchIndex>lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch_generic()
945 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()
1118 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra()
1127 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
1160 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
H A Dzstd_ldm.c270 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstd_compress.c2614 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h195 U32 lowLimit; /* below that point, no more valid data */ member
959 window->lowLimit = end; in ZSTD_window_clear()
966 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty()
976 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
1118 if (window->lowLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow()
1119 window->lowLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow()
1121 window->lowLimit -= correction; in ZSTD_window_correctOverflow()
1133 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
1139 window->lowLimit); in ZSTD_window_correctOverflow()
1193 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
[all …]
H A Dzstd_fast.c563 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local
564 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic()
567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c547 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local
548 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
550 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()
665 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch()
668 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch() local
689 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch()
1148 const U32 lowestValid = ms->window.lowLimit; in ZSTD_RowFindBestMatch()
1151 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_RowFindBestMatch() local
1208 if (matchIndex < lowLimit) in ZSTD_RowFindBestMatch()
1231 assert(matchIndex >= lowLimit); in ZSTD_RowFindBestMatch()
[all …]
H A Dzstd_opt.c599 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
1366 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra()
1375 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
1406 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
H A Dzstd_ldm.c332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstdmt_compress.c1584 extDict.start = window.dictBase + window.lowLimit; in ZSTDMT_doesOverlapWindow()
1585 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()
H A Dzstd_compress.c3965 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()