Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dblock_mapping.cc43 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { in AddBlock() function in chromeos_update_engine::BlockMapping
44 return AddBlock(-1, 0, block_data); in AddBlock()
54 return AddBlock(fd, byte_offset, blob); in AddDiskBlock()
71 BlockMapping::BlockId BlockMapping::AddBlock(int fd, in AddBlock() function in chromeos_update_engine::BlockMapping
147 if (mapping.AddBlock(brillo::Blob(block_size, '\0')) != 0) in MapPartitionBlocks()
Dextent_ranges_unittest.cc154 ranges.AddBlock(0); in TEST()
156 ranges.AddBlock(1); in TEST()
157 ranges.AddBlock(3); in TEST()
163 ranges.AddBlock(2); in TEST()
167 ranges.AddBlock(kSparseHole); in TEST()
217 ranges_a.AddBlock(0); in TEST()
218 ranges_b.AddBlock(4); in TEST()
219 ranges_b.AddBlock(3); in TEST()
Dblock_mapping_unittest.cc69 EXPECT_EQ(0, bm_.AddBlock(blob)); in TEST_F()
71 EXPECT_EQ(1, bm_.AddBlock(blob)); in TEST_F()
92 EXPECT_EQ(0, bm_.AddBlock(block)); in TEST_F()
Dblock_mapping.h44 BlockId AddBlock(const brillo::Blob& block_data);
65 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data);
Dextent_ranges.h50 void AddBlock(uint64_t block);
Ddelta_diff_utils.cc309 old_visited_blocks->AddBlock(block); in DeltaMovedAndZeroBlocks()
310 new_visited_blocks->AddBlock(block); in DeltaMovedAndZeroBlocks()
Dextent_ranges.cc57 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock() function in chromeos_update_engine::ExtentRanges