normalizedCounter 2605 lib/zstd/compress.c static size_t ZSTD_checkDictNCount(short *normalizedCounter, unsigned dictMaxSymbolValue, unsigned maxSymbolValue) normalizedCounter 2611 lib/zstd/compress.c if (normalizedCounter[s] == 0) normalizedCounter 59 lib/zstd/entropy_common.c size_t FSE_readNCount(short *normalizedCounter, unsigned *maxSVPtr, unsigned *tableLogPtr, const void *headerBuffer, size_t hbSize) normalizedCounter 108 lib/zstd/entropy_common.c normalizedCounter[charnum++] = 0; normalizedCounter 133 lib/zstd/entropy_common.c normalizedCounter[charnum++] = (short)count; normalizedCounter 107 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t srcSize, unsigned maxSymbolValue); normalizedCounter 118 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog); normalizedCounter 181 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_readNCount(short *normalizedCounter, unsigned *maxSymbolValuePtr, unsigned *tableLogPtr, const void *rBuffer, size_t rBuffSize); normalizedCounter 190 lib/zstd/fse.h FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize); normalizedCounter 276 lib/zstd/fse.h size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workSpace, size_t wkspSize); normalizedCounter 92 lib/zstd/fse_compress.c size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) normalizedCounter 129 lib/zstd/fse_compress.c if (normalizedCounter[u - 1] == -1) { /* Low proba symbol */ normalizedCounter 133 lib/zstd/fse_compress.c cumul[u] = cumul[u - 1] + normalizedCounter[u - 1]; normalizedCounter 145 lib/zstd/fse_compress.c for (nbOccurences = 0; nbOccurences < normalizedCounter[symbol]; nbOccurences++) { normalizedCounter 171 lib/zstd/fse_compress.c switch (normalizedCounter[s]) { normalizedCounter 181 lib/zstd/fse_compress.c U32 const maxBitsOut = tableLog - BIT_highbit32(normalizedCounter[s] - 1); normalizedCounter 182 lib/zstd/fse_compress.c U32 const minStatePlus = normalizedCounter[s] << maxBitsOut; normalizedCounter 184 lib/zstd/fse_compress.c symbolTT[s].deltaFindState = total - normalizedCounter[s]; normalizedCounter 185 lib/zstd/fse_compress.c total += normalizedCounter[s]; normalizedCounter 203 lib/zstd/fse_compress.c static size_t FSE_writeNCount_generic(void *header, size_t headerBufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, normalizedCounter 232 lib/zstd/fse_compress.c while (!normalizedCounter[charnum]) normalizedCounter 262 lib/zstd/fse_compress.c int count = normalizedCounter[charnum++]; normalizedCounter 301 lib/zstd/fse_compress.c size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) normalizedCounter 309 lib/zstd/fse_compress.c return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 0); normalizedCounter 311 lib/zstd/fse_compress.c return FSE_writeNCount_generic(buffer, bufferSize, normalizedCounter, maxSymbolValue, tableLog, 1); normalizedCounter 608 lib/zstd/fse_compress.c size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t total, unsigned maxSymbolValue) normalizedCounter 635 lib/zstd/fse_compress.c normalizedCounter[s] = 0; normalizedCounter 639 lib/zstd/fse_compress.c normalizedCounter[s] = -1; normalizedCounter 649 lib/zstd/fse_compress.c normalizedCounter[s] = proba; normalizedCounter 653 lib/zstd/fse_compress.c if (-stillToDistribute >= (normalizedCounter[largest] >> 1)) { normalizedCounter 655 lib/zstd/fse_compress.c size_t const errorCode = FSE_normalizeM2(normalizedCounter, tableLog, count, total, maxSymbolValue); normalizedCounter 659 lib/zstd/fse_compress.c normalizedCounter[largest] += (short)stillToDistribute; normalizedCounter 95 lib/zstd/fse_decompress.c size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) normalizedCounter 122 lib/zstd/fse_decompress.c if (normalizedCounter[s] == -1) { normalizedCounter 126 lib/zstd/fse_decompress.c if (normalizedCounter[s] >= largeLimit) normalizedCounter 128 lib/zstd/fse_decompress.c symbolNext[s] = normalizedCounter[s]; normalizedCounter 142 lib/zstd/fse_decompress.c for (i = 0; i < normalizedCounter[s]; i++) {