Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/lib/lz4/ |
A D | lz4hc_compress.c | 69 hc4->dictLimit = 64 * KB; in LZ4HC_init() 110 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndFindBestMatch() local 125 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch() 144 + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() 153 base + dictLimit, in LZ4HC_InsertAndFindBestMatch() 181 const U32 dictLimit = hc4->dictLimit; in LZ4HC_InsertAndGetWiderMatch() local 198 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.3-rc2/lib/zstd/compress/ |
A D | zstd_lazy.c | 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local 78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1() 79 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertDUBT1() 80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() 92 curr, dictLimit, windowLow); in ZSTD_insertDUBT1() 111 || (curr < dictLimit) ); in ZSTD_insertDUBT1() 300 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local 660 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch() local 1134 const U32 dictLimit = ms->window.dictLimit; in ZSTD_RowFindBestMatch() local [all …]
|
A D | zstd_compress_internal.h | 904 window->dictLimit = end; in ZSTD_window_clear() 920 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1068 window->dictLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow() 1070 window->dictLimit -= correction; in ZSTD_window_correctOverflow() 1078 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow() 1138 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist() 1141 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist() 1218 window->lowLimit = window->dictLimit; in ZSTD_window_update() 1220 window->dictLimit = (U32)distanceFromBase; in ZSTD_window_update() 1224 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update() [all …]
|
A D | zstd_opt.c | 428 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local 429 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBt1() 430 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1() 491 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBt1() 580 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() local 581 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches() 617 assert(curr >= dictLimit); in ZSTD_insertBtAndGetAllMatches() 704 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches() 1374 ms->window.dictLimit += (U32)srcSize; in ZSTD_initStats_ultra() 1375 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra() [all …]
|
A D | zstd_ldm.c | 331 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local 332 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal() 336 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL; in ZSTD_ldm_generateSequences_internal() 337 BYTE const* const lowPrefixPtr = base + dictLimit; in ZSTD_ldm_generateSequences_internal() 411 cur->offset < dictLimit ? dictBase : base; in ZSTD_ldm_generateSequences_internal() 414 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal() 416 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
|
A D | zstd_fast.c | 385 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 395 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() 566 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local 567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
|
A D | zstd_double_fast.c | 284 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 296 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 549 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local 550 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
A D | zstd_compress.c | 1607 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState() 1994 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 2004 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict() 2010 … cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict() 2746 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore() 3587 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_splitBlock_internal() 3685 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal() 3798 …(unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockSt… in ZSTD_compressBlock_targetCBlockSize() 4047 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_compressContinue_internal()
|
/linux-6.3-rc2/include/linux/ |
A D | lz4.h | 124 unsigned int dictLimit; member
|
Completed in 47 milliseconds