Home
last modified time | relevance | path

Searched refs:gap_blocks (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/payload_generator/
Ddeflate_utils.cc140 auto gap_blocks = base_extents[0].start_block(); in ShiftExtentsOverExtents() local
144 gap_blocks += base_ext.start_block() - last_end_block; in ShiftExtentsOverExtents()
146 base_ext.set_start_block(base_ext.start_block() - gap_blocks); in ShiftExtentsOverExtents()
153 over_ext->set_start_block(over_ext->start_block() + gap_blocks); in ShiftExtentsOverExtents()
159 ExtentForRange(gap_blocks + over_ext->start_block(), new_blocks), in ShiftExtentsOverExtents()
186 size_t gap_blocks = base_extents[0].start_block(); in ShiftBitExtentsOverExtents() local
190 gap_blocks += b_ext.start_block() - last_end_block; in ShiftBitExtentsOverExtents()
192 b_ext.set_start_block(b_ext.start_block() - gap_blocks); in ShiftBitExtentsOverExtents()
200 o_ext->offset += gap_blocks * kBlockSize * 8; in ShiftBitExtentsOverExtents()