Home | History | Annotate | Download | only in runtime

Lines Matching full:current_offset

252   uint32_t current_offset = gap_start;
253 while (current_offset != gap_end) {
254 size_t remaining = gap_end - current_offset;
255 if (remaining >= sizeof(uint32_t) && IsAligned<4>(current_offset)) {
256 gaps->push(FieldGap {current_offset, sizeof(uint32_t)});
257 current_offset += sizeof(uint32_t);
258 } else if (remaining >= sizeof(uint16_t) && IsAligned<2>(current_offset)) {
259 gaps->push(FieldGap {current_offset, sizeof(uint16_t)});
260 current_offset += sizeof(uint16_t);
262 gaps->push(FieldGap {current_offset, sizeof(uint8_t)});
263 current_offset += sizeof(uint8_t);
265 DCHECK_LE(current_offset, gap_end) << "Overran gap";