Home
last modified time | relevance | path

Searched refs:maxBits (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c962 U32 maxBits; in HUF_readDTable() local
1017 maxBits = FSE_highbit32(weightTotal) + 1; in HUF_readDTable()
1018 … if (maxBits > DTable[0]) return (size_t)-FSE_ERROR_tableLog_tooLarge; /* DTable is too small */ in HUF_readDTable()
1019 DTable[0] = (U16)maxBits; in HUF_readDTable()
1021 U32 total = 1 << maxBits; in HUF_readDTable()
1035 for (n=1; n<=maxBits; n++) in HUF_readDTable()
1049 D.byte = (BYTE)n; D.nbBits = (BYTE)(maxBits + 1 - w); in HUF_readDTable()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dhuf_compress.c692 { size_t const maxBits = HUF_buildCTable_wksp(table->CTable, table->count, in HUF_compress_internal() local
695 CHECK_F(maxBits); in HUF_compress_internal()
696 huffLog = (U32)maxBits; in HUF_compress_internal()
H A Dzstd_compress_superblock.c123 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildSuperBlockEntropy_literal() local
126 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildSuperBlockEntropy_literal()
127 huffLog = (U32)maxBits; in ZSTD_buildSuperBlockEntropy_literal()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dhuf_compress.c1246 { size_t const maxBits = HUF_buildCTable_wksp(table->CTable, table->count, in HUF_compress_internal() local
1249 CHECK_F(maxBits); in HUF_compress_internal()
1250 huffLog = (U32)maxBits; in HUF_compress_internal()
H A Dzstd_compress.c3117 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildBlockEntropyStats_literals() local
3120 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildBlockEntropyStats_literals()
3121 huffLog = (U32)maxBits; in ZSTD_buildBlockEntropyStats_literals()