Lines Matching refs:gap_start
8463 uint32_t gap_start = field_offset.Uint32Value(); in AlignFieldOffset() local
8464 field_offset = MemberOffset(RoundUp(gap_start, kSize)); in AlignFieldOffset()
8465 AddGaps<kSize - 1u>(gap_start, field_offset.Uint32Value()); in AlignFieldOffset()
8507 void AddGaps(uint32_t gap_start, uint32_t gap_end) { in AddGaps() argument
8509 DCHECK_LT(gap_start, gap_end); in AddGaps()
8511 if ((gap_start & 1u) != 0u) { in AddGaps()
8513 gap1_offset_ = gap_start; in AddGaps()
8514 gap_start += 1u; in AddGaps()
8515 if (kGapsToCheck == 1u || gap_start == gap_end) { in AddGaps()
8516 DCHECK_EQ(gap_start, gap_end); in AddGaps()
8523 DCHECK_LT(gap_start, gap_end); in AddGaps()
8524 DCHECK_ALIGNED(gap_start, 2u); in AddGaps()
8526 if ((gap_start & 2u) != 0u) { in AddGaps()
8528 gap2_offset_ = gap_start; in AddGaps()
8529 gap_start += 2u; in AddGaps()
8530 if (kGapsToCheck <= 3u || gap_start == gap_end) { in AddGaps()
8531 DCHECK_EQ(gap_start, gap_end); in AddGaps()
8538 DCHECK_LT(gap_start, gap_end); in AddGaps()
8539 DCHECK_ALIGNED(gap_start, 4u); in AddGaps()
8541 DCHECK_EQ(gap_start + 4u, gap_end); in AddGaps()
8543 gap4_offset_ = gap_start; in AddGaps()
8547 DCHECK(false) << "Remaining gap: " << gap_start << " to " << gap_end in AddGaps()