Home
last modified time | relevance | path

Searched refs:mlBase (Results 1 – 3 of 3) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/lib/compress/
Dzstd_compress_internal.h262 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument
273 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()
281 …Seq(seqStore_t* seqStorePtr, size_t litLength, const void* literals, U32 offsetCode, size_t mlBase) in ZSTD_storeSeq() argument
288 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offsetCode); in ZSTD_storeSeq()
308 if (mlBase>0xFFFF) { in ZSTD_storeSeq()
313 seqStorePtr->sequences[0].matchLength = (U16)mlBase; in ZSTD_storeSeq()
Dzstd_opt.c176 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local
180 return ZSTD_highbit32((U32)mlBase+1) + 16 + offCode; in ZSTD_getMatchPrice()
186 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice()
219 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local
220 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats()
/freebsd-12-stable/sys/contrib/zstd/lib/decompress/
Dzstd_decompress.c1276 U32 const mlBase = seqState->stateML.table[seqState->stateML.state].baseValue; in ZSTD_decodeSequence() local
1318 seq.matchLength = mlBase in ZSTD_decodeSequence()
1418 U32 const mlBase = seqState->stateML.table[seqState->stateML.state].baseValue; in ZSTD_decodeSequenceLong() local
1459 …seq.matchLength = mlBase + ((mlBits>0) ? BIT_readBitsFast(&seqState->DStream, mlBits) : 0); /* <=… in ZSTD_decodeSequenceLong()