Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dextent_utils.cc108 vector<Extent> new_extents; in NormalizeExtents() local
110 if (new_extents.empty()) { in NormalizeExtents()
111 new_extents.push_back(curr_ext); in NormalizeExtents()
114 Extent& last_ext = new_extents.back(); in NormalizeExtents()
121 new_extents.push_back(curr_ext); in NormalizeExtents()
124 *extents = new_extents; in NormalizeExtents()
Ddelta_diff_utils_unittest.cc170 vector<Extent> new_extents = { ExtentForRange(1, 1) }; in TEST_F() local
173 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F()
181 new_extents, in TEST_F()
214 vector<Extent> new_extents = { in TEST_F() local
222 EXPECT_EQ(num_blocks, BlocksInExtents(new_extents)); in TEST_F()
232 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, file_data)); in TEST_F()
240 new_extents, in TEST_F()
257 new_extents = { in TEST_F()
274 EXPECT_EQ(new_extents.size(), static_cast<size_t>(op.dst_extents_size())); in TEST_F()
276 EXPECT_EQ(new_extents[i].start_block(), op.dst_extents(i).start_block()) in TEST_F()
[all …]
Ddelta_diff_utils.h84 const std::vector<Extent>& new_extents,
101 const std::vector<Extent>& new_extents,
Dextent_ranges.cc128 ExtentSet new_extents; in SubtractExtent() local
144 new_extents.insert(*jt); in SubtractExtent()
149 extent_set_.insert(new_extents.begin(), new_extents.end()); in SubtractExtent()
Ddelta_diff_utils.cc428 const vector<Extent>& new_extents, in DeltaReadFile() argument
436 uint64_t total_blocks = BlocksInExtents(new_extents); in DeltaReadFile()
449 new_extents, block_offset, chunk_blocks); in DeltaReadFile()
546 const vector<Extent>& new_extents, in ReadExtentsToDiff() argument
554 uint64_t blocks_to_write = BlocksInExtents(new_extents); in ReadExtentsToDiff()
577 vector<Extent> dst_extents = new_extents; in ReadExtentsToDiff()
582 new_extents, in ReadExtentsToDiff()
Dinplace_generator.cc75 vector<Extent> new_extents; in CompressExtents() local
77 AppendBlockToExtents(&new_extents, block); in CompressExtents()
79 return new_extents; in CompressExtents()
135 vector<Extent> new_extents = CompressExtents(read_blocks); in SubstituteBlocks() local
136 StoreExtents(new_extents, vertex->aop.op.mutable_src_extents()); in SubstituteBlocks()
567 vector<Extent> new_extents; in ConvertCutToFullOp() local
569 &new_extents); in ConvertCutToFullOp()
575 new_extents, in ConvertCutToFullOp()