Home
last modified time | relevance | path

Searched refs:nbBytes (Results 1 – 18 of 18) sorted by relevance

/src/sys/contrib/zstd/lib/common/
H A Dbitstream.h236 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBitsFast() local
240 bitC->ptr += nbBytes; in BIT_flushBitsFast()
242 bitC->bitContainer >>= nbBytes*8; in BIT_flushBitsFast()
252 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBits() local
256 bitC->ptr += nbBytes; in BIT_flushBits()
259 bitC->bitContainer >>= nbBytes*8; in BIT_flushBits()
453 { U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream() local
455 if (bitD->ptr - nbBytes < bitD->start) { in BIT_reloadDStream()
456 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BIT_reloadDStream()
459 bitD->ptr -= nbBytes; in BIT_reloadDStream()
[all …]
/src/sys/contrib/openzfs/module/zstd/lib/common/
H A Dbitstream.h208 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBitsFast() local
212 bitC->ptr += nbBytes; in BIT_flushBitsFast()
214 bitC->bitContainer >>= nbBytes*8; in BIT_flushBitsFast()
224 size_t const nbBytes = bitC->bitPos >> 3; in BIT_flushBits() local
228 bitC->ptr += nbBytes; in BIT_flushBits()
231 bitC->bitContainer >>= nbBytes*8; in BIT_flushBits()
434 { U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream() local
436 if (bitD->ptr - nbBytes < bitD->start) { in BIT_reloadDStream()
437 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BIT_reloadDStream()
440 bitD->ptr -= nbBytes; in BIT_reloadDStream()
[all …]
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_ldm.h84 void ZSTD_ldm_skipRawSeqStoreBytes(RawSeqStore_t* rawSeqStore, size_t nbBytes);
H A Dzstd_ldm.c665 void ZSTD_ldm_skipRawSeqStoreBytes(RawSeqStore_t* rawSeqStore, size_t nbBytes) { in ZSTD_ldm_skipRawSeqStoreBytes() argument
666 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_ldm_skipRawSeqStoreBytes()
H A Dhuf_compress.c942 size_t const nbBytes = nbBits >> 3; in HUF_flushBits() local
951 bitC->ptr += nbBytes; in HUF_flushBits()
H A Dzstd_opt.c919 static void ZSTD_optLdm_skipRawSeqStoreBytes(RawSeqStore_t* rawSeqStore, size_t nbBytes) in ZSTD_optLdm_skipRawSeqStoreBytes() argument
921 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes()
/src/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.h87 void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes);
H A Dzstd_ldm.c643 void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes) { in ZSTD_ldm_skipRawSeqStoreBytes() argument
644 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_ldm_skipRawSeqStoreBytes()
H A Dhuf_compress.c851 size_t const nbBytes = nbBits >> 3; in HUF_flushBits() local
860 bitC->ptr += nbBytes; in HUF_flushBits()
H A Dzstd_opt.c881 static void ZSTD_optLdm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes) in ZSTD_optLdm_skipRawSeqStoreBytes() argument
883 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes()
/src/sys/contrib/zstd/lib/legacy/
H A Dzstd_v02.c482 U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream() local
484 if (bitD->ptr - nbBytes < bitD->start) in BIT_reloadDStream()
486 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BIT_reloadDStream()
489 bitD->ptr -= nbBytes; in BIT_reloadDStream()
490 bitD->bitsConsumed -= nbBytes*8; in BIT_reloadDStream()
2194 typedef struct { BYTE nbBits; BYTE nbBytes; } HUF_DDescX6; member
2205 const U32 level = DDesc.nbBytes; in HUF_fillDTableX6LevelN()
2225 DDesc.nbBytes++; in HUF_fillDTableX6LevelN()
2350 DDesc.nbBytes = 0; in HUF_readDTableX6()
2366 return dd[val].nbBytes; in HUF_decodeSymbolX6()
[all …]
H A Dzstd_v01.c754 U32 nbBytes = bitD->bitsConsumed >> 3; in FSE_reloadDStream() local
756 if (bitD->ptr - nbBytes < bitD->start) in FSE_reloadDStream()
758 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in FSE_reloadDStream()
761 bitD->ptr -= nbBytes; in FSE_reloadDStream()
762 bitD->bitsConsumed -= nbBytes*8; in FSE_reloadDStream()
H A Dzstd_v03.c484 U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream() local
486 if (bitD->ptr - nbBytes < bitD->start) in BIT_reloadDStream()
488 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BIT_reloadDStream()
491 bitD->ptr -= nbBytes; in BIT_reloadDStream()
492 bitD->bitsConsumed -= nbBytes*8; in BIT_reloadDStream()
H A Dzstd_v04.c749 U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream() local
751 if (bitD->ptr - nbBytes < bitD->start) in BIT_reloadDStream()
753 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BIT_reloadDStream()
756 bitD->ptr -= nbBytes; in BIT_reloadDStream()
757 bitD->bitsConsumed -= nbBytes*8; in BIT_reloadDStream()
H A Dzstd_v06.c974 { U32 nbBytes = bitD->bitsConsumed >> 3; in BITv06_reloadDStream() local
976 if (bitD->ptr - nbBytes < bitD->start) { in BITv06_reloadDStream()
977 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BITv06_reloadDStream()
980 bitD->ptr -= nbBytes; in BITv06_reloadDStream()
981 bitD->bitsConsumed -= nbBytes*8; in BITv06_reloadDStream()
H A Dzstd_v05.c873 U32 nbBytes = bitD->bitsConsumed >> 3; in BITv05_reloadDStream() local
875 if (bitD->ptr - nbBytes < bitD->start) { in BITv05_reloadDStream()
876 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BITv05_reloadDStream()
879 bitD->ptr -= nbBytes; in BITv05_reloadDStream()
880 bitD->bitsConsumed -= nbBytes*8; in BITv05_reloadDStream()
H A Dzstd_v07.c642 { U32 nbBytes = bitD->bitsConsumed >> 3; in BITv07_reloadDStream() local
644 if (bitD->ptr - nbBytes < bitD->start) { in BITv07_reloadDStream()
645 nbBytes = (U32)(bitD->ptr - bitD->start); /* ptr > start */ in BITv07_reloadDStream()
648 bitD->ptr -= nbBytes; in BITv07_reloadDStream()
649 bitD->bitsConsumed -= nbBytes*8; in BITv07_reloadDStream()
/src/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dhuf_decompress.c800 int const nbBytes = ctz >> 3; \ in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
802 ip[(_stream)] -= nbBytes; \ in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
1623 int const nbBytes = ctz >> 3; \ in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
1624 ip[(_stream)] -= nbBytes; \ in HUF_decompress4X2_usingDTable_internal_fast_c_loop()