Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/lib/lz4/ |
H 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 182 const BYTE * const lowPrefixPtr = base + dictLimit; in LZ4HC_InsertAndGetWiderMatch() 198 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndGetWiderMatch() 230 const BYTE *vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndGetWiderMatch() 239 mlt += LZ4_count(ip + mlt, base + dictLimit, in LZ4HC_InsertAndGetWiderMatch() [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT() 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ in ZSTD_updateDUBT() 76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local 77 const BYTE* const ip = (curr>=dictLimit) ? base + curr : dictBase + curr; in ZSTD_insertDUBT1() 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() 105 || (matchIndex+matchLength >= dictLimit) /* both in current segment*/ in ZSTD_insertDUBT1() 106 || (curr < dictLimit) /* both in extDict */) { in ZSTD_insertDUBT1() [all …]
|
H A D | zstd_compress_internal.h | 188 U32 dictLimit; /* below that point, need extDict */ member 904 window->dictLimit = end; in ZSTD_window_clear() 909 return window.dictLimit == ZSTD_WINDOW_START_INDEX && in ZSTD_window_isEmpty() 920 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict() 1067 if (window->dictLimit < correction + ZSTD_WINDOW_START_INDEX) { in ZSTD_window_correctOverflow() 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() 1140 (unsigned)window->dictLimit, (unsigned)window->lowLimit); in ZSTD_window_enforceMaxDist() [all …]
|
H 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() 484 if (!extDict || (matchIndex+matchLength >= dictLimit)) { in ZSTD_insertBt1() 485 assert(matchIndex+matchLength >= dictLimit); /* might be wrong if actually extDict */ 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() 582 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches() 617 assert(curr >= dictLimit); in ZSTD_insertBtAndGetAllMatches() [all …]
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
/openbmc/linux/include/linux/ |
H A D | lz4.h | 124 unsigned int dictLimit; member
|