Lines Matching refs:symbol
113 U32 symbol; in FSE_buildCTable_wksp() local
114 for (symbol=0; symbol<=maxSymbolValue; symbol++) { in FSE_buildCTable_wksp()
116 int const freq = normalizedCounter[symbol]; in FSE_buildCTable_wksp()
118 tableSymbol[position] = (FSE_FUNCTION_TYPE)symbol; in FSE_buildCTable_wksp()
161 { U32 symbol; in FSE_buildCTable_wksp()
162 for (symbol=0; symbol<=maxSymbolValue; symbol++) { in FSE_buildCTable_wksp()
164 symbol, normalizedCounter[symbol], in FSE_buildCTable_wksp()
165 FSE_getMaxNbBits(symbolTT, symbol), in FSE_buildCTable_wksp()
166 (double)FSE_bitCost(symbolTT, tableLog, symbol, 8) / 256); in FSE_buildCTable_wksp()
203 unsigned symbol = 0; in FSE_writeNCount_generic() local
216 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
218 unsigned start = symbol; in FSE_writeNCount_generic()
219 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
220 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
221 while (symbol >= start+24) { in FSE_writeNCount_generic()
231 while (symbol >= start+3) { in FSE_writeNCount_generic()
236 bitStream += (symbol-start) << bitCount; in FSE_writeNCount_generic()
247 { int count = normalizedCounter[symbol++]; in FSE_writeNCount_generic()
272 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()