Lines Matching refs:offset
131 void UpdateUint32(size_t offset, uint32_t value) { in UpdateUint32() argument
132 DCHECK_LT(offset + 3, data_->size()); in UpdateUint32()
133 (*data_)[offset + 0] = (value >> 0) & 0xFF; in UpdateUint32()
134 (*data_)[offset + 1] = (value >> 8) & 0xFF; in UpdateUint32()
135 (*data_)[offset + 2] = (value >> 16) & 0xFF; in UpdateUint32()
136 (*data_)[offset + 3] = (value >> 24) & 0xFF; in UpdateUint32()
139 void UpdateUint64(size_t offset, uint64_t value) { in UpdateUint64() argument
140 DCHECK_LT(offset + 7, data_->size()); in UpdateUint64()
141 (*data_)[offset + 0] = (value >> 0) & 0xFF; in UpdateUint64()
142 (*data_)[offset + 1] = (value >> 8) & 0xFF; in UpdateUint64()
143 (*data_)[offset + 2] = (value >> 16) & 0xFF; in UpdateUint64()
144 (*data_)[offset + 3] = (value >> 24) & 0xFF; in UpdateUint64()
145 (*data_)[offset + 4] = (value >> 32) & 0xFF; in UpdateUint64()
146 (*data_)[offset + 5] = (value >> 40) & 0xFF; in UpdateUint64()
147 (*data_)[offset + 6] = (value >> 48) & 0xFF; in UpdateUint64()
148 (*data_)[offset + 7] = (value >> 56) & 0xFF; in UpdateUint64()
151 void UpdateUleb128(size_t offset, uint32_t value) { in UpdateUleb128() argument
152 DCHECK_LE(offset + UnsignedLeb128Size(value), data_->size()); in UpdateUleb128()
153 UpdateUnsignedLeb128(data_->data() + offset, value); in UpdateUleb128()