Home
last modified time | relevance | path

Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance

/linux/lib/lz4/
H A Dlz4hc_compress.c69 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()
659 ctxPtr->lowLimit = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
665 ctxPtr->nextToUpdate = ctxPtr->dictLimit; in LZ4HC_setExternalDict()
685 - ctxPtr->dictLimit; in LZ4_compressHC_continue_generic()
[all …]
/linux/lib/zstd/compress/
H A Dzstd_lazy.c38 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 …]
H A Dzstd_compress_internal.h904 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 …]
H A Dzstd_opt.c428 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 …]
H A Dzstd_ldm.c331 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()
H A Dzstd_fast.c385 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()
H A Dzstd_double_fast.c284 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()
H A Dzstd_compress.c1607 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/include/linux/
H A Dlz4.h124 unsigned int dictLimit; member