Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h378 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument
389 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()
502 …StorePtr, size_t litLength, const BYTE* literals, const BYTE* litLimit, U32 offCode, size_t mlBase) in ZSTD_storeSeq() argument
511 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
545 if (mlBase>0xFFFF) { in ZSTD_storeSeq()
550 seqStorePtr->sequences[0].matchLength = (U16)mlBase; in ZSTD_storeSeq()
H A Dzstd_opt.c264 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local
268 return WEIGHT(mlBase, optLevel) + ((16 + offCode) * BITCOST_MULTIPLIER); in ZSTD_getMatchPrice()
276 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice()
314 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local
315 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats()
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c949 U32 const mlBase = mlDInfo.baseValue; in ZSTD_decodeSequence() local
996 seq.matchLength = mlBase; in ZSTD_decodeSequence()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10226 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument
10237 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode()
10359 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq()
10393 if (mlBase>0xFFFF) { in ZSTD_storeSeq()
10398 seqStorePtr->sequences[0].matchLength = (U16)mlBase; in ZSTD_storeSeq()
20410 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local
20422 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice()
20460 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local
20461 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats()
27238 U32 const mlBase = mlDInfo.baseValue; in ZSTD_decodeSequence() local
[all …]