Lines Matching refs:huffWeight
251 size_t HUF_readStats(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats() argument
256 …return HUF_readStats_wksp(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, … in HUF_readStats()
260 HUF_readStats_body(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats_body() argument
283 huffWeight[n] = ip[n/2] >> 4; in HUF_readStats_body()
284 huffWeight[n+1] = ip[n/2] & 15; in HUF_readStats_body()
289 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body()
297 if (huffWeight[n] > HUF_TABLELOG_MAX) return ERROR(corruption_detected); in HUF_readStats_body()
298 rankStats[huffWeight[n]]++; in HUF_readStats_body()
299 weightTotal += (1 << huffWeight[n]) >> 1; in HUF_readStats_body()
313 huffWeight[oSize] = (BYTE)lastWeight; in HUF_readStats_body()
326 static size_t HUF_readStats_body_default(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats_body_default() argument
331 …return HUF_readStats_body(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, … in HUF_readStats_body_default()
335 static BMI2_TARGET_ATTRIBUTE size_t HUF_readStats_body_bmi2(BYTE* huffWeight, size_t hwSize, U32* r… in HUF_readStats_body_bmi2() argument
340 …return HUF_readStats_body(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, … in HUF_readStats_body_bmi2()
344 size_t HUF_readStats_wksp(BYTE* huffWeight, size_t hwSize, U32* rankStats, in HUF_readStats_wksp() argument
352 …return HUF_readStats_body_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcS… in HUF_readStats_wksp()
356 …return HUF_readStats_body_default(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, s… in HUF_readStats_wksp()