Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c491 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal()
502 ms->nextToUpdate = target; in ZSTD_updateTree_internal()
635 ms->nextToUpdate = current+1; /* skip insertion */ in ZSTD_insertBtAndGetAllMatches()
738 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_insertBtAndGetAllMatches()
755 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtGetAllMatches()
816 U32 nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_opt_generic()
824 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic()
1120 …assert(ms->window.dictLimit - ms->nextToUpdate <= 1); /* no prefix (note: intentional overflow, d… in ZSTD_initStats_ultra()
1129 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_initStats_ultra()
H A Dzstd_ldm.c251 if (current > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
252 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
253 current - MIN(512, current - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
H A Dzstd_compress.c1302 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()
1728 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_resetCCtx_byCopyingCDict()
1819 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_copyCCtx_internal()
2269 if (current > ms->nextToUpdate + 384) in ZSTD_buildSeqStore()
2270 ms->nextToUpdate = current - MIN(192, (U32)(current - ms->nextToUpdate - 384)); in ZSTD_buildSeqStore()
2429 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_internal()
2540 …blockState.matchState.window.dictLimit, (unsigned)zc->blockState.matchState.nextToUpdate, srcSize); in ZSTD_compressBlock_targetCBlockSize()
2568 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; in ZSTD_overflowCorrectIfNeeded()
2569 else ms->nextToUpdate -= correction; in ZSTD_overflowCorrectIfNeeded()
2615 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
[all …]
H A Dzstd_lazy.c35 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT()
56 ms->nextToUpdate = target; in ZSTD_updateDUBT()
368 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
388 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
461 U32 idx = ms->nextToUpdate; in ZSTD_insertAndFindFirstIndex_internal()
470 ms->nextToUpdate = target; in ZSTD_insertAndFindFirstIndex_internal()
H A Dzstd_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTable()
H A Dzstd_double_fast.c26 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable()
H A Dzstd_compress_internal.h146 U32 nextToUpdate; /* index from which to continue table update */ member
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_opt.c537 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal()
548 ms->nextToUpdate = target; in ZSTD_updateTree_internal()
681 ms->nextToUpdate = curr+1; /* skip insertion */ in ZSTD_insertBtAndGetAllMatches()
781 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_insertBtAndGetAllMatches()
809 if (ip < ms->window.base + ms->nextToUpdate) in ZSTD_btGetAllMatches_internal()
1058 U32 nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_opt_generic()
1071 (U32)(ip - base), ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_opt_generic()
1367 …assert(ms->window.dictLimit - ms->nextToUpdate <= 1); /* no prefix (note: intentional overflow, d… in ZSTD_initStats_ultra()
1376 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_initStats_ultra()
H A Dzstd_lazy.c34 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT()
55 ms->nextToUpdate = target; in ZSTD_updateDUBT()
369 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
389 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
405 U32 idx = ms->nextToUpdate; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
499 for (idx = ms->nextToUpdate; idx < target; idx++) { in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
509 ms->nextToUpdate = target; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
628 U32 idx = ms->nextToUpdate; in ZSTD_insertAndFindFirstIndex_internal()
637 ms->nextToUpdate = target; in ZSTD_insertAndFindFirstIndex_internal()
948 U32 idx = ms->nextToUpdate; in ZSTD_row_update_internal()
[all …]
H A Dzstd_ldm.c315 if (curr > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
316 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
317 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
H A Dzstd_compress.c1686 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()
2167 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_resetCCtx_byCopyingCDict()
2269 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_copyCCtx_internal()
2844 if (curr > ms->nextToUpdate + 384) in ZSTD_buildSeqStore()
2845 ms->nextToUpdate = curr - MIN(192, (U32)(curr - ms->nextToUpdate - 384)); in ZSTD_buildSeqStore()
3679 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_splitBlock_internal()
3777 (unsigned)zc->blockState.matchState.nextToUpdate); in ZSTD_compressBlock_internal()
3889 …blockState.matchState.window.dictLimit, (unsigned)zc->blockState.matchState.nextToUpdate, srcSize); in ZSTD_compressBlock_targetCBlockSize()
3917 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; in ZSTD_overflowCorrectIfNeeded()
3918 else ms->nextToUpdate -= correction; in ZSTD_overflowCorrectIfNeeded()
[all …]
H A Dzstd_fast.c24 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillHashTable()
H A Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable()
H A Dzstd_compress_internal.h217 U32 nextToUpdate; /* index from which to continue table update */ member