Searched refs:mlBase (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 378 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 D | zstd_opt.c | 264 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()
|
| /freebsd-13.1/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 949 U32 const mlBase = mlDInfo.baseValue; in ZSTD_decodeSequence() local 996 seq.matchLength = mlBase; in ZSTD_decodeSequence()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 10224 MEM_STATIC U32 ZSTD_MLcode(U32 mlBase) in ZSTD_MLcode() argument 10235 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase]; in ZSTD_MLcode() 10357 pos, (U32)litLength, (U32)mlBase+MINMATCH, (U32)offCode); in ZSTD_storeSeq() 10391 if (mlBase>0xFFFF) { in ZSTD_storeSeq() 10396 seqStorePtr->sequences[0].matchLength = (U16)mlBase; in ZSTD_storeSeq() 20408 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() local 20420 { U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_getMatchPrice() 20458 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() local 20459 U32 const mlCode = ZSTD_MLcode(mlBase); in ZSTD_updateStats() 27236 U32 const mlBase = mlDInfo.baseValue; in ZSTD_decodeSequence() local [all …]
|