Lines Matching refs:dest
246 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint32_t value) { in EncodeUnsignedLeb128() argument
250 *dest++ = out | 0x80; in EncodeUnsignedLeb128()
254 *dest++ = out; in EncodeUnsignedLeb128()
255 return dest; in EncodeUnsignedLeb128()
259 static inline void EncodeUnsignedLeb128(Vector* dest, uint32_t value) { in EncodeUnsignedLeb128() argument
264 dest->push_back(out | 0x80); in EncodeUnsignedLeb128()
268 dest->push_back(out); in EncodeUnsignedLeb128()
273 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128() argument
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() argument
288 *dest++ = out | 0x80; in EncodeSignedLeb128()
293 *dest++ = out; in EncodeSignedLeb128()
294 return dest; in EncodeSignedLeb128()
298 static inline void EncodeSignedLeb128(Vector* dest, int32_t value) { in EncodeSignedLeb128() argument
303 dest->push_back(out | 0x80); in EncodeSignedLeb128()
308 dest->push_back(out); in EncodeSignedLeb128()