Home
last modified time | relevance | path

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

/linux-6.1.9/lib/lz4/
Dlz4hc_compress.c70 hc4->lowLimit = 64 * KB; in LZ4HC_init()
111 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndFindBestMatch() local
112 ? hc4->lowLimit in LZ4HC_InsertAndFindBestMatch()
122 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
183 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndGetWiderMatch() local
184 ? hc4->lowLimit in LZ4HC_InsertAndGetWiderMatch()
195 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
242 && (matchIndex + back > lowLimit) in LZ4HC_InsertAndGetWiderMatch()
658 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
698 const BYTE * const dictBegin = ctxPtr->dictBase + ctxPtr->lowLimit; in LZ4_compressHC_continue_generic()
[all …]
Dlz4_compress.c190 const BYTE *lowLimit; in LZ4_compress_generic() local
216 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
220 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic()
224 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
272 lowLimit = dictionary; in LZ4_compress_generic()
275 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
294 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic()
339 && (lowLimit == dictionary)) { in LZ4_compress_generic()
407 lowLimit = dictionary; in LZ4_compress_generic()
410 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
[all …]
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_internal.h142 U32 lowLimit; /* below that point, no more valid data */ member
777 window->lowLimit = end; in ZSTD_window_clear()
787 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
862 if (window->lowLimit <= correction) window->lowLimit = 1; in ZSTD_window_correctOverflow()
863 else window->lowLimit -= correction; in ZSTD_window_correctOverflow()
871 assert(window->lowLimit <= newCurrent); in ZSTD_window_correctOverflow()
875 window->lowLimit); in ZSTD_window_correctOverflow()
929 if (window->lowLimit < newLowLimit) window->lowLimit = newLowLimit; in ZSTD_window_enforceMaxDist()
930 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()
932 (unsigned)window->dictLimit, (unsigned)window->lowLimit); in ZSTD_window_enforceMaxDist()
[all …]
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()
Dzstd_double_fast.c374 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local
375 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
377 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
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()
615 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch_generic()
618 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch_generic() local
639 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch_generic()
1221 const BYTE* const dictStart = dictBase + ms->window.lowLimit; in ZSTD_compressBlock_lazy_extDict_generic()
Dzstd_opt.c406 U32 const windowLow = ms->window.lowLimit; in ZSTD_insertBt1()
564 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
1276 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra()
1285 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
1318 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
Dzstd_ldm.c305 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
Dzstd_compress.c2819 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/linux-6.1.9/include/linux/
Dlz4.h126 unsigned int lowLimit; member