Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c207 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
219 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
222 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
223 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
275 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
H A Dhuf_compress.c392 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTable_wksp() local
403 for (n=0; n<alphabetSize; n++) in HUF_buildCTable_wksp()
405 for (n=0; n<alphabetSize; n++) in HUF_buildCTable_wksp()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c247 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
259 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
262 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
263 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
315 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
H A Dhuf_compress.c663 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTableFromTree() local
673 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()
675 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()