Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress_internal.h37 static UNUSED_ATTR const U32 OF_base[MaxOff+1] = {
43 static UNUSED_ATTR const U32 OF_bits[MaxOff+1] = {
H A Dzstd_decompress.c1097 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
1098 unsigned offcodeMaxValue = MaxOff, offcodeLog; in ZSTD_loadDEntropy()
1101 RETURN_ERROR_IF(offcodeMaxValue > MaxOff, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
H A Dzstd_decompress_block.c629 OFtype, MaxOff, OffFSELog, in ZSTD_decodeSeqHeaders()
961 assert(ofBits <= MaxOff); in ZSTD_decodeSequence()
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dzstd_internal.h182 #define MaxOff 31 macro
191 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) …
/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstd_opt.c163 for (of=0; of<=MaxOff; of++) { in ZSTD_rescaleFreqs()
193 for (of=0; of<=MaxOff; of++) in ZSTD_rescaleFreqs()
196 optPtr->offCodeSum = MaxOff+1; in ZSTD_rescaleFreqs()
206 optPtr->offCodeSum = ZSTD_downscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_rescaleFreqs()
308 assert(offCode <= MaxOff); in ZSTD_updateStats()
1243 optPtr->offCodeSum = ZSTD_upscaleStat(optPtr->offCodeFreq, MaxOff, 0); in ZSTD_upscaleStats()
H A Dzstd_compress_superblock.c221 unsigned max = MaxOff; in ZSTD_buildSuperBlockEntropy_sequences()
648 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->ofType, ofCodeTable, MaxOff, in ZSTD_estimateSubBlockSize_sequences()
H A Dzstd_compress.c1286 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1572 … ms->opt.offCodeFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxOff+1) * sizeof(unsigned)); in ZSTD_reset_matchState()
2253 { unsigned max = MaxOff; in ZSTD_entropyCompressSequences_internal()
3170 short offcodeNCount[MaxOff+1]; in ZSTD_loadCEntropy()
3171 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadCEntropy()
3199 offcodeNCount, MaxOff, offcodeLog, in ZSTD_loadCEntropy()
3241 U32 offcodeMax = MaxOff; in ZSTD_loadCEntropy()
3247 …ffcode_repeatMode = ZSTD_dictNCountRepeat(offcodeNCount, offcodeMaxValue, MIN(offcodeMax, MaxOff)); in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h71 FSE_CTable offcodeCTable[FSE_CTABLE_SIZE_U32(OffFSELog, MaxOff)];
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v06.c502 #define MaxOff 28 macro
533 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3260 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableOffb, Offtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv06_decodeSeqHeaders()
3312 static const U32 OF_base[MaxOff+1] = { in ZSTDv06_decodeSequence()
3820 { short offcodeNCount[MaxOff+1]; in ZSTDv06_loadEntropy()
3821 U32 offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv06_loadEntropy()
H A Dzstd_v05.c479 #define MaxOff ((1<<Offbits)- 1) macro
3080 … FSEv05_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTDv05_decodeSeqHeaders()
3091 { unsigned max = MaxOff; in ZSTDv05_decodeSeqHeaders()
3174 static const U32 offsetPrefix[MaxOff+1] = { in ZSTDv05_decodeSequence()
3673 short offcodeNCount[MaxOff+1]; in ZSTDv05_loadEntropy()
3674 unsigned offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv05_loadEntropy()
H A Dzstd_v03.c2370 #define MaxOff 31 macro
2631 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2637 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
2711 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */ in ZSTD_decodeSequence()
H A Dzstd_v07.c2736 #define MaxOff 28 macro
2767 static const S16 OF_defaultNorm[MaxOff+1] = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
3490 …{ size_t const ofhSize = ZSTDv07_buildSeqTable(DTableOffb, OFtype, MaxOff, OffFSELog, ip, iend-i… in ZSTDv07_decodeSeqHeaders()
3542 static const U32 OF_base[MaxOff+1] = { in ZSTDv07_decodeSequence()
4107 { short offcodeNCount[MaxOff+1]; in ZSTDv07_loadEntropy()
4108 U32 offcodeMaxValue=MaxOff, offcodeLog; in ZSTDv07_loadEntropy()
H A Dzstd_v04.c376 #define MaxOff ((1<<Offbits)- 1) macro
2757 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2763 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
2833 { static const U32 offsetPrefix[MaxOff+1] = { in ZSTD_decodeSequence()
H A Dzstd_v02.c2729 #define MaxOff 31 macro
2990 … FSE_buildDTable_rle(DTableOffb, *ip++ & MaxOff); /* if *ip > MaxOff, data is corrupted */ in ZSTD_decodeSeqHeaders()
2996 { U32 max = MaxOff; in ZSTD_decodeSeqHeaders()
3070 static const size_t offsetPrefix[MaxOff+1] = { /* note : size_t faster than U32 */ in ZSTD_decodeSequence()
H A Dzstd_v01.c1335 #define MaxOff ((1<<Offbits)-1) macro
1647 { U32 max = MaxOff; in ZSTDv01_decodeSeqHeaders()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c6479 #define MaxOff 31 macro
11929 unsigned max = MaxOff; in ZSTD_buildSuperBlockEntropy_sequences()
15147 { unsigned max = MaxOff; in ZSTD_compressSequences_internal()
16082 short offcodeNCount[MaxOff+1]; in ZSTD_loadZstdDictionary()
16083 unsigned offcodeMaxValue = MaxOff; in ZSTD_loadZstdDictionary()
16097 U32 offcodeMax = MaxOff; in ZSTD_loadZstdDictionary()
20454 assert(offCode <= MaxOff); in ZSTD_updateStats()
22660 static const U32 OF_base[MaxOff+1] = {
22666 static const U32 OF_bits[MaxOff+1] = {
25591 { short offcodeNCount[MaxOff+1]; in ZSTD_loadDEntropy()
[all …]