Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dab_generator.cc122 uint64_t blocks_left = dst_ext.num_blocks(); in SplitSourceCopy() local
123 while (blocks_left > 0) { in SplitSourceCopy()
124 if (curr_src_ext.num_blocks() <= blocks_left) { in SplitSourceCopy()
126 blocks_left -= curr_src_ext.num_blocks(); in SplitSourceCopy()
136 first_ext.set_num_blocks(blocks_left); 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()
142 blocks_left -= first_ext.num_blocks(); in SplitSourceCopy()