Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dfse_decompress.c252 …size_t const NCountLength = FSE_readNCount (counting, &maxSymbolValue, &tableLog, istart, cSrcSize… in FSE_decompress_wksp() local
253 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp()
256 ip += NCountLength; in FSE_decompress_wksp()
257 cSrcSize -= NCountLength; in FSE_decompress_wksp()
/freebsd/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c336 …size_t const NCountLength = FSE_readNCount_bmi2(wksp->ncount, &maxSymbolValue, &tableLog, istart, … in FSE_decompress_wksp_body() local
337 if (FSE_isError(NCountLength)) return NCountLength; in FSE_decompress_wksp_body()
339 assert(NCountLength <= cSrcSize); in FSE_decompress_wksp_body()
340 ip += NCountLength; in FSE_decompress_wksp_body()
341 cSrcSize -= NCountLength; in FSE_decompress_wksp_body()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c1661 …{ size_t const NCountLength = FSEv06_readNCount (counting, &maxSymbolValue, &tableLog, istart, c… in FSEv06_decompress() local
1662 if (FSEv06_isError(NCountLength)) return NCountLength; in FSEv06_decompress()
1663 if (NCountLength >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv06_decompress()
1664 ip += NCountLength; in FSEv06_decompress()
1665 cSrcSize -= NCountLength; in FSEv06_decompress()
H A Dzstd_v07.c1681 …{ size_t const NCountLength = FSEv07_readNCount (counting, &maxSymbolValue, &tableLog, istart, c… in FSEv07_decompress() local
1682 if (FSEv07_isError(NCountLength)) return NCountLength; in FSEv07_decompress()
1683 if (NCountLength >= cSrcSize) return ERROR(srcSize_wrong); /* too small input size */ in FSEv07_decompress()
1684 ip += NCountLength; in FSEv07_decompress()
1685 cSrcSize -= NCountLength; in FSEv07_decompress()