Lines Matching refs:uint8_t

31 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) {  in DecodeUnsignedLeb128()
32 const uint8_t* ptr = *data; in DecodeUnsignedLeb128()
60 static inline int32_t DecodeUnsignedLeb128P1(const uint8_t** data) { in DecodeUnsignedLeb128P1()
67 static inline int32_t DecodeSignedLeb128(const uint8_t** data) { in DecodeSignedLeb128()
68 const uint8_t* ptr = *data; in DecodeSignedLeb128()
118 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128()
119 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
132 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in EncodeUnsignedLeb128()
133 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
145 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128()
146 const uint8_t* old_end = dest; in UpdateUnsignedLeb128()
149 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128()
156 static inline uint8_t* EncodeSignedLeb128(uint8_t* dest, int32_t value) { in EncodeSignedLeb128()
158 uint8_t out = value & 0x7f; in EncodeSignedLeb128()
171 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in EncodeSignedLeb128()
173 uint8_t out = value & 0x7f; in EncodeSignedLeb128()
184 template <typename Vector = std::vector<uint8_t>>
186 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type");
231 template <typename Vector = std::vector<uint8_t>>
234 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type");