Searched refs:dst_extents (Results 1 - 10 of 10) sorted by relevance

/system/update_engine/payload_generator/
H A Dab_generator.cc113 Extent dst_ext = original_op.dst_extents(i);
168 Extent dst_ext = original_op.dst_extents(i);
214 last_aop.op.dst_extents(last_dst_idx).start_block() +
215 last_aop.op.dst_extents(last_dst_idx).num_blocks();
216 uint32_t curr_start_block = curr_aop.op.dst_extents(0).start_block();
218 last_aop.op.dst_extents(last_dst_idx).num_blocks() +
219 curr_aop.op.dst_extents(0).num_blocks();
243 curr_aop.op.dst_extents());
277 vector<Extent> dst_extents; local
278 ExtentsToVector(aop->op.dst_extents(),
[all...]
H A Dfull_update_generator_unittest.cc91 aops[i].op.dst_extents(0).start_block())
94 aops[i].op.dst_extents(0).num_blocks());
119 BlocksInExtents(aops[0].op.dst_extents()));
121 BlocksInExtents(aops[1].op.dst_extents()));
141 BlocksInExtents(aops[0].op.dst_extents()));
H A Dab_generator_unittest.cc140 EXPECT_EQ(1, first_op.dst_extents().size());
141 EXPECT_TRUE(ExtentEquals(first_op.dst_extents(0), op_ex1_start_block,
169 EXPECT_EQ(1, second_op.dst_extents().size());
170 EXPECT_TRUE(ExtentEquals(second_op.dst_extents(0), op_ex2_start_block,
306 EXPECT_EQ(1, new_op.dst_extents().size());
307 EXPECT_TRUE(ExtentEquals(new_op.dst_extents(0), 0, total_op_num_blocks));
362 EXPECT_EQ(1, first_op.dst_extents().size());
363 EXPECT_EQ(10U, first_op.dst_extents(0).start_block());
364 EXPECT_EQ(2U, first_op.dst_extents(0).num_blocks());
378 EXPECT_EQ(1, second_op.dst_extents()
[all...]
H A Dannotated_operation.cc70 OutputExtents(&os, aop.op.dst_extents());
H A Ddelta_diff_utils.cc104 // |dst_extents|. Used for preventing moving of blocks onto themselves during
110 vector<Extent>* dst_extents,
118 while (src_idx < src_extents->size() && dst_idx < dst_extents->size()) {
129 (*dst_extents)[dst_idx].start_block() + dst_offset);
132 uint64_t dst_num_blocks = (*dst_extents)[dst_idx].num_blocks();
142 new_dst = ProcessExtentBlockRange(dst_extents, &dst_idx, do_remove,
577 vector<Extent> dst_extents = new_extents; local
654 << ExtentsToString(dst_extents);
664 &src_extents, &dst_extents, new_data.size());
672 StoreExtents(dst_extents, operatio
109 RemoveIdenticalBlockRanges(vector<Extent>* src_extents, vector<Extent>* dst_extents, const size_t total_bytes) argument
[all...]
H A Dinplace_generator_unittest.cc54 const vector<Extent>& dst_extents,
60 StoreExtents(dst_extents, out->aop.op.mutable_dst_extents());
245 EXPECT_EQ(kTempBlockStart, graph.back().aop.op.dst_extents(0).start_block());
246 EXPECT_EQ(2U, graph.back().aop.op.dst_extents(0).num_blocks());
258 EXPECT_EQ(1U, graph[0].aop.op.dst_extents(0).start_block());
259 EXPECT_EQ(2U, graph[0].aop.op.dst_extents(0).num_blocks());
260 EXPECT_EQ(4U, graph[0].aop.op.dst_extents(1).start_block());
261 EXPECT_EQ(1U, graph[0].aop.op.dst_extents(1).num_blocks());
277 EXPECT_EQ(3U, graph[1].aop.op.dst_extents(0).start_block());
278 EXPECT_EQ(1U, graph[1].aop.op.dst_extents(
52 GenVertex(Vertex* out, const vector<Extent>& src_extents, const vector<Extent>& dst_extents, const string& path, InstallOperation_Type type) argument
[all...]
H A Ddelta_diff_utils_unittest.cc196 BlocksInExtents(op.dst_extents()));
197 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents()));
276 EXPECT_EQ(new_extents[i].start_block(), op.dst_extents(i).start_block())
278 EXPECT_EQ(new_extents[i].num_blocks(), op.dst_extents(i).num_blocks())
319 BlocksInExtents(op.dst_extents()));
320 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents()));
368 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents()));
566 EXPECT_EQ(expected_op_extents[i], aop.op.dst_extents(0));
605 EXPECT_EQ(ExtentForRange(0, 50), aop.op.dst_extents(0));
662 EXPECT_EQ(expected_op_extents[i], aop.op.dst_extents(
[all...]
H A Dgraph_utils.cc133 LOG(INFO) << " dst_extents:";
134 DumpExtents(graph[i].aop.op.dst_extents(), 4);
H A Dinplace_generator.cc291 // Sort full ops according to their dst_extents.
395 ranges.AddRepeatedExtents((*graph)[test_node].aop.op.dst_extents());
532 if (TempBlocksExistInExtents(op.dst_extents()) ||
568 ExtentsToVector((*graph)[cut.old_dst].aop.op.dst_extents(),
685 (field == READER) ? operation.src_extents() : operation.dst_extents();
/system/update_engine/payload_consumer/
H A Ddelta_performer.cc881 extents.push_back(operation.dst_extents(i));
913 Extent extent = operation.dst_extents(i);
946 blocks_to_write += operation.dst_extents(i).num_blocks();
971 const Extent& extent = operation.dst_extents(i);
1032 uint64_t blocks_to_write = GetBlockCount(operation.dst_extents());
1039 ExtentsToBlocks(operation.dst_extents(), &dst_blocks);
1119 TEST_AND_RETURN_FALSE(ExtentsToBsdiffPositionsString(operation.dst_extents(),
1153 operation.dst_extents(operation.dst_extents_size() - 1);
1205 TEST_AND_RETURN_FALSE(ExtentsToBsdiffPositionsString(operation.dst_extents(),

Completed in 109 milliseconds