Searched refs:litLengthSum (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c134 size_t litLengthSum = 0; local
135 (void)(litLengthSum); /* suppress unused variable warning on some environments */
138 litLengthSum += seqLen.litLength;
142 assert(litLengthSum <= litSize);
144 assert(litLengthSum == litSize);
H A Dzstd_opt.c75 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel);
117 * if first block (detected by optPtr->litLengthSum == 0) : init statistics
132 if (optPtr->litLengthSum == 0) { /* first block : init */
158 optPtr->litLengthSum = 0;
164 optPtr->litLengthSum += optPtr->litLengthFreq[ll];
208 optPtr->litLengthSum = sum_u32(baseLLfreqs, MaxLL+1);
234 optPtr->litLengthSum = ZSTD_scaleStats(optPtr->litLengthFreq, MaxLL, 11);
344 optPtr->litLengthSum++;
1364 assert(ms->opt.litLengthSum == 0); /* first block */
1404 if ( (ms->opt.litLengthSum
[all...]
H A Dzstd_compress_internal.h173 U32 litLengthSum; /* nb of litLength codes */ member in struct:__anon92
H A Dzstd_compress.c1688 ms->opt.litLengthSum = 0; /* force reset of btopt stats */
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_opt.c76 optPtr->litLengthSumBasePrice = WEIGHT(optPtr->litLengthSum, optLevel);
98 * if first block (detected by optPtr->litLengthSum == 0) : init statistics
112 if (optPtr->litLengthSum == 0) { /* first block : init */
138 optPtr->litLengthSum = 0;
144 optPtr->litLengthSum += optPtr->litLengthFreq[ll];
184 optPtr->litLengthSum = MaxLL+1;
204 optPtr->litLengthSum = ZSTD_downscaleStat(optPtr->litLengthFreq, MaxLL, 0);
303 optPtr->litLengthSum++;
1096 optPtr->litLengthSum = ZSTD_upscaleStat(optPtr->litLengthFreq, MaxLL, 0);
1116 assert(ms->opt.litLengthSum
[all...]
H A Dzstd_compress_superblock.c412 size_t litLengthSum __attribute__ ((unused)) = 0; local
415 litLengthSum += seqLen.litLength;
419 assert(litLengthSum <= litSize);
421 assert(litLengthSum == litSize);
H A Dzstd_compress_internal.h110 U32 litLengthSum; /* nb of litLength codes */ member in struct:__anon185
H A Dzstd_compress.c1303 ms->opt.litLengthSum = 0; /* force reset of btopt stats */
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c598 U32 litLengthSum; member in struct:__anon254
H A Dzstd_v05.c543 U32 litLengthSum; member in struct:__anon231
H A Dzstd_v07.c2832 U32 litLengthSum; member in struct:__anon286

Completed in 370 milliseconds