Home
last modified time | relevance | path

Searched refs:MaxOff (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/lib/zstd/decompress/
Dzstd_decompress_internal.h37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U32 OF_bits[MaxOff+1] = {
Dzstd_decompress.c1251 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1252 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1255 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
Dzstd_decompress_block.c629 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
961 assert(ofBits <= MaxOff); in ZSTD_decodeSequence()
/Linux-v6.1/lib/zstd/common/
Dzstd_internal.h174 #define MaxOff 31 macro
183 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/Linux-v6.1/lib/zstd/compress/
Dzstd_opt.c175 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
205 for (of=0; of<=MaxOff; of++) in ZSTD_rescaleFreqs()
208 optPtr->offCodeSum = MaxOff+1; in ZSTD_rescaleFreqs()
218 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
320 assert(offCode <= MaxOff); in ZSTD_updateStats()
1256 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
Dzstd_compress_superblock.c222 unsigned max = MaxOff; in ZSTD_buildSuperBlockEntropy_sequences()
651 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
Dzstd_compress.c1246 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1530 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2202 { unsigned max = MaxOff; in ZSTD_entropyCompressSequences_internal()
3143 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
3144 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
3172 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
3214 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
3220 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
Dzstd_compress_internal.h65 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];