Searched refs:bitpos (Results 1 – 1 of 1) sorted by relevance
196 uint_fast8_t bitpos = 7; in pb_decode_varint32_eof() local204 if (bitpos >= 32) in pb_decode_varint32_eof()207 pb_byte_t sign_extension = (bitpos < 63) ? 0xFF : 0x01; in pb_decode_varint32_eof()211 if (bitpos >= 64 || !valid_extension) in pb_decode_varint32_eof()216 else if (bitpos == 28) in pb_decode_varint32_eof()222 result |= (uint32_t)(byte & 0x0F) << bitpos; in pb_decode_varint32_eof()226 result |= (uint32_t)(byte & 0x7F) << bitpos; in pb_decode_varint32_eof()228 bitpos = (uint_fast8_t)(bitpos + 7); in pb_decode_varint32_eof()245 uint_fast8_t bitpos = 0; in pb_decode_varint() local253 if (bitpos >= 63 && (byte & 0xFE) != 0) in pb_decode_varint()[all …]