• Home
  • Raw
  • Download

Lines Matching refs:uint8_t

33 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) {  in DecodeUnsignedLeb128()
34 const uint8_t* ptr = *data; in DecodeUnsignedLeb128()
58 static inline uint32_t DecodeUnsignedLeb128WithoutMovingCursor(const uint8_t* data) { in DecodeUnsignedLeb128WithoutMovingCursor()
62 static inline bool DecodeUnsignedLeb128Checked(const uint8_t** data, in DecodeUnsignedLeb128Checked()
65 const uint8_t* ptr = *data; in DecodeUnsignedLeb128Checked()
109 static inline int32_t DecodeUnsignedLeb128P1(const uint8_t** data) { in DecodeUnsignedLeb128P1()
116 static inline int32_t DecodeSignedLeb128(const uint8_t** data) { in DecodeSignedLeb128()
117 const uint8_t* ptr = *data; in DecodeSignedLeb128()
149 static inline bool DecodeSignedLeb128Checked(const uint8_t** data, in DecodeSignedLeb128Checked()
152 const uint8_t* ptr = *data; in DecodeSignedLeb128Checked()
210 static inline bool IsLeb128Terminator(const uint8_t* ptr) { in IsLeb128Terminator()
219 static_assert(std::is_same<typename std::remove_const<T>::type, uint8_t>::value, in ReverseSearchUnsignedLeb128()
246 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128()
247 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
260 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in EncodeUnsignedLeb128()
261 uint8_t out = value & 0x7f; in EncodeUnsignedLeb128()
273 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128()
274 const uint8_t* old_end = dest; in UpdateUnsignedLeb128()
277 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128()
284 static inline uint8_t* EncodeSignedLeb128(uint8_t* dest, int32_t value) { in EncodeSignedLeb128()
286 uint8_t out = value & 0x7f; in EncodeSignedLeb128()
299 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in EncodeSignedLeb128()
301 uint8_t out = value & 0x7f; in EncodeSignedLeb128()
312 template <typename Vector = std::vector<uint8_t>>
314 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type");
359 template <typename Vector = std::vector<uint8_t>>
362 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type");