Searched refs:lastByte (Results 1 – 2 of 2) sorted by relevance
249 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local250 …bitD->bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0; /* ensures bitsConsumed is alwa… in BIT_initDStream()251 if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ } in BIT_initDStream()277 { BYTE const lastByte = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream() local278 bitD->bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0; in BIT_initDStream()279 if (lastByte == 0) return ERROR(corruption_detected); /* endMark not present */ in BIT_initDStream()
148 BYTE const lastByte = ip[7]; in HUF_initFastDStream() local149 size_t const bitsConsumed = lastByte ? 8 - ZSTD_highbit32(lastByte) : 0; in HUF_initFastDStream()