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()218 result |= (uint32_t)(byte & 0x7F) << bitpos; in pb_decode_varint32_eof()220 bitpos = (uint_fast8_t)(bitpos + 7); in pb_decode_varint32_eof()223 if (bitpos == 35 && (byte & 0x70) != 0) in pb_decode_varint32_eof()243 uint_fast8_t bitpos = 0; in pb_decode_varint() local248 if (bitpos >= 64) in pb_decode_varint()254 result |= (uint64_t)(byte & 0x7F) << bitpos; in pb_decode_varint()[all …]