Searched refs:nbSymbols (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/lib/zstd/compress/ |
D | huf_compress.c | 223 U32 nbSymbols = 0; in HUF_readCTable() local 227 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 232 if (nbSymbols > *maxSymbolValuePtr+1) return ERROR(maxSymbolValue_tooSmall); in HUF_readCTable() 245 { U32 n; for (n=0; n<nbSymbols; n++) { in HUF_readCTable() 253 { U32 n; for (n=0; n<nbSymbols; n++) nbPerRank[HUF_getNbBits(ct[n])]++; } in HUF_readCTable() 263 … { U32 n; for (n=0; n<nbSymbols; n++) HUF_setValue(ct + n, valPerRank[HUF_getNbBits(ct[n])]++); } in HUF_readCTable() 266 *maxSymbolValuePtr = nbSymbols - 1; in HUF_readCTable()
|
/linux-6.6.21/lib/zstd/decompress/ |
D | huf_decompress.c | 299 static U32 HUF_rescaleStats(BYTE* huffWeight, U32* rankVal, U32 nbSymbols, U32 tableLog, U32 target… in HUF_rescaleStats() argument 307 for (s = 0; s < nbSymbols; ++s) { in HUF_rescaleStats() 341 U32 nbSymbols = 0; in HUF_readDTableX1_wksp_bmi2() local 353 …iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2() 361 … tableLog = HUF_rescaleStats(wksp->huffWeight, wksp->rankVal, nbSymbols, tableLog, targetTableLog); in HUF_readDTableX1_wksp_bmi2() 384 int const nLimit = (int)nbSymbols - unroll + 1; in HUF_readDTableX1_wksp_bmi2() 397 for (; n < (int)nbSymbols; ++n) { in HUF_readDTableX1_wksp_bmi2() 1052 U32 tableLog, maxW, nbSymbols; in HUF_readDTableX2_wksp_bmi2() local 1072 …Stats_wksp(wksp->weightList, HUF_SYMBOLVALUE_MAX + 1, wksp->rankStats, &nbSymbols, &tableLog, src,… in HUF_readDTableX2_wksp_bmi2() 1095 for (s=0; s<nbSymbols; s++) { in HUF_readDTableX2_wksp_bmi2()
|