| /linux-6.15/lib/zstd/compress/ |
| H A D | fse_compress.c | 109 assert(normalizedCounter[u-1] >= 0); in FSE_buildCTable_wksp() 128 int const n = normalizedCounter[s]; in FSE_buildCTable_wksp() 160 int const freq = normalizedCounter[symbol]; in FSE_buildCTable_wksp() 180 switch (normalizedCounter[s]) in FSE_buildCTable_wksp() 195 assert(normalizedCounter[s] > 1); in FSE_buildCTable_wksp() 200 total += (unsigned)normalizedCounter[s]; in FSE_buildCTable_wksp() 208 symbol, normalizedCounter[symbol], in FSE_buildCTable_wksp() 292 { int count = normalizedCounter[symbol++]; in FSE_writeNCount_generic() 491 normalizedCounter[s] = lowProbCount; in FSE_normalizeCount() 500 normalizedCounter[s] = proba; in FSE_normalizeCount() [all …]
|
| H A D | zstd_compress.c | 4961 static FSE_repeat ZSTD_dictNCountRepeat(short* normalizedCounter, unsigned dictMaxSymbolValue, unsi… in ZSTD_dictNCountRepeat() argument 4968 if (normalizedCounter[s] == 0) { in ZSTD_dictNCountRepeat()
|
| /linux-6.15/lib/zstd/common/ |
| H A D | entropy_common.c | 43 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() argument 62 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body() 71 …ZSTD_memset(normalizedCounter, 0, (*maxSVPtr+1) * sizeof(normalizedCounter[0])); /* all symbols … in FSE_readNCount_body() 155 normalizedCounter[charnum++] = (short)count; in FSE_readNCount_body() 192 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_default() argument 195 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_default() 200 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body_bmi2() argument 203 return FSE_readNCount_body(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_body_bmi2() 208 short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_bmi2() argument 217 …return FSE_readNCount_body_default(normalizedCounter, maxSVPtr, tableLogPtr, headerBuffer, hbSize); in FSE_readNCount_bmi2() [all …]
|
| H A D | fse_decompress.c | 59 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned max… in FSE_buildDTable_internal() argument 82 if (normalizedCounter[s]==-1) { in FSE_buildDTable_internal() 86 if (normalizedCounter[s] >= largeLimit) DTableH.fastMode=0; in FSE_buildDTable_internal() 87 symbolNext[s] = (U16)normalizedCounter[s]; in FSE_buildDTable_internal() 108 int const n = normalizedCounter[s]; in FSE_buildDTable_internal() 142 for (i=0; i<normalizedCounter[s]; i++) { in FSE_buildDTable_internal() 162 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument 164 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… in FSE_buildDTable_wksp()
|
| H A D | fse.h | 101 FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog, 114 const short* normalizedCounter, 124 FSE_PUBLIC_API size_t FSE_buildCTable(FSE_CTable* ct, const short* normalizedCounter, unsigned maxS… 184 FSE_PUBLIC_API size_t FSE_readNCount (short* normalizedCounter, 191 FSE_PUBLIC_API size_t FSE_readNCount_bmi2(short* normalizedCounter, 266 size_t FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue… 270 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned…
|
| /linux-6.15/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.h | 63 const short* normalizedCounter, unsigned maxSymbolValue,
|
| H A D | zstd_decompress_block.c | 487 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body() argument 512 if (normalizedCounter[s]==-1) { in ZSTD_buildFSETable_body() 517 assert(normalizedCounter[s]>=0); in ZSTD_buildFSETable_body() 518 symbolNext[s] = (U16)normalizedCounter[s]; in ZSTD_buildFSETable_body() 546 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body() 582 int const n = normalizedCounter[s]; in ZSTD_buildFSETable_body() 608 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_default() argument 612 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_default() 618 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_bmi2() argument 622 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_bmi2() [all …]
|