Home
last modified time | relevance | path

Searched refs:maxSymbolValue (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_compress.c92 size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildCTable_wksp() argument
119 tableU16[-1] = (U16)maxSymbolValue; in FSE_buildCTable_wksp()
128 for (u = 1; u <= maxSymbolValue + 1; u++) { in FSE_buildCTable_wksp()
136 cumul[maxSymbolValue + 1] = tableSize + 1; in FSE_buildCTable_wksp()
143 for (symbol = 0; symbol <= maxSymbolValue; symbol++) { in FSE_buildCTable_wksp()
170 for (s = 0; s <= maxSymbolValue; s++) { in FSE_buildCTable_wksp()
197 size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog) in FSE_NCountWriteBound() argument
199 size_t const maxHeaderSize = (((maxSymbolValue + 1) * tableLog) >> 3) + 3; in FSE_NCountWriteBound()
200 return maxSymbolValue ? maxHeaderSize : FSE_NCOUNTBOUND; /* maxSymbolValue in FSE_NCountWriteBound()
203 FSE_writeNCount_generic(void *header, size_t headerBufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, unsigned writeIsSafe) FSE_writeNCount_generic() argument
301 FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) FSE_writeNCount() argument
328 unsigned maxSymbolValue = *maxSymbolValuePtr; FSE_count_simple() local
362 unsigned maxSymbolValue = *maxSymbolValuePtr; FSE_count_parallel_wksp() local
477 FSE_sizeof_CTable(unsigned maxSymbolValue, unsigned tableLog) FSE_sizeof_CTable() argument
485 FSE_minTableLog(size_t srcSize, unsigned maxSymbolValue) FSE_minTableLog() argument
493 FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, unsigned minus) FSE_optimalTableLog_internal() argument
511 FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) FSE_optimalTableLog() argument
519 FSE_normalizeM2(short *norm, U32 tableLog, const unsigned *count, size_t total, U32 maxSymbolValue) FSE_normalizeM2() argument
608 FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t total, unsigned maxSymbolValue) FSE_normalizeCount() argument
670 const unsigned maxSymbolValue = tableMask; FSE_buildCTable_raw() local
[all...]
H A Dhuf_compress.c68 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() argument
70 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 1); in HUF_optimalTableLog()
88 U32 maxSymbolValue = HUF_TABLELOG_MAX; in HUF_compressWeights_wksp() local
116 CHECK_V_F(maxCount, FSE_count_simple(count, &maxSymbolValue, weightTable, wtSize)); in HUF_compressWeights_wksp()
123 tableLog = FSE_optimalTableLog(tableLog, wtSize, maxSymbolValue); in HUF_compressWeights_wksp()
124 CHECK_F(FSE_normalizeCount(norm, tableLog, count, wtSize, maxSymbolValue)); in HUF_compressWeights_wksp()
128 CHECK_V_F(hSize, FSE_writeNCount(op, oend - op, norm, maxSymbolValue, tableLog)); in HUF_compressWeights_wksp()
133 CHECK_F(FSE_buildCTable_wksp(CTable, norm, maxSymbolValue, tableLog, workspace, workspaceSize)); in HUF_compressWeights_wksp()
152 size_t HUF_writeCTable_wksp(void *dst, size_t maxDstSize, const HUF_CElt *CTable, U32 maxSymbolValue, U32 huffLog, void *workspace, size_t workspaceSize) in HUF_writeCTable_wksp() argument
172 if (maxSymbolValue > HUF_SYMBOLVALUE_MA in HUF_writeCTable_wksp()
203 HUF_readCTable_wksp(HUF_CElt *CTable, U32 maxSymbolValue, const void *src, size_t srcSize, void *workspace, size_t workspaceSize) HUF_readCTable_wksp() argument
389 HUF_sort(nodeElt *huffNode, const U32 *count, U32 maxSymbolValue) HUF_sort() argument
420 HUF_buildCTable_wksp(HUF_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize) HUF_buildCTable_wksp() argument
501 HUF_estimateCompressedSize(HUF_CElt *CTable, const unsigned *count, unsigned maxSymbolValue) HUF_estimateCompressedSize() argument
511 HUF_validateCTable(const HUF_CElt *CTable, const unsigned *count, unsigned maxSymbolValue) HUF_validateCTable() argument
653 HUF_compress_internal(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, unsigned singleStream, void *workSpace, size_t wkspSize, HUF_CElt *oldHufTable, HUF_repeat *repeat, int preferRepeat) HUF_compress_internal() argument
748 HUF_compress1X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, size_t wkspSize) HUF_compress1X_wksp() argument
754 HUF_compress1X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, size_t wkspSize, HUF_CElt *hufTable, HUF_repeat *repeat, int preferRepeat) HUF_compress1X_repeat() argument
761 HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, size_t wkspSize) HUF_compress4X_wksp() argument
767 HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void *workSpace, size_t wkspSize, HUF_CElt *hufTable, HUF_repeat *repeat, int preferRepeat) HUF_compress4X_repeat() argument
[all...]
H A Dhuf.h57 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
82 #define HUF_CREATE_STATIC_CTABLE(name, maxSymbolValue) \
83 U32 name##hb[maxSymbolValue + 1]; \
128 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
130 size_t HUF_writeCTable_wksp(void *dst, size_t maxDstSize, const HUF_CElt *CTable, unsigned maxSymbolValue, unsigned huffLog, void *workspace, size_t workspaceSize);
144 size_t HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
152 size_t HUF_buildCTable_wksp(HUF_CElt *tree, const U32 *count, U32 maxSymbolValue, U32 maxNbBits, void *workSpace, size_t wkspSize);
164 size_t HUF_readCTable_wksp(HUF_CElt *CTable, unsigned maxSymbolValue, const void *src, size_t srcSize, void *workspace, size_t workspaceSize);
189 size_t HUF_compress1X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog, void *workSpace,
197 size_t HUF_compress1X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned maxSymbolValue, unsigne
[all...]
H A Dfse.h100 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
104 'normalizedCounter' is a table of short, of minimum size (maxSymbolValue+1).
107 FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigned *count, size_t srcSize, unsigned maxSymbolValue);
110 Provides the maximum possible size of an FSE normalized table, given 'maxSymbolValue' and 'tableLog'.
112 FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
118 FSE_PUBLIC_API size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog);
121 Note that FSE_CTable size depends on 'tableLog' and 'maxSymbolValue' */
147 which will provide the optimal valid tableLog given sourceSize, maxSymbolValue, and a user-defined maximum (0 means "default").
151 'normalizedCounter' must be already allocated, and have at least 'maxSymbolValue+1' cells.
190 FSE_PUBLIC_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigne
[all...]
H A Dfse_decompress.c88 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildDTable_wksp() argument
94 U32 const maxSV1 = maxSymbolValue + 1; in FSE_buildDTable_wksp()
101 if (maxSymbolValue > FSE_MAX_SYMBOL_VALUE) in FSE_buildDTable_wksp()
292 unsigned maxSymbolValue = FSE_MAX_SYMBOL_VALUE; in FSE_decompress_wksp() local
312 NCountLength = FSE_readNCount(counting, &maxSymbolValue, &tableLog, istart, cSrcSize); in FSE_decompress_wksp()
322 CHECK_F(FSE_buildDTable_wksp(dt, counting, maxSymbolValue, tableLog, workspace, workspaceSize)); in FSE_decompress_wksp()
H A Dcompress.c2605 static size_t ZSTD_checkDictNCount(short *normalizedCounter, unsigned dictMaxSymbolValue, unsigned maxSymbolValue) in ZSTD_checkDictNCount() argument
2608 if (dictMaxSymbolValue < maxSymbolValue) in ZSTD_checkDictNCount()
2610 for (s = 0; s <= maxSymbolValue; ++s) { in ZSTD_checkDictNCount()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dfse_compress.c68 const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, in FSE_buildCTable_wksp()
78 U32 const maxSV1 = maxSymbolValue+1; in FSE_buildCTable_wksp()
86 if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_tooLarge); in FSE_buildCTable_wksp()
89 tableU16[-1] = (U16) maxSymbolValue; in FSE_buildCTable_wksp()
177 for (s=0; s<=maxSymbolValue; s++) { in FSE_buildCTable_wksp()
204 for (symbol=0; symbol<=maxSymbolValue; symbol++) { in FSE_buildCTable_wksp()
222 size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog) in FSE_NCountWriteBound() argument
224 size_t const maxHeaderSize = (((maxSymbolValue+1) * tableLog in FSE_NCountWriteBound()
229 return maxSymbolValue ? maxHeaderSize : FSE_NCOUNTBOUND; /* maxSymbolValue in FSE_NCountWriteBound()
67 FSE_buildCTable_wksp(FSE_CTable* ct, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) FSE_buildCTable_wksp() argument
233 FSE_writeNCount_generic(void* header, size_t headerBufferSize, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, unsigned writeIsSafe) FSE_writeNCount_generic() argument
328 FSE_writeNCount(void* buffer, size_t bufferSize, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog) FSE_writeNCount() argument
345 FSE_createCTable(unsigned maxSymbolValue, unsigned tableLog) FSE_createCTable() argument
356 FSE_minTableLog(size_t srcSize, unsigned maxSymbolValue) FSE_minTableLog() argument
365 FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, unsigned minus) FSE_optimalTableLog_internal() argument
379 FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) FSE_optimalTableLog() argument
387 FSE_normalizeM2(short* norm, U32 tableLog, const unsigned* count, size_t total, U32 maxSymbolValue, short lowProbCount) FSE_normalizeM2() argument
473 FSE_normalizeCount(short* normalizedCounter, unsigned tableLog, const unsigned* count, size_t total, unsigned maxSymbolValue, unsigned useLowProbCount) FSE_normalizeCount() argument
541 const unsigned maxSymbolValue = tableMask; FSE_buildCTable_raw() local
[all...]
H A Dhist.c34 unsigned maxSymbolValue = *maxSymbolValuePtr; in HIST_count_simple() local
37 ZSTD_memset(count, 0, (maxSymbolValue+1) * sizeof(*count)); in HIST_count_simple()
41 assert(*ip <= maxSymbolValue); in HIST_count_simple()
45 while (!count[maxSymbolValue]) maxSymbolValue--; in HIST_count_simple()
46 *maxSymbolValuePtr = maxSymbolValue; in HIST_count_simple()
49 for (s=0; s<=maxSymbolValue; s++) in HIST_count_simple()
126 { unsigned maxSymbolValue = 255; in HIST_count_parallel_wksp() local
127 while (!Counting1[maxSymbolValue]) maxSymbolValue in HIST_count_parallel_wksp()
[all...]
H A Dhuf_compress.c44 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() argument
46 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 1); in HUF_optimalTableLog()
95 unsigned maxSymbolValue = HUF_TABLELOG_MAX; in HUF_compressWeights() local
105 { unsigned const maxCount = HIST_count_simple(wksp->count, &maxSymbolValue, weightTable, wtSize); /* never fails */ in HUF_compressWeights()
110 tableLog = FSE_optimalTableLog(tableLog, wtSize, maxSymbolValue); in HUF_compressWeights()
111 CHECK_F( FSE_normalizeCount(wksp->norm, tableLog, wksp->count, wtSize, maxSymbolValue, /* useLowProbCount */ 0) ); in HUF_compressWeights()
114 { CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) ); in HUF_compressWeights()
119 CHECK_F( FSE_buildCTable_wksp(wksp->CTable, wksp->norm, maxSymbolValue, tableLog, wksp->scratchBuffer, sizeof(wksp->scratchBuffer)) ); in HUF_compressWeights()
170 const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, in HUF_writeCTable_wksp()
180 if (maxSymbolValue > HUF_SYMBOLVALUE_MA in HUF_writeCTable_wksp()
169 HUF_writeCTable_wksp(void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace, size_t workspaceSize) HUF_writeCTable_wksp() argument
210 HUF_writeCTable(void* dst, size_t maxDstSize, const HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog) HUF_writeCTable() argument
547 HUF_sort(nodeElt huffNode[], const unsigned count[], U32 const maxSymbolValue, rankPos rankPosition[]) HUF_sort() argument
607 HUF_buildTree(nodeElt* huffNode, U32 maxSymbolValue) HUF_buildTree() argument
653 HUF_buildCTableFromTree(HUF_CElt* CTable, nodeElt const* huffNode, int nonNullRank, U32 maxSymbolValue, U32 maxNbBits) HUF_buildCTableFromTree() argument
677 HUF_buildCTable_wksp(HUF_CElt* CTable, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) HUF_buildCTable_wksp() argument
707 HUF_estimateCompressedSize(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue) HUF_estimateCompressedSize() argument
718 HUF_validateCTable(const HUF_CElt* CTable, const unsigned* count, unsigned maxSymbolValue) HUF_validateCTable() argument
1175 HUF_compress_internal(void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, HUF_nbStreams_e nbStreams, void* workSpace, size_t wkspSize, HUF_CElt* oldHufTable, HUF_repeat* repeat, int preferRepeat, const int bmi2, unsigned suspectUncompressible) HUF_compress_internal() argument
1282 HUF_compress1X_wksp(void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void* workSpace, size_t wkspSize) HUF_compress1X_wksp() argument
1293 HUF_compress1X_repeat(void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void* workSpace, size_t wkspSize, HUF_CElt* hufTable, HUF_repeat* repeat, int preferRepeat, int bmi2, unsigned suspectUncompressible) HUF_compress1X_repeat() argument
1309 HUF_compress4X_wksp(void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void* workSpace, size_t wkspSize) HUF_compress4X_wksp() argument
1324 HUF_compress4X_repeat(void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned huffLog, void* workSpace, size_t wkspSize, HUF_CElt* hufTable, HUF_repeat* repeat, int preferRepeat, int bmi2, unsigned suspectUncompressible) HUF_compress4X_repeat() argument
[all...]
H A Dzstd_compress_superblock.c309 unsigned maxSymbolValue = 255; in ZSTD_estimateSubBlockSize_literal() local
315 size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize); in ZSTD_estimateSubBlockSize_literal()
317 { size_t cLitSizeEstimate = HUF_estimateCompressedSize((const HUF_CElt*)huf->CTable, countWksp, maxSymbolValue); in ZSTD_estimateSubBlockSize_literal()
H A Dzstd_compress_sequences.c49 U32 const maxSymbolValue = MEM_read16(u16ptr + 1); in ZSTD_getFSEMaxSymbolValue() local
50 return maxSymbolValue; in ZSTD_getFSEMaxSymbolValue()
115 DEBUGLOG(5, "Repeat FSE_CTable has maxSymbolValue %u < %u", in ZSTD_fseBitCost()
H A Dzstd_compress.c2977 unsigned maxSymbolValue = HUF_SYMBOLVALUE_MAX; in ZSTD_buildBlockEntropyStats_literals() local
3004 { size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize, workspace, wkspSize); in ZSTD_buildBlockEntropyStats_literals()
3019 if (repeat == HUF_repeat_check && !HUF_validateCTable((HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue)) { in ZSTD_buildBlockEntropyStats_literals()
3025 huffLog = HUF_optimalTableLog(huffLog, srcSize, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals()
3027 maxSymbolValue, huffLog, in ZSTD_buildBlockEntropyStats_literals()
3033 (HUF_CElt*)nextHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals()
3036 (HUF_CElt*)nextHuf->CTable, maxSymbolValue, huffLog, in ZSTD_buildBlockEntropyStats_literals()
3041 (HUF_CElt const*)prevHuf->CTable, countWksp, maxSymbolValue); in ZSTD_buildBlockEntropyStats_literals()
3153 unsigned maxSymbolValue = HUF_SYMBOLVALUE_MAX; in ZSTD_estimateBlockSize_literal() local
3160 size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (cons in ZSTD_estimateBlockSize_literal()
4209 ZSTD_dictNCountRepeat(short* normalizedCounter, unsigned dictMaxSymbolValue, unsigned maxSymbolValue) ZSTD_dictNCountRepeat() argument
4233 { unsigned maxSymbolValue = 255; ZSTD_loadCEntropy() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse.h95 Same as FSE_compress(), but allows the selection of 'maxSymbolValue' and 'tableLog'
102 FSE_PUBLIC_API size_t FSE_compress2 (void* dst, size_t dstSize, const void* src, size_t srcSize, unsigned maxSymbolValue, unsigned tableLog);
132 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue);
136 'normalizedCounter' is a table of short, of minimum size (maxSymbolValue+1).
146 const unsigned* count, size_t srcSize, unsigned maxSymbolValue, unsigned useLowProbCount);
149 Provides the maximum possible size of an FSE normalized table, given 'maxSymbolValue' and 'tableLog'.
151 FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
159 unsigned maxSymbolValue, unsigned tableLog);
162 Note that FSE_CTable size depends on 'tableLog' and 'maxSymbolValue' */
164 FSE_PUBLIC_API FSE_CTable* FSE_createCTable (unsigned maxSymbolValue, unsigne
[all...]
H A Dhuf.h80 * Same as HUF_compress(), but offers control over `maxSymbolValue` and `tableLog`.
81 * `maxSymbolValue` must be <= HUF_SYMBOLVALUE_MAX .
85 unsigned maxSymbolValue, unsigned tableLog);
94 unsigned maxSymbolValue, unsigned tableLog,
137 #define HUF_CTABLE_SIZE_ST(maxSymbolValue) ((maxSymbolValue)+2) /* Use tables of size_t, for proper alignment */
138 #define HUF_CTABLE_SIZE(maxSymbolValue) (HUF_CTABLE_SIZE_ST(maxSymbolValue) * sizeof(size_t))
139 #define HUF_CREATE_STATIC_CTABLE(name, maxSymbolValue) \
140 HUF_CElt name[HUF_CTABLE_SIZE_ST(maxSymbolValue)] /* n
[all...]
H A Dfse_decompress.c71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal() argument
76 BYTE* spread = (BYTE*)(symbolNext + maxSymbolValue + 1); in FSE_buildDTable_internal()
78 U32 const maxSV1 = maxSymbolValue + 1; in FSE_buildDTable_internal()
83 if (FSE_BUILD_DTABLE_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSize) return ERROR(maxSymbolValue_tooLarge); in FSE_buildDTable_internal()
84 if (maxSymbolValue > FSE_MAX_SYMBOL_VALUE) return ERROR(maxSymbolValue_tooLarge); in FSE_buildDTable_internal()
176 size_t FSE_buildDTable_wksp(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_wksp() argument
178 return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSize); in FSE_buildDTable_wksp()
328 unsigned maxSymbolValue = FSE_MAX_SYMBOL_VALUE; in FSE_decompress_wksp_body() local
336 size_t const NCountLength = FSE_readNCount_bmi2(wksp->ncount, &maxSymbolValue, &tableLog, istart, cSrcSize, bmi2); in FSE_decompress_wksp_body()
344 if (FSE_DECOMPRESS_WKSP_SIZE(tableLog, maxSymbolValue) > wkspSiz in FSE_decompress_wksp_body()
[all...]
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress_block.h62 const short* normalizedCounter, unsigned maxSymbolValue,
H A Dzstd_decompress_block.c445 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body()
450 U32 const maxSV1 = maxSymbolValue + 1; in ZSTD_buildFSETable_body()
459 assert(maxSymbolValue <= MaxSeq); in ZSTD_buildFSETable_body()
565 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_default()
569 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_default()
575 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable_body_bmi2()
579 ZSTD_buildFSETable_body(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable_body_bmi2()
585 const short* normalizedCounter, unsigned maxSymbolValue, in ZSTD_buildFSETable()
591 ZSTD_buildFSETable_body_bmi2(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable()
597 ZSTD_buildFSETable_body_default(dt, normalizedCounter, maxSymbolValue, in ZSTD_buildFSETable()
444 ZSTD_buildFSETable_body(ZSTD_seqSymbol* dt, const short* normalizedCounter, unsigned maxSymbolValue, const U32* baseValue, const U8* nbAdditionalBits, unsigned tableLog, void* wksp, size_t wkspSize) ZSTD_buildFSETable_body() argument
564 ZSTD_buildFSETable_body_default(ZSTD_seqSymbol* dt, const short* normalizedCounter, unsigned maxSymbolValue, const U32* baseValue, const U8* nbAdditionalBits, unsigned tableLog, void* wksp, size_t wkspSize) ZSTD_buildFSETable_body_default() argument
574 ZSTD_buildFSETable_body_bmi2(ZSTD_seqSymbol* dt, const short* normalizedCounter, unsigned maxSymbolValue, const U32* baseValue, const U8* nbAdditionalBits, unsigned tableLog, void* wksp, size_t wkspSize) ZSTD_buildFSETable_body_bmi2() argument
584 ZSTD_buildFSETable(ZSTD_seqSymbol* dt, const short* normalizedCounter, unsigned maxSymbolValue, const U32* baseValue, const U8* nbAdditionalBits, unsigned tableLog, void* wksp, size_t wkspSize, int bmi2) ZSTD_buildFSETable() argument
[all...]

Completed in 31 milliseconds