Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dfse_compress.c211 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
223 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
226 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
227 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
279 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
H A Dhuf_compress.c478 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTableFromTree() local
488 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()
490 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c7686 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
7698 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
7701 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
7702 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
7754 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
8756 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTable_wksp() local
8767 for (n=0; n<alphabetSize; n++) in HUF_buildCTable_wksp()
8769 for (n=0; n<alphabetSize; n++) in HUF_buildCTable_wksp()