Home
last modified time | relevance | path

Searched refs:litLengthSum (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_superblock.c134 size_t litLengthSum = 0; in ZSTD_seqDecompressedSize() local
135 (void)(litLengthSum); /* suppress unused variable warning on some environments */ in ZSTD_seqDecompressedSize()
138 litLengthSum += seqLen.litLength; in ZSTD_seqDecompressedSize()
142 assert(litLengthSum <= litSize); in ZSTD_seqDecompressedSize()
144 assert(litLengthSum == litSize); in ZSTD_seqDecompressedSize()
Dzstd_opt.c75 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel); in ZSTD_setBasePrices()
132 if (optPtr->litLengthSum == 0) { /* first block : init */ in ZSTD_rescaleFreqs()
158 optPtr->litLengthSum = 0; in ZSTD_rescaleFreqs()
164 optPtr->litLengthSum += optPtr->litLengthFreq[ll]; in ZSTD_rescaleFreqs()
208 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1); in ZSTD_rescaleFreqs()
234 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11); in ZSTD_rescaleFreqs()
344 optPtr->litLengthSum++; in ZSTD_updateStats()
1364 assert(ms->opt.litLengthSum == 0); /* first block */ in ZSTD_initStats_ultra()
1404 if ( (ms->opt.litLengthSum==0) /* first block */ in ZSTD_compressBlock_btultra2()
Dzstd_compress_internal.h167 U32 litLengthSum; /* nb of litLength codes */ member
Dzstd_compress.c1609 ms->opt.litLengthSum = 0; /* force reset of btopt stats */ in ZSTD_invalidateMatchState()