Home
last modified time | relevance | path

Searched refs:nextToUpdate (Results 1 – 7 of 7) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_lazy.c44 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT()
65 ms->nextToUpdate = target; in ZSTD_updateDUBT()
382 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
403 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
419 U32 idx = ms->nextToUpdate; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
513 for (idx = ms->nextToUpdate; idx < target; idx++) { in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
523 ms->nextToUpdate = target; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
644 U32 idx = ms->nextToUpdate; in ZSTD_insertAndFindFirstIndex_internal()
656 ms->nextToUpdate = target; in ZSTD_insertAndFindFirstIndex_internal()
921 U32 idx = ms->nextToUpdate; in ZSTD_row_update_internal()
[all …]
H A Dzstd_opt.c570 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal()
581 ms->nextToUpdate = target; in ZSTD_updateTree_internal()
717 ms->nextToUpdate = curr+1; /* skip insertion */ in ZSTD_insertBtAndGetAllMatches()
817 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_insertBtAndGetAllMatches()
847 if (ip < ms->window.base + ms->nextToUpdate) in ZSTD_btGetAllMatches_internal()
1099 U32 nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_opt_generic()
1114 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic()
1497 …assert(ms->window.dictLimit - ms->nextToUpdate <= 1); /* no prefix (note: intentional overflow, d… in ZSTD_initStats_ultra()
1506 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_initStats_ultra()
H A Dzstd_ldm.c335 if (curr > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
336 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
337 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
H A Dzstd_compress.c1863 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()
2397 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_resetCCtx_byCopyingCDict()
2500 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_copyCCtx_internal()
3210 if (curr > ms->nextToUpdate + 384) in ZSTD_buildSeqStore()
3211 ms->nextToUpdate = curr - MIN(192, (U32)(curr - ms->nextToUpdate - 384)); in ZSTD_buildSeqStore()
4212 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_splitBlock_internal()
4311 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_internal()
4428 …blockState.matchState.window.dictLimit, (unsigned)zc->blockState.matchState.nextToUpdate, srcSize); in ZSTD_compressBlock_targetCBlockSize()
4456 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; in ZSTD_overflowCorrectIfNeeded()
4457 else ms->nextToUpdate -= correction; in ZSTD_overflowCorrectIfNeeded()
[all …]
H A Dzstd_fast.c26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCDict()
63 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTableForCCtx()
H A Dzstd_double_fast.c29 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCDict()
67 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTableForCCtx()
H A Dzstd_compress_internal.h279 U32 nextToUpdate; /* index from which to continue table update */ member