Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/contrib/zstd/lib/compress/
HDzstd_compress_internal.h148 U32 lowLimit; /* below that point, no more valid data */ member
794 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()
947 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()
949 (unsigned)window->dictLimit, (unsigned)window->lowLimit); in ZSTD_window_enforceMaxDist()
[all …]
HDzstd_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()
HDzstd_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()
HDzstd_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()
HDzstd_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()
HDzstd_ldm.c284 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
HDzstdmt_compress.c1550 extDict.start = window.dictBase + window.lowLimit; in ZSTDMT_doesOverlapWindow()
1551 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()
HDzstd_compress.c2870 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/lz4/
HDlz4.c483 const BYTE* lowLimit; in LZ4_compress_generic() local
505 lowLimit = (const BYTE*)source; in LZ4_compress_generic()
509 lowLimit = (const BYTE*)source - cctx->dictSize; in LZ4_compress_generic()
513 lowLimit = (const BYTE*)source; in LZ4_compress_generic()
545 lowLimit = dictionary; in LZ4_compress_generic()
548 lowLimit = (const BYTE*)source; in LZ4_compress_generic()
559 …while (((ip>anchor) & (match+refDelta > lowLimit)) && (unlikely(ip[-1]==match[refDelta-1]))) { ip-… in LZ4_compress_generic()
587 if ((dict==usingExtDict) && (lowLimit==dictionary)) { in LZ4_compress_generic()
631 lowLimit = dictionary; in LZ4_compress_generic()
634 lowLimit = (const BYTE*)source; in LZ4_compress_generic()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/
HDzstd.c10041 U32 lowLimit; /* below that point, no more valid data */ member
10631 window->lowLimit = end; in ZSTD_window_clear()
10641 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
10716 if (window->lowLimit <= correction) window->lowLimit = 1; in ZSTD_window_correctOverflow()
10717 else window->lowLimit -= correction; in ZSTD_window_correctOverflow()
10725 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
10729 window->lowLimit); in ZSTD_window_correctOverflow()
10783 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
10784 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()
10786 (unsigned)window->dictLimit, (unsigned)window->lowLimit); in ZSTD_window_enforceMaxDist()
[all …]