Lines Matching full:byte
33 // Read an unsigned LEB128 number. Each byte contains 7 bits of
35 // not. BYTE contains the first byte of the number, and is guaranteed
40 unsigned char byte)
42 uint64_t result = static_cast<uint64_t>(byte & 0x7f);
54 byte = *buffer++;
56 result |= (static_cast<uint64_t>(byte & 0x7f)) << shift;
59 while (byte & 0x80);
67 // numbers, except the last byte may have a sign bit set.
68 // BYTE contains the first byte of the number, and is guaranteed
73 unsigned char byte)
75 int64_t result = static_cast<uint64_t>(byte & 0x7f);
87 byte = *buffer++;
89 result |= (static_cast<uint64_t>(byte & 0x7f) << shift);
92 while (byte & 0x80);
94 if ((shift < 8 * static_cast<int>(sizeof(result))) && (byte & 0x40))