Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c228 ms->nextToUpdate = (U32)(iend - ms->window.base); in ZSTD_ldm_fillFastTables()
233 ms->nextToUpdate = (U32)(iend - ms->window.base); in ZSTD_ldm_fillFastTables()
285 if (current > ms->nextToUpdate + 1024) { in ZSTD_ldm_limitTableUpdate()
286 ms->nextToUpdate = in ZSTD_ldm_limitTableUpdate()
287 current - MIN(512, current - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
631 ms->nextToUpdate = (U32)(ip - base); in ZSTD_ldm_blockCompress()
650 ms->nextToUpdate = (U32)(iend - base); in ZSTD_ldm_blockCompress()
H A Dzstd_lazy.c33 U32 idx = ms->nextToUpdate; in ZSTD_updateDUBT()
54 ms->nextToUpdate = target; in ZSTD_updateDUBT()
263 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_DUBT_findBestMatch()
282 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch()
312 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtFindBestMatch_extDict()
352 U32 idx = ms->nextToUpdate; in ZSTD_insertAndFindFirstIndex_internal()
361 ms->nextToUpdate = target; in ZSTD_insertAndFindFirstIndex_internal()
484 ms->nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_lazy_generic()
654 ms->nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_lazy_extDict_generic()
H A Dzstd_opt.c388 U32 idx = ms->nextToUpdate; in ZSTD_updateTree_internal()
394 ms->nextToUpdate = target; in ZSTD_updateTree_internal()
499 ms->nextToUpdate = current+1; /* skip insertion */ in ZSTD_insertBtAndGetAllMatches()
556 ms->nextToUpdate = matchEndIdx - 8; /* skip repetitive patterns */ in ZSTD_insertBtAndGetAllMatches()
569 if (ip < ms->window.base + ms->nextToUpdate) return 0; /* skipped area */ in ZSTD_BtGetAllMatches()
690 ms->nextToUpdate3 = ms->nextToUpdate; in ZSTD_compressBlock_opt_generic()
H A Dzstd_compress.c868 ms->nextToUpdate = ms->window.dictLimit + 1; in ZSTD_invalidateMatchState()
1141 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_resetCCtx_usingCDict()
1198 dstMatchState->nextToUpdate = srcMatchState->nextToUpdate; in ZSTD_copyCCtx_internal()
1896 (U32)dstCapacity, ms->window.dictLimit, ms->nextToUpdate); in ZSTD_compressBlock_internal()
1907 if (current > ms->nextToUpdate + 384) in ZSTD_compressBlock_internal()
1908 ms->nextToUpdate = current - MIN(192, (U32)(current - ms->nextToUpdate - 384)); in ZSTD_compressBlock_internal()
2010 if (ms->nextToUpdate < correction) ms->nextToUpdate = 0; in ZSTD_compress_frameChunk()
2011 else ms->nextToUpdate -= correction; in ZSTD_compress_frameChunk()
2015 if (ms->nextToUpdate < ms->window.lowLimit) ms->nextToUpdate = ms->window.lowLimit; in ZSTD_compress_frameChunk()
2144 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_compressContinue_internal()
[all …]
H A Dzstd_fast.c23 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.h117 U32 nextToUpdate; /* index from which to continue table update */ member