Home
last modified time | relevance | path

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

/linux/lib/zstd/decompress/
H A Dzstd_decompress_internal.h38 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
44 static UNUSED_ATTR const U8 OF_bits[MaxOff+1] = {
H A Dzstd_decompress.c1407 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1408 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1411 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c751 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
1271 assert(ofBits <= MaxOff); in ZSTD_decodeSequence()
/linux/lib/zstd/common/
H A Dzstd_internal.h100 #define MaxOff 31 macro
111 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/linux/lib/zstd/compress/
H A Dzstd_opt.c205 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
240 { unsigned const baseOFCfreqs[MaxOff+1] = { in ZSTD_rescaleFreqs()
247 optPtr->offCodeSum = sum_u32(baseOFCfreqs, MaxOff+1); in ZSTD_rescaleFreqs()
258 optPtr->offCodeSum = ZSTD_scaleStats(optPtr->offCodeFreq, MaxOff, 11); in ZSTD_rescaleFreqs()
377 assert(offCode <= MaxOff); in ZSTD_updateStats()
H A Dzstd_compress_superblock.c378 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_compress.c1610 + ZSTD_cwksp_aligned64_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1985 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned64(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2731 { unsigned max = MaxOff; in ZSTD_buildSequencesStatistics()
3820 …qSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, nbSeq, MaxOff, in ZSTD_estimateBlockSize_sequences()
4978 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
4979 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
5006 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
5048 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
5054 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h67 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];