rankStats 167 lib/zstd/entropy_common.c size_t HUF_readStats_wksp(BYTE *huffWeight, size_t hwSize, U32 *rankStats, U32 *nbSymbolsPtr, U32 *tableLogPtr, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) rankStats 203 lib/zstd/entropy_common.c memset(rankStats, 0, (HUF_TABLELOG_MAX + 1) * sizeof(U32)); rankStats 210 lib/zstd/entropy_common.c rankStats[huffWeight[n]]++; rankStats 232 lib/zstd/entropy_common.c rankStats[lastWeight]++; rankStats 237 lib/zstd/entropy_common.c if ((rankStats[1] < 2) || (rankStats[1] & 1)) rankStats 159 lib/zstd/huf.h size_t HUF_readStats_wksp(BYTE *huffWeight, size_t hwSize, U32 *rankStats, U32 *nbSymbolsPtr, U32 *tableLogPtr, const void *src, size_t srcSize, rankStats 493 lib/zstd/huf_decompress.c U32 *rankStats; rankStats 503 lib/zstd/huf_decompress.c rankStats = (U32 *)workspace + spaceUsed32; rankStats 518 lib/zstd/huf_decompress.c memset(rankStats, 0, sizeof(U32) * (2 * HUF_TABLELOG_MAX + 2 + 1)); rankStats 525 lib/zstd/huf_decompress.c iSize = HUF_readStats_wksp(weightList, HUF_SYMBOLVALUE_MAX + 1, rankStats, &nbSymbols, &tableLog, src, srcSize, workspace, workspaceSize); rankStats 534 lib/zstd/huf_decompress.c for (maxW = tableLog; rankStats[maxW] == 0; maxW--) { rankStats 542 lib/zstd/huf_decompress.c nextRankStart += rankStats[w]; rankStats 570 lib/zstd/huf_decompress.c nextRankVal += rankStats[w] << (w + rescale);