| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 179 #define MaxML 52 macro 183 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 191 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) … 210 static UNUSED_ATTR const U32 ML_bits[MaxML+1] = { 219 static UNUSED_ATTR const S16 ML_defaultNorm[MaxML+1] = {
|
| /f-stack/freebsd/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress_internal.h | 49 static UNUSED_ATTR const U32 ML_base[MaxML+1] = {
|
| H A D | zstd_decompress.c | 1112 { short matchlengthNCount[MaxML+1]; in ZSTD_loadDEntropy() 1113 unsigned matchlengthMaxValue = MaxML, matchlengthLog; in ZSTD_loadDEntropy() 1116 RETURN_ERROR_IF(matchlengthMaxValue > MaxML, dictionary_corrupted, ""); in ZSTD_loadDEntropy()
|
| H A D | zstd_decompress_block.c | 641 MLtype, MaxML, MLFSELog, in ZSTD_decodeSeqHeaders()
|
| /f-stack/freebsd/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 718 unsigned matchLengthCount[MaxML+1]; in ZDICT_analyzeEntropy() 719 short matchLengthNCount[MaxML+1]; in ZDICT_analyzeEntropy() 738 for (u=0; u<=MaxML; u++) matchLengthCount[u] = 1; in ZDICT_analyzeEntropy() 796 total=0; for (u=0; u<=MaxML; u++) total+=matchLengthCount[u]; in ZDICT_analyzeEntropy() 797 …errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML, /* useLow… in ZDICT_analyzeEntropy() 837 { size_t const mhSize = FSE_writeNCount(dstPtr, maxDstSize, matchLengthNCount, MaxML, mlLog); in ZDICT_analyzeEntropy()
|
| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_superblock.c | 245 unsigned max = MaxML; in ZSTD_buildSuperBlockEntropy_sequences() 256 … countWksp, max, mlCodeTable, nbSeq, ML_defaultNorm, ML_defaultNormLog, MaxML, in ZSTD_buildSuperBlockEntropy_sequences() 656 … cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, in ZSTD_estimateSubBlockSize_sequences() 658 ML_defaultNorm, ML_defaultNormLog, MaxML, in ZSTD_estimateSubBlockSize_sequences()
|
| H A D | zstd_opt.c | 151 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs() 187 for (ml=0; ml<=MaxML; ml++) in ZSTD_rescaleFreqs() 190 optPtr->matchLengthSum = MaxML+1; in ZSTD_rescaleFreqs() 205 optPtr->matchLengthSum = ZSTD_downscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_rescaleFreqs() 1242 optPtr->matchLengthSum = ZSTD_upscaleStat(optPtr->matchLengthFreq, MaxML, 0); in ZSTD_upscaleStats()
|
| H A D | zstd_compress.c | 1284 ZSTD_cwksp_alloc_size((MaxML+1) * sizeof(U32)) in ZSTD_sizeof_matchState() 1571 … ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); in ZSTD_reset_matchState() 2134 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes() 2281 { unsigned max = MaxML; in ZSTD_entropyCompressSequences_internal() 2296 ML_defaultNorm, ML_defaultNormLog, MaxML, in ZSTD_entropyCompressSequences_internal() 3206 { short matchlengthNCount[MaxML+1]; in ZSTD_loadCEntropy() 3207 unsigned matchlengthMaxValue = MaxML, matchlengthLog; in ZSTD_loadCEntropy() 3216 ….fse.matchlength_repeatMode = ZSTD_dictNCountRepeat(matchlengthNCount, matchlengthMaxValue, MaxML); in ZSTD_loadCEntropy()
|
| H A D | zstd_compress_internal.h | 72 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)];
|
| /f-stack/freebsd/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 1333 #define MaxML ((1<<MLbits )-1) macro 1341 #define MaxSeq MAX(MaxLL, MaxML) 1616 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTDv01_decodeSeqHeaders() 1665 { U32 max = MaxML; in ZSTDv01_decodeSeqHeaders() 1735 if (matchLength == MaxML) in ZSTD_decodeSequence()
|
| H A D | zstd_v06.c | 500 #define MaxML 52 macro 503 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 523 static const U32 ML_bits[MaxML+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 527 static const S16 ML_defaultNorm[MaxML+1] = { 1, 4, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 3264 …{ size_t const bhSize = ZSTDv06_buildSeqTable(DTableML, MLtype, MaxML, MLFSELog, ip, iend-ip, ML… in ZSTDv06_decodeSeqHeaders() 3306 static const U32 ML_base[MaxML+1] = { in ZSTDv06_decodeSequence() 3831 { short matchlengthNCount[MaxML+1]; in ZSTDv06_loadEntropy() 3832 unsigned matchlengthMaxValue = MaxML, matchlengthLog; in ZSTDv06_loadEntropy()
|
| H A D | zstd_v05.c | 477 #define MaxML ((1<<MLbits) - 1) macro 483 #define MaxSeq MAX(MaxLL, MaxML) 3048 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ in ZSTDv05_decodeSeqHeaders() 3115 { unsigned max = MaxML; in ZSTDv05_decodeSeqHeaders() 3194 if (matchLength == MaxML) { in ZSTDv05_decodeSequence() 3675 short matchlengthNCount[MaxML+1]; in ZSTDv05_loadEntropy() 3676 unsigned matchlengthMaxValue = MaxML, matchlengthLog; in ZSTDv05_loadEntropy()
|
| H A D | zstd_v07.c | 2734 #define MaxML 52 macro 2737 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 2757 static const U32 ML_bits[MaxML+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2761 static const S16 ML_defaultNorm[MaxML+1] = { 1, 4, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 3494 …{ size_t const mlhSize = ZSTDv07_buildSeqTable(DTableML, MLtype, MaxML, MLFSELog, ip, iend-ip, M… in ZSTDv07_decodeSeqHeaders() 3536 static const U32 ML_base[MaxML+1] = { in ZSTDv07_decodeSequence() 4117 { short matchlengthNCount[MaxML+1]; in ZSTDv07_loadEntropy() 4118 unsigned matchlengthMaxValue = MaxML, matchlengthLog; in ZSTDv07_loadEntropy()
|
| H A D | zstd_v03.c | 2368 #define MaxML ((1<<MLbits )-1) macro 2376 #define MaxSeq MAX(MaxLL, MaxML) 2605 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTD_decodeSeqHeaders() 2655 { U32 max = MaxML; in ZSTD_decodeSeqHeaders() 2727 if (matchLength == MaxML) in ZSTD_decodeSequence()
|
| H A D | zstd_v04.c | 374 #define MaxML ((1<<MLbits) - 1) macro 380 #define MaxSeq MAX(MaxLL, MaxML) 2731 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ in ZSTD_decodeSeqHeaders() 2781 { U32 max = MaxML; in ZSTD_decodeSeqHeaders() 2850 if (matchLength == MaxML) { in ZSTD_decodeSequence()
|
| H A D | zstd_v02.c | 2727 #define MaxML ((1<<MLbits )-1) macro 2735 #define MaxSeq MAX(MaxLL, MaxML) 2964 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ in ZSTD_decodeSeqHeaders() 3014 { U32 max = MaxML; in ZSTD_decodeSeqHeaders() 3086 if (matchLength == MaxML) in ZSTD_decodeSequence()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 6476 #define MaxML 52 macro 11953 unsigned max = MaxML; in ZSTD_buildSuperBlockEntropy_sequences() 14196 ZSTD_cwksp_alloc_size((MaxML+1) * sizeof(U32)) in ZSTD_sizeof_matchState() 15032 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes() 15175 { unsigned max = MaxML; in ZSTD_compressSequences_internal() 16024 { short matchlengthNCount[MaxML+1]; in ZSTD_loadCEntropy() 20297 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs() 20333 for (ml=0; ml<=MaxML; ml++) in ZSTD_rescaleFreqs() 20336 optPtr->matchLengthSum = MaxML+1; in ZSTD_rescaleFreqs() 22672 static const U32 ML_base[MaxML+1] = { [all …]
|