Searched refs:lowLimit (Results 1 – 7 of 7) sorted by relevance
| /linux/lib/zstd/compress/ |
| H A D | zstd_compress_internal.h | 257 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 D | zstd_lazy.c | 97 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 D | zstd_fast.c | 722 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 D | zstd_double_fast.c | 628 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 D | zstd_opt.c | 635 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 D | zstd_ldm.c | 354 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()
|
| H A D | zstd_compress.c | 4547 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
|