Home
last modified time | relevance | path

Searched refs:countSize (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c60 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount() local
62 if (FSE_isError(countSize)) return countSize; in FSE_readNCount()
63 if (countSize > hbSize) return ERROR(corruption_detected); in FSE_readNCount()
64 return countSize; in FSE_readNCount()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_superblock.c209 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_LitLength, LLFSELog, (symbolEn… in ZSTD_buildSuperBlockEntropy_sequences() local
213 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_buildSuperBlockEntropy_sequences()
215 fseMetadata->lastCountSize = countSize; in ZSTD_buildSuperBlockEntropy_sequences()
216 op += countSize; in ZSTD_buildSuperBlockEntropy_sequences()
233 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_OffsetBits, OffFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences() local
237 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_buildSuperBlockEntropy_sequences()
239 fseMetadata->lastCountSize = countSize; in ZSTD_buildSuperBlockEntropy_sequences()
240 op += countSize; in ZSTD_buildSuperBlockEntropy_sequences()
255 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_MatchLength, MLFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences() local
259 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_buildSuperBlockEntropy_sequences()
[all …]
H A Dzstd_compress.c2048 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2056 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_compressSequences_internal()
2059 op += countSize; in ZSTD_compressSequences_internal()
2076 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2084 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_compressSequences_internal()
2087 op += countSize; in ZSTD_compressSequences_internal()
2102 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2110 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_compressSequences_internal()
2113 op += countSize; in ZSTD_compressSequences_internal()
/freebsd/sys/contrib/zstd/lib/common/
H A Dentropy_common.c89 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body() local
91 if (FSE_isError(countSize)) return countSize; in FSE_readNCount_body()
92 if (countSize > hbSize) return ERROR(corruption_detected); in FSE_readNCount_body()
93 return countSize; in FSE_readNCount_body()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dhist.c74 size_t const countSize = (*maxSymbolValuePtr + 1) * sizeof(*count); in HIST_count_parallel_wksp() local
84 ZSTD_memset(count, 0, countSize); in HIST_count_parallel_wksp()
130 ZSTD_memmove(count, Counting1, countSize); /* in case count & Counting1 are overlapping */ in HIST_count_parallel_wksp()
H A Dzstd_compress.c2484 { size_t const countSize = ZSTD_buildCTable( in ZSTD_buildSequencesStatistics() local
2492 if (ZSTD_isError(countSize)) { in ZSTD_buildSequencesStatistics()
2494 stats.size = countSize; in ZSTD_buildSequencesStatistics()
2498 stats.lastCountSize = countSize; in ZSTD_buildSequencesStatistics()
2499 op += countSize; in ZSTD_buildSequencesStatistics()
2516 { size_t const countSize = ZSTD_buildCTable( in ZSTD_buildSequencesStatistics() local
2524 if (ZSTD_isError(countSize)) { in ZSTD_buildSequencesStatistics()
2526 stats.size = countSize; in ZSTD_buildSequencesStatistics()
2530 stats.lastCountSize = countSize; in ZSTD_buildSequencesStatistics()
2531 op += countSize; in ZSTD_buildSequencesStatistics()
[all …]