/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | zstd_internal.h | 178 #define MaxML 52 macro 182 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 201 static const U32 ML_bits[MaxML+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 208 static const S16 ML_defaultNorm[MaxML+1] = { 1, 4, 3, 2, 2, 2, 2, 2,
|
/freebsd-current/sys/contrib/zstd/lib/common/ |
H A D | zstd_internal.h | 107 #define MaxML 52 macro 111 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 119 #define ZSTD_MAX_FSE_HEADERS_SIZE (((MaxML + 1) * MLFSELog + (MaxLL + 1) * LLFSELog + (MaxOff + 1) * OffFSELog + 7) / 8) 138 static UNUSED_ATTR const U8 ML_bits[MaxML+1] = { 147 static UNUSED_ATTR const S16 ML_defaultNorm[MaxML+1] = {
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress_internal.h | 49 static const U32 ML_base[MaxML+1] = {
|
H A D | zstd_decompress.c | 1098 { short matchlengthNCount[MaxML+1]; 1099 unsigned matchlengthMaxValue = MaxML, matchlengthLog; 1102 RETURN_ERROR_IF(matchlengthMaxValue > MaxML, dictionary_corrupted, "");
|
H A D | zstd_decompress_block.c | 539 MLtype, MaxML, MLFSELog,
|
/freebsd-current/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress_internal.h | 23 #include "../common/zstd_internal.h" /* constants : MaxLL, MaxML, MaxOff, LLFSELog, etc. */ 49 static UNUSED_ATTR const U32 ML_base[MaxML+1] = {
|
H A D | zstd_decompress.c | 1378 { short matchlengthNCount[MaxML+1]; 1379 unsigned matchlengthMaxValue = MaxML, matchlengthLog; 1382 RETURN_ERROR_IF(matchlengthMaxValue > MaxML, dictionary_corrupted, "");
|
H A D | zstd_decompress_block.c | 717 MLtype, MaxML, MLFSELog,
|
/freebsd-current/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 743 unsigned matchLengthCount[MaxML+1]; 744 short matchLengthNCount[MaxML+1]; 763 for (u=0; u<=MaxML; u++) matchLengthCount[u] = 1; 828 total=0; for (u=0; u<=MaxML; u++) total+=matchLengthCount[u]; 829 errorCode = FSE_normalizeCount(matchLengthNCount, mlLog, matchLengthCount, total, MaxML, /* useLowProbCount */ 1); 869 { size_t const mhSize = FSE_writeNCount(dstPtr, maxDstSize, matchLengthNCount, MaxML, mlLog);
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress_superblock.c | 245 unsigned max = MaxML; 256 countWksp, max, mlCodeTable, nbSeq, ML_defaultNorm, ML_defaultNormLog, MaxML, 656 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, 658 ML_defaultNorm, ML_defaultNormLog, MaxML,
|
H A D | zstd_opt.c | 151 for (ml=0; ml<=MaxML; ml++) { 187 for (ml=0; ml<=MaxML; ml++) 190 optPtr->matchLengthSum = MaxML+1; 205 optPtr->matchLengthSum = ZSTD_downscaleStat(optPtr->matchLengthFreq, MaxML, 0); 1097 optPtr->matchLengthSum = ZSTD_upscaleStat(optPtr->matchLengthFreq, MaxML, 0);
|
H A D | zstd_compress.c | 1112 ZSTD_cwksp_alloc_size((MaxML+1) * sizeof(U32)) 1390 ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); 1948 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; 2091 { unsigned max = MaxML; 2106 ML_defaultNorm, ML_defaultNormLog, MaxML, 2940 { short matchlengthNCount[MaxML+1]; 2941 unsigned matchlengthMaxValue = MaxML, matchlengthLog; 2946 FORWARD_IF_ERROR( ZSTD_checkDictNCount(matchlengthNCount, matchlengthMaxValue, MaxML), "");
|
H A D | zstd_compress_internal.h | 73 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)]; 104 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */
|
/freebsd-current/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_superblock.c | 380 cSeqSizeEstimate += ZSTD_estimateSubBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, MaxML, 382 ML_defaultNorm, ML_defaultNormLog, MaxML,
|
H A D | zstd_opt.c | 171 for (ml=0; ml<=MaxML; ml++) { 212 for (ml=0; ml<=MaxML; ml++) 215 optPtr->matchLengthSum = MaxML+1; 235 optPtr->matchLengthSum = ZSTD_scaleStats(optPtr->matchLengthFreq, MaxML, 11);
|
H A D | zstd_compress.c | 1435 ZSTD_cwksp_aligned_alloc_size((MaxML+1) * sizeof(U32)) 1772 ms->opt.matchLengthFreq = (unsigned*)ZSTD_cwksp_reserve_aligned(ws, (MaxML+1) * sizeof(unsigned)); 2407 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; 2535 { unsigned max = MaxML; 2550 ML_defaultNorm, ML_defaultNormLog, MaxML, 3319 cSeqSizeEstimate += ZSTD_estimateBlockSize_symbolType(fseMetadata->mlType, mlCodeTable, nbSeq, MaxML, 3321 ML_defaultNorm, ML_defaultNormLog, MaxML, 4353 { short matchlengthNCount[MaxML+1]; 4354 unsigned matchlengthMaxValue = MaxML, matchlengthLog; 4363 bs->entropy.fse.matchlength_repeatMode = ZSTD_dictNCountRepeat(matchlengthNCount, matchlengthMaxValue, MaxML); [all...] |
H A D | zstd_compress_internal.h | 72 FSE_CTable matchlengthCTable[FSE_CTABLE_SIZE_U32(MLFSELog, MaxML)]; 167 unsigned* matchLengthFreq; /* table of matchLength statistics, of size (MaxML+1) */
|
/freebsd-current/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v01.c | 1329 #define MaxML ((1<<MLbits )-1) macro 1337 #define MaxSeq MAX(MaxLL, MaxML) 1612 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ 1661 { U32 max = MaxML; 1731 if (matchLength == MaxML)
|
H A D | zstd_v06.c | 497 #define MaxML 52 macro 500 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 520 static const U32 ML_bits[MaxML+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 524 static const S16 ML_defaultNorm[MaxML+1] = { 1, 4, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 3260 { size_t const bhSize = ZSTDv06_buildSeqTable(DTableML, MLtype, MaxML, MLFSELog, ip, iend-ip, ML_defaultNorm, ML_defaultNormLog, flagRepeatTable); 3302 static const U32 ML_base[MaxML+1] = { 3827 { short matchlengthNCount[MaxML+1]; 3828 unsigned matchlengthMaxValue = MaxML, matchlengthLog;
|
H A D | zstd_v07.c | 2730 #define MaxML 52 macro 2733 #define MaxSeq MAX(MaxLL, MaxML) /* Assumption : MaxOff < MaxLL,MaxML */ 2753 static const U32 ML_bits[MaxML+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2757 static const S16 ML_defaultNorm[MaxML+1] = { 1, 4, 3, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 3490 { size_t const mlhSize = ZSTDv07_buildSeqTable(DTableML, MLtype, MaxML, MLFSELog, ip, iend-ip, ML_defaultNorm, ML_defaultNormLog, flagRepeatTable); 3532 static const U32 ML_base[MaxML+1] = { 4113 { short matchlengthNCount[MaxML+1]; 4114 unsigned matchlengthMaxValue = MaxML, matchlengthLog;
|
H A D | zstd_v03.c | 2364 #define MaxML ((1<<MLbits )-1) macro 2372 #define MaxSeq MAX(MaxLL, MaxML) 2601 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ 2651 { U32 max = MaxML; 2723 if (matchLength == MaxML)
|
H A D | zstd_v05.c | 474 #define MaxML ((1<<MLbits) - 1) macro 480 #define MaxSeq MAX(MaxLL, MaxML) 3044 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ 3111 { unsigned max = MaxML; 3190 if (matchLength == MaxML) { 3671 short matchlengthNCount[MaxML+1]; 3672 unsigned matchlengthMaxValue = MaxML, matchlengthLog;
|
H A D | zstd_v04.c | 371 #define MaxML ((1<<MLbits) - 1) macro 377 #define MaxSeq MAX(MaxLL, MaxML) 2727 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL >= MaxOff */ 2777 { U32 max = MaxML; 2846 if (matchLength == MaxML) {
|
H A D | zstd_v02.c | 2723 #define MaxML ((1<<MLbits )-1) macro 2731 #define MaxSeq MAX(MaxLL, MaxML) 2960 S16 norm[MaxML+1]; /* assumption : MaxML >= MaxLL and MaxOff */ 3010 { U32 max = MaxML; 3082 if (matchLength == MaxML)
|