Home
last modified time | relevance | path

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

/linux/lib/lz4/
H A Dlz4hc_compress.c68 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
181 const BYTE * const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch()
197 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch()
[all...]
/linux/lib/zstd/compress/
H A Dzstd_lazy.c47 DEBUGLOG(7, "ZSTD_updateDUBT, from %u to %u (dictLimit:%u)", in ZSTD_updateDUBT()
48 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT()
52 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT()
87 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local
88 const BYTE* const ip = (curr>=dictLimit) ? base + curr : dictBase + curr; in ZSTD_insertDUBT1()
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()
313 const U32 dictLimit = ms->window.dictLimit; ZSTD_DUBT_findBestMatch() local
534 ZSTD_dedicatedDictSearch_lazy_search(size_t * offsetPtr,size_t ml,U32 nbAttempts,const ZSTD_MatchState_t * const dms,const BYTE * const ip,const BYTE * const iLimit,const BYTE * const prefixStart,const U32 curr,const U32 dictLimit,const size_t ddsIdx) ZSTD_dedicatedDictSearch_lazy_search() argument
680 const U32 dictLimit = ms->window.dictLimit; ZSTD_HcFindBestMatch() local
1156 const U32 dictLimit = ms->window.dictLimit; ZSTD_RowFindBestMatch() local
1950 const U32 dictLimit = ms->window.dictLimit; ZSTD_compressBlock_lazy_extDict_generic() local
[all...]
H A Dzstd_compress_internal.h256 U32 dictLimit; /* below that point, need extDict */ member
1039 window->dictLimit = end; in ZSTD_window_clear()
1044 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty()
1055 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()
1204 if (window->dictLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow()
1205 window->dictLimit = ZSTD_WINDOW_START_INDEX; in ZSTD_window_correctOverflow()
1207 window->dictLimit -= correction; in ZSTD_window_correctOverflow()
1213 /* Ensure that lowLimit and dictLimit didn't underflow. */ in ZSTD_window_correctOverflow()
1215 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow()
1242 * In normal dict mode, the dictionary lies between lowLimit and dictLimit
[all...]
H A Dzstd_opt.c460 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()
516 if (!extDict || (matchIndex+matchLength >= dictLimit)) { in ZSTD_insertBt1()
517 assert(matchIndex+matchLength >= dictLimit); /* might be wrong if actually extDict */ 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()
[all...]
H A Dzstd_ldm.c353 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 Dzstd_fast.c496 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 Dzstd_double_fast.c355 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 Dzstd_compress.c1863 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()
4210 DEBUGLOG(5, "ZSTD_compressBlock_splitBlock_internal (dstCapacity=%u, dictLimit=%u, nextToUpdate=%u)", in ZSTD_compressBlock_splitBlock_internal()
4211 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_splitBlock_internal()
4309 DEBUGLOG(5, "ZSTD_compressBlock_internal (dstCapacity=%u, dictLimit=%u, nextToUpdate=%u)", in ZSTD_compressBlock_internal()
4310 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal()
4427 DEBUGLOG(5, "ZSTD_compressBlock_targetCBlockSize (dstCapacity=%u, dictLimit in ZSTD_compressBlock_targetCBlockSize()
[all...]
/linux/include/linux/
H A Dlz4.h124 unsigned int dictLimit; member