Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dblock_mapping.cc44 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { in AddBlock() function in chromeos_update_engine::BlockMapping
45 return AddBlock(-1, 0, block_data); in AddBlock()
55 return AddBlock(fd, byte_offset, blob); in AddDiskBlock()
72 BlockMapping::BlockId BlockMapping::AddBlock(int fd, in AddBlock() function in chromeos_update_engine::BlockMapping
148 if (mapping.AddBlock(brillo::Blob(block_size, '\0')) != 0) in MapPartitionBlocks()
Dextent_ranges_unittest.cc138 ranges.AddBlock(0); in TEST()
140 ranges.AddBlock(1); in TEST()
141 ranges.AddBlock(3); in TEST()
147 ranges.AddBlock(2); in TEST()
151 ranges.AddBlock(kSparseHole); in TEST()
197 ranges_a.AddBlock(0); in TEST()
198 ranges_b.AddBlock(4); in TEST()
199 ranges_b.AddBlock(3); in TEST()
Dblock_mapping_unittest.cc51 EXPECT_EQ(0, bm_.AddBlock(blob)); in TEST_F()
53 EXPECT_EQ(1, bm_.AddBlock(blob)); in TEST_F()
74 EXPECT_EQ(0, bm_.AddBlock(block)); in TEST_F()
Dblock_mapping.h44 BlockId AddBlock(const brillo::Blob& block_data);
67 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data);
Dextent_ranges.h53 void AddBlock(uint64_t block);
Ddelta_diff_utils.cc553 old_visited_blocks->AddBlock(block); in DeltaMovedAndZeroBlocks()
554 new_visited_blocks->AddBlock(block); in DeltaMovedAndZeroBlocks()
573 old_zero_blocks->AddBlock(block); in DeltaMovedAndZeroBlocks()
Dextent_ranges.cc59 void ExtentRanges::AddBlock(uint64_t block) { in AddBlock() function in chromeos_update_engine::ExtentRanges