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.c61 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount() local
63 if (FSE_isError(countSize)) return countSize; in FSE_readNCount()
64 if (countSize > hbSize) return ERROR(corruption_detected); in FSE_readNCount()
65 return countSize; in FSE_readNCount()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_superblock.c210 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_LitLength, LLFSELog, (symbolEn… in ZSTD_buildSuperBlockEntropy_sequences() local
214 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_buildSuperBlockEntropy_sequences()
216 fseMetadata->lastCountSize = countSize; in ZSTD_buildSuperBlockEntropy_sequences()
217 op += countSize; in ZSTD_buildSuperBlockEntropy_sequences()
234 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_OffsetBits, OffFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences() local
238 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_buildSuperBlockEntropy_sequences()
240 fseMetadata->lastCountSize = countSize; in ZSTD_buildSuperBlockEntropy_sequences()
241 op += countSize; in ZSTD_buildSuperBlockEntropy_sequences()
256 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_MatchLength, MLFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences() local
260 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_buildSuperBlockEntropy_sequences()
[all …]
H A Dzstd_compress.c2049 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2057 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for LitLens failed"); in ZSTD_compressSequences_internal()
2060 op += countSize; in ZSTD_compressSequences_internal()
2077 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2085 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for Offsets failed"); in ZSTD_compressSequences_internal()
2088 op += countSize; in ZSTD_compressSequences_internal()
2103 { size_t const countSize = ZSTD_buildCTable( in ZSTD_compressSequences_internal() local
2111 FORWARD_IF_ERROR(countSize, "ZSTD_buildCTable for MatchLengths failed"); in ZSTD_compressSequences_internal()
2114 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 …]