Home
last modified time | relevance | path

Searched refs:BIT_highbit32 (Results 1 – 6 of 6) sorted by relevance

/dragonfly/contrib/zstd/lib/common/
H A Dentropy_common.c186 nbBits = BIT_highbit32(remaining) + 1; in FSE_readNCount_body()
309 { U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_body()
315 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_body()
316 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_body()
H A Dbitstream.h140 MEM_STATIC unsigned BIT_highbit32 (U32 val) in BIT_highbit32() function
288 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
316 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
H A Dfse_decompress.c169 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in FSE_buildDTable_internal()
/dragonfly/contrib/zstd/lib/compress/
H A Dfse_compress.c152 U32 const maxBitsOut = tableLog - BIT_highbit32 (normalizedCounter[s]-1); in FSE_buildCTable_wksp()
322 U32 minBitsSrc = BIT_highbit32((U32)(srcSize)) + 1; in FSE_minTableLog()
323 U32 minBitsSymbols = BIT_highbit32(maxSymbolValue) + 2; in FSE_minTableLog()
331 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
H A Dhuf_compress.c277 U32 nBitsToDecrease = BIT_highbit32((U32)totalCost) + 1; in HUF_setMaxHeight()
387 U32 lowerRank = BIT_highbit32(count[n] + 1); in HUF_sort()
398 U32 const r = BIT_highbit32(c+1) + 1; in HUF_sort()
/dragonfly/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.c478 tableDecode[u].nbBits = (BYTE) (tableLog - BIT_highbit32(nextState) ); in ZSTD_buildFSETable_body()