bitContainer 71 lib/zstd/bitstream.h size_t bitContainer; bitContainer 104 lib/zstd/bitstream.h size_t bitContainer; bitContainer 164 lib/zstd/bitstream.h bitC->bitContainer = 0; bitContainer 179 lib/zstd/bitstream.h bitC->bitContainer |= (value & BIT_mask[nbBits]) << bitC->bitPos; bitContainer 187 lib/zstd/bitstream.h bitC->bitContainer |= value << bitC->bitPos; bitContainer 196 lib/zstd/bitstream.h ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); bitContainer 199 lib/zstd/bitstream.h bitC->bitContainer >>= nbBytes * 8; /* if bitPos >= sizeof(bitContainer)*8 --> undefined behavior */ bitContainer 208 lib/zstd/bitstream.h ZSTD_writeLEST(bitC->ptr, bitC->bitContainer); bitContainer 213 lib/zstd/bitstream.h bitC->bitContainer >>= nbBytes * 8; /* if bitPos >= sizeof(bitContainer)*8 --> undefined behavior */ bitContainer 246 lib/zstd/bitstream.h if (srcSize >= sizeof(bitD->bitContainer)) { /* normal case */ bitContainer 248 lib/zstd/bitstream.h bitD->ptr = (const char *)srcBuffer + srcSize - sizeof(bitD->bitContainer); bitContainer 249 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); bitContainer 259 lib/zstd/bitstream.h bitD->bitContainer = *(const BYTE *)(bitD->start); bitContainer 261 lib/zstd/bitstream.h case 7: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[6]) << (sizeof(bitD->bitContainer) * 8 - 16); bitContainer 263 lib/zstd/bitstream.h case 6: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[5]) << (sizeof(bitD->bitContainer) * 8 - 24); bitContainer 265 lib/zstd/bitstream.h case 5: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[4]) << (sizeof(bitD->bitContainer) * 8 - 32); bitContainer 267 lib/zstd/bitstream.h case 4: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[3]) << 24; bitContainer 269 lib/zstd/bitstream.h case 3: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[2]) << 16; bitContainer 271 lib/zstd/bitstream.h case 2: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[1]) << 8; bitContainer 280 lib/zstd/bitstream.h bitD->bitsConsumed += (U32)(sizeof(bitD->bitContainer) - srcSize) * 8; bitContainer 286 lib/zstd/bitstream.h ZSTD_STATIC size_t BIT_getUpperBits(size_t bitContainer, U32 const start) { return bitContainer >> start; } bitContainer 288 lib/zstd/bitstream.h ZSTD_STATIC size_t BIT_getMiddleBits(size_t bitContainer, U32 const start, U32 const nbBits) { return (bitContainer >> start) & BIT_mask[nbBits]; } bitContainer 290 lib/zstd/bitstream.h ZSTD_STATIC size_t BIT_getLowerBits(size_t bitContainer, U32 const nbBits) { return bitContainer & BIT_mask[nbBits]; } bitContainer 301 lib/zstd/bitstream.h U32 const bitMask = sizeof(bitD->bitContainer) * 8 - 1; bitContainer 302 lib/zstd/bitstream.h return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask - nbBits) & bitMask); bitContainer 309 lib/zstd/bitstream.h U32 const bitMask = sizeof(bitD->bitContainer) * 8 - 1; bitContainer 310 lib/zstd/bitstream.h return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask + 1) - nbBits) & bitMask); bitContainer 343 lib/zstd/bitstream.h if (bitD->bitsConsumed > (sizeof(bitD->bitContainer) * 8)) /* should not happen => corruption detected */ bitContainer 346 lib/zstd/bitstream.h if (bitD->ptr >= bitD->start + sizeof(bitD->bitContainer)) { bitContainer 349 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); bitContainer 353 lib/zstd/bitstream.h if (bitD->bitsConsumed < sizeof(bitD->bitContainer) * 8) bitContainer 366 lib/zstd/bitstream.h bitD->bitContainer = ZSTD_readLEST(bitD->ptr); /* reminder : srcSize > sizeof(bitD) */ bitContainer 376 lib/zstd/bitstream.h return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer) * 8)); bitContainer 756 lib/zstd/fse_compress.c if ((sizeof(bitC.bitContainer) * 8 > FSE_MAX_TABLELOG * 4 + 7) && (srcSize & 2)) { /* test bit 2 */ bitContainer 767 lib/zstd/fse_compress.c if (sizeof(bitC.bitContainer) * 8 < FSE_MAX_TABLELOG * 2 + 7) /* this test must be static */ bitContainer 772 lib/zstd/fse_compress.c if (sizeof(bitC.bitContainer) * 8 > FSE_MAX_TABLELOG * 4 + 7) { /* this test must be static */ bitContainer 238 lib/zstd/fse_decompress.c if (FSE_MAX_TABLELOG * 2 + 7 > sizeof(bitD.bitContainer) * 8) /* This test must be static */ bitContainer 243 lib/zstd/fse_decompress.c if (FSE_MAX_TABLELOG * 4 + 7 > sizeof(bitD.bitContainer) * 8) /* This test must be static */ bitContainer 253 lib/zstd/fse_decompress.c if (FSE_MAX_TABLELOG * 2 + 7 > sizeof(bitD.bitContainer) * 8) /* This test must be static */ bitContainer 531 lib/zstd/huf_compress.c if (sizeof((stream)->bitContainer) * 8 < HUF_TABLELOG_MAX * 2 + 7) \ bitContainer 535 lib/zstd/huf_compress.c if (sizeof((stream)->bitContainer) * 8 < HUF_TABLELOG_MAX * 4 + 7) \ bitContainer 610 lib/zstd/huf_decompress.c if (DStream->bitsConsumed < (sizeof(DStream->bitContainer) * 8)) { bitContainer 612 lib/zstd/huf_decompress.c if (DStream->bitsConsumed > (sizeof(DStream->bitContainer) * 8)) bitContainer 614 lib/zstd/huf_decompress.c DStream->bitsConsumed = (sizeof(DStream->bitContainer) * 8); bitContainer 635 lib/zstd/huf_decompress.c while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd - (sizeof(bitDPtr->bitContainer) - 1))) { bitContainer 769 lib/zstd/huf_decompress.c for (; (endSignal == BIT_DStream_unfinished) & (op4 < (oend - (sizeof(bitD4.bitContainer) - 1)));) {