Home
last modified time | relevance | path

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

/linux/lib/lz4/
H A Dlz4hc_compress.c69 hc4->lowLimit = 64 * KB; in LZ4HC_init()
110 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndFindBestMatch() local
111 ? hc4->lowLimit in LZ4HC_InsertAndFindBestMatch()
121 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndFindBestMatch()
182 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base)) in LZ4HC_InsertAndGetWiderMatch() local
183 ? hc4->lowLimit in LZ4HC_InsertAndGetWiderMatch()
194 while ((matchIndex >= lowLimit) in LZ4HC_InsertAndGetWiderMatch()
241 && (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 …]
H A Dlz4_compress.c189 const BYTE *lowLimit; in LZ4_compress_generic() local
215 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
219 lowLimit = (const BYTE *)source - dictPtr->dictSize; in LZ4_compress_generic()
223 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
271 lowLimit = dictionary; in LZ4_compress_generic()
274 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
293 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic()
338 && (lowLimit == dictionary)) { in LZ4_compress_generic()
406 lowLimit = dictionary; in LZ4_compress_generic()
409 lowLimit = (const BYTE *)source; in LZ4_compress_generic()
[all …]
/linux/lib/zstd/compress/
H A Dzstd_compress_internal.h257 U32 lowLimit; /* below that point, no more valid data */ member
623 ZSTD_selectAddr(U32 index, U32 lowLimit, const BYTE* candidate, const BYTE* backup) in ZSTD_selectAddr() argument
630 : "r"(index), "r"(lowLimit), "r"(backup) in ZSTD_selectAddr()
634 return index >= lowLimit ? candidate : backup; in ZSTD_selectAddr()
1038 window->lowLimit = end; in ZSTD_window_clear()
1045 window.lowLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty()
1055 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
1199 if (window->lowLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow()
1200 window->lowLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow()
1202 window->lowLimit -= correction; in ZSTD_window_correctOverflow()
[all …]
H A Dzstd_lazy.c97 U32 const windowValid = ms->window.lowLimit; in ZSTD_insertDUBT1()
187 U32 const dictLowLimit = dms->window.lowLimit; in ZSTD_DUBT_findBetterDictMatch()
188 U32 const dictIndexDelta = ms->window.lowLimit - dictHighLimit; in ZSTD_DUBT_findBetterDictMatch()
685 const U32 lowestValid = ms->window.lowLimit; in ZSTD_HcFindBestMatch()
688 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_HcFindBestMatch() local
709 for ( ; (matchIndex>=lowLimit) & (nbAttempts>0) ; nbAttempts--) { in ZSTD_HcFindBestMatch()
1161 const U32 lowestValid = ms->window.lowLimit; in ZSTD_RowFindBestMatch()
1164 const U32 lowLimit = isDictionary ? lowestValid : withinMaxDistance; in ZSTD_RowFindBestMatch() local
1235 if (matchIndex < lowLimit) in ZSTD_RowFindBestMatch()
1259 assert(matchIndex >= lowLimit); in ZSTD_RowFindBestMatch()
[all …]
H A Dzstd_fast.c722 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic() local
723 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_fast_extDict_generic()
726 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c628 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic() local
629 const U32 dictStartIndex = lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
631 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c635 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
1496 assert(ms->window.dictLimit == ms->window.lowLimit); /* no dictionary */ in ZSTD_initStats_ultra()
1505 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()
1536 && (ms->window.dictLimit == ms->window.lowLimit) /* no dictionary */ in ZSTD_compressBlock_btultra2()
H A Dzstd_ldm.c354 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
H A Dzstd_compress.c4547 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
/linux/include/linux/
H A Dlz4.h126 unsigned int lowLimit; member