Home
last modified time | relevance | path

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

/Linux-v5.4/lib/zstd/
Dbitstream.h118 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize);
239 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize) in BIT_initDStream() argument
247 bitD->start = (const char *)srcBuffer; in BIT_initDStream()
248 bitD->ptr = (const char *)srcBuffer + srcSize - sizeof(bitD->bitContainer); in BIT_initDStream()
251 BYTE const lastByte = ((const BYTE *)srcBuffer)[srcSize - 1]; in BIT_initDStream()
257 bitD->start = (const char *)srcBuffer; in BIT_initDStream()
261 …case 7: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[6]) << (sizeof(bitD->bitContain… in BIT_initDStream()
263 …case 6: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[5]) << (sizeof(bitD->bitContain… in BIT_initDStream()
265 …case 5: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[4]) << (sizeof(bitD->bitContain… in BIT_initDStream()
267 case 4: bitD->bitContainer += (size_t)(((const BYTE *)(srcBuffer))[3]) << 24; in BIT_initDStream()
[all …]