Lines Matching refs:rankStats

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
294 ZSTD_memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); in HUF_readStats_body()
298 rankStats[huffWeight[n]]++; in HUF_readStats_body()
314 rankStats[lastWeight]++; in HUF_readStats_body()
318 …if ((rankStats[1] < 2) || (rankStats[1] & 1)) return ERROR(corruption_detected); /* by construct… 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 …I2_TARGET_ATTRIBUTE size_t HUF_readStats_body_bmi2(BYTE* huffWeight, size_t hwSize, U32* rankStats, 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()