| /src/sys/contrib/zstd/lib/common/ |
| H A D | bitstream.h | 236 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 D | bitstream.h | 208 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 D | zstd_ldm.h | 84 void ZSTD_ldm_skipRawSeqStoreBytes(RawSeqStore_t* rawSeqStore, size_t nbBytes);
|
| H A D | zstd_ldm.c | 665 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 D | huf_compress.c | 942 size_t const nbBytes = nbBits >> 3; in HUF_flushBits() local 951 bitC->ptr += nbBytes; in HUF_flushBits()
|
| H A D | zstd_opt.c | 919 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 D | zstd_ldm.h | 87 void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes);
|
| H A D | zstd_ldm.c | 643 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 D | huf_compress.c | 851 size_t const nbBytes = nbBits >> 3; in HUF_flushBits() local 860 bitC->ptr += nbBytes; in HUF_flushBits()
|
| H A D | zstd_opt.c | 881 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 D | zstd_v02.c | 482 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 D | zstd_v01.c | 754 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 D | zstd_v03.c | 484 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 D | zstd_v04.c | 749 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 D | zstd_v06.c | 974 { 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 D | zstd_v05.c | 873 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 D | zstd_v07.c | 642 { 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 D | huf_decompress.c | 800 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()
|