Searched refs:lastByte (Results 1 – 2 of 2) sorted by relevance
268 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local269 …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() local297 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()
140 BYTE const lastByte = ip[7]; in HUF_initDStream() local141 size_t const bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in HUF_initDStream()