Lines Matching defs:current_offset
206 uint32_t current_offset = gap_start;
207 while (current_offset != gap_end) {
208 size_t remaining = gap_end - current_offset;
209 if (remaining >= sizeof(uint32_t) && IsAligned<4>(current_offset)) {
210 gaps->push(FieldGap {current_offset, sizeof(uint32_t)});
211 current_offset += sizeof(uint32_t);
212 } else if (remaining >= sizeof(uint16_t) && IsAligned<2>(current_offset)) {
213 gaps->push(FieldGap {current_offset, sizeof(uint16_t)});
214 current_offset += sizeof(uint16_t);
216 gaps->push(FieldGap {current_offset, sizeof(uint8_t)});
217 current_offset += sizeof(uint8_t);
219 DCHECK_LE(current_offset, gap_end) << "Overran gap";