Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/common/
Dbitstream.h268 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()
270 if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ } in BIT_initDStream()
296 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local
297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
298 if (lastByte == 0) return ERROR(corruption_detected); /* endMark not present */ in BIT_initDStream()
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c140 BYTE const lastByte = ip[7]; in HUF_initDStream() local
141 size_t const bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in HUF_initDStream()