Home
last modified time | relevance | path

Searched refs:charnum (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/lib/zstd/
Dentropy_common.c69 unsigned charnum = 0; in FSE_readNCount() local
85 while ((remaining > 1) & (charnum <= *maxSVPtr)) { in FSE_readNCount()
87 unsigned n0 = charnum; in FSE_readNCount()
107 while (charnum < n0) in FSE_readNCount()
108 normalizedCounter[charnum++] = 0; in FSE_readNCount()
133 normalizedCounter[charnum++] = (short)count; in FSE_readNCount()
154 *maxSVPtr = charnum - 1; in FSE_readNCount()
Dfse_compress.c215 unsigned charnum = 0; in FSE_writeNCount_generic() local
231 unsigned start = charnum; in FSE_writeNCount_generic()
232 while (!normalizedCounter[charnum]) in FSE_writeNCount_generic()
233 charnum++; in FSE_writeNCount_generic()
234 while (charnum >= start + 24) { in FSE_writeNCount_generic()
244 while (charnum >= start + 3) { in FSE_writeNCount_generic()
249 bitStream += (charnum - start) << bitCount; in FSE_writeNCount_generic()
262 int count = normalizedCounter[charnum++]; in FSE_writeNCount_generic()
295 if (charnum > maxSymbolValue + 1) in FSE_writeNCount_generic()