Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/lib/lz4/ |
| H A D | lz4hc_compress.c | 68 hc4->dictLimit = 64 * KB; in LZ4HC_init() 109 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch() local 124 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch() 143 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() 152 base + dictLimit, in LZ4HC_InsertAndFindBestMatch() 180 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndGetWiderMatch() local 197 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch() 658 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4HC_setExternalDict() 664 ctxPtr->nextToUpdate = ctxPtr->dictLimit; in LZ4HC_setExternalDict() 684 - ctxPtr->dictLimit; in LZ4_compressHC_continue_generic() [all …]
|
| /linux-6.15/lib/zstd/compress/ |
| H A D | zstd_lazy.c | 48 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 87 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local 89 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() 90 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertDUBT1() 91 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() 103 curr, dictLimit, windowLow); in ZSTD_insertDUBT1() 122 || (curr < dictLimit) ); in ZSTD_insertDUBT1() 313 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local 680 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch() local 1156 const U32 dictLimit = ms->window.dictLimit; in ZSTD_RowFindBestMatch() local [all …]
|
| H A D | zstd_compress_internal.h | 1039 window->dictLimit = end; in ZSTD_window_clear() 1055 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1205 window->dictLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow() 1207 window->dictLimit -= correction; in ZSTD_window_correctOverflow() 1215 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow() 1275 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist() 1278 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist() 1362 window->lowLimit = window->dictLimit; in ZSTD_window_update() 1364 window->dictLimit = (U32)distanceFromBase; in ZSTD_window_update() 1368 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update() [all …]
|
| H A D | zstd_opt.c | 460 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local 461 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBt1() 462 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1() 523 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBt1() 616 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() local 617 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches() 653 assert(curr >= dictLimit); in ZSTD_insertBtAndGetAllMatches() 740 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches() 1504 ms->window.dictLimit += (U32)srcSize; in ZSTD_initStats_ultra() 1505 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra() [all …]
|
| H A D | zstd_ldm.c | 353 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local 354 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal() 358 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL; in ZSTD_ldm_generateSequences_internal() 359 BYTE const* const lowPrefixPtr = base + dictLimit; in ZSTD_ldm_generateSequences_internal() 433 cur->offset < dictLimit ? dictBase : base; in ZSTD_ldm_generateSequences_internal() 436 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal() 438 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
|
| H A D | zstd_fast.c | 496 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 505 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 725 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local 726 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
|
| H A D | zstd_double_fast.c | 355 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 367 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 630 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local 631 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
| H A D | zstd_compress.c | 1863 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState() 2284 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 2294 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict() 2300 … cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 3203 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore() 4211 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_splitBlock_internal() 4310 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal() 4428 …(unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockSt… in ZSTD_compressBlock_targetCBlockSize() 4733 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_compressContinue_internal()
|
| /linux-6.15/include/linux/ |
| H A D | lz4.h | 124 unsigned int dictLimit; member
|