Lines Matching refs:dest
154 static inline uint8_t* EncodeUnsignedLeb128(uint8_t* dest, uint64_t value) { in EncodeUnsignedLeb128() argument
158 *dest++ = out | 0x80; in EncodeUnsignedLeb128()
162 *dest++ = out; in EncodeUnsignedLeb128()
163 return dest; in EncodeUnsignedLeb128()
167 static inline void EncodeUnsignedLeb128(Vector* dest, uint64_t value) { in EncodeUnsignedLeb128() argument
172 dest->push_back(out | 0x80); in EncodeUnsignedLeb128()
176 dest->push_back(out); in EncodeUnsignedLeb128()
181 static inline void UpdateUnsignedLeb128(uint8_t* dest, uint32_t value) { in UpdateUnsignedLeb128() argument
182 const uint8_t* old_end = dest; in UpdateUnsignedLeb128()
185 for (uint8_t* end = EncodeUnsignedLeb128(dest, value); end < old_end; end++) { in UpdateUnsignedLeb128()
192 static inline uint8_t* EncodeSignedLeb128(uint8_t* dest, int64_t value) { in EncodeSignedLeb128() argument
196 *dest++ = out | 0x80; in EncodeSignedLeb128()
201 *dest++ = out; in EncodeSignedLeb128()
202 return dest; in EncodeSignedLeb128()
205 static inline void EncodeSignedLeb128(std::vector<uint8_t>* dest, int64_t value) { in EncodeSignedLeb128() argument
209 dest->push_back(out | 0x80); in EncodeSignedLeb128()
214 dest->push_back(out); in EncodeSignedLeb128()