Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dab_generator.cc117 Extent curr_src_ext = original_op.src_extents(curr_src_ext_index); in SplitSourceCopy() local
124 if (curr_src_ext.num_blocks() <= blocks_left) { in SplitSourceCopy()
126 blocks_left -= curr_src_ext.num_blocks(); in SplitSourceCopy()
127 *(new_op.add_src_extents()) = curr_src_ext; in SplitSourceCopy()
129 curr_src_ext = original_op.src_extents(++curr_src_ext_index); in SplitSourceCopy()
137 first_ext.set_start_block(curr_src_ext.start_block()); in SplitSourceCopy()
140 curr_src_ext.set_num_blocks(curr_src_ext.num_blocks() - blocks_left); in SplitSourceCopy()
141 curr_src_ext.set_start_block(curr_src_ext.start_block() + blocks_left); in SplitSourceCopy()