Searched refs:nbSymbols (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/lib/zstd/compress/ |
D | huf_compress.c | 165 U32 nbSymbols = 0; in HUF_readCTable() local 168 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 173 if (nbSymbols > *maxSymbolValuePtr+1) return ERROR(maxSymbolValue_tooSmall); in HUF_readCTable() 184 { U32 n; for (n=0; n<nbSymbols; n++) { in HUF_readCTable() 192 { U32 n; for (n=0; n<nbSymbols; n++) nbPerRank[CTable[n].nbBits]++; } in HUF_readCTable() 202 { U32 n; for (n=0; n<nbSymbols; n++) CTable[n].val = valPerRank[CTable[n].nbBits]++; } in HUF_readCTable() 205 *maxSymbolValuePtr = nbSymbols - 1; in HUF_readCTable()
|
/linux-6.1.9/lib/zstd/decompress/ |
D | huf_decompress.c | 150 U32 nbSymbols = 0; in HUF_readDTableX1_wksp_bmi2() local 162 …iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2() 189 int const nLimit = (int)nbSymbols - unroll + 1; in HUF_readDTableX1_wksp_bmi2() 202 for (; n < (int)nbSymbols; ++n) { in HUF_readDTableX1_wksp_bmi2() 630 U32 tableLog, maxW, sizeOfSort, nbSymbols; in HUF_readDTableX2_wksp() local 650 …Stats_wksp(wksp->weightList, HUF_SYMBOLVALUE_MAX + 1, wksp->rankStats, &nbSymbols, &tableLog, src,… in HUF_readDTableX2_wksp() 672 for (s=0; s<nbSymbols; s++) { in HUF_readDTableX2_wksp()
|