Searched refs:BlockMapping (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 43 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { in AddBlock() 47 BlockMapping::BlockId BlockMapping::AddDiskBlock(int fd, off_t byte_offset) { in AddDiskBlock() 57 bool BlockMapping::AddManyDiskBlocks(int fd, in AddManyDiskBlocks() 71 BlockMapping::BlockId BlockMapping::AddBlock(int fd, in AddBlock() 113 bool BlockMapping::UniqueBlock::CompareData(const brillo::Blob& other_block, in CompareData() 144 vector<BlockMapping::BlockId>* old_block_ids, in MapPartitionBlocks() 145 vector<BlockMapping::BlockId>* new_block_ids) { in MapPartitionBlocks() 146 BlockMapping mapping(block_size); in MapPartitionBlocks()
|
D | block_mapping_unittest.cc | 61 BlockMapping bm_{block_size_}; // BlockMapping under test. 84 for (const BlockMapping::UniqueBlock& ublock : it.second) { in TEST_F() 96 for (const BlockMapping::UniqueBlock& ublock : it.second) { in TEST_F() 119 vector<BlockMapping::BlockId> old_ids, new_ids; in TEST_F() 128 EXPECT_EQ((vector<BlockMapping::BlockId>{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}), in TEST_F() 130 EXPECT_EQ((vector<BlockMapping::BlockId>{0, 11, 12, 13, 1, 2}), in TEST_F()
|
D | block_mapping.h | 36 class BlockMapping { 40 explicit BlockMapping(size_t block_size) : block_size_(block_size) {} in BlockMapping() function 107 std::vector<BlockMapping::BlockId>* old_block_ids, 108 std::vector<BlockMapping::BlockId>* new_block_ids);
|
D | delta_diff_utils.cc | 290 vector<BlockMapping::BlockId> old_block_ids; in DeltaMovedAndZeroBlocks() 291 vector<BlockMapping::BlockId> new_block_ids; in DeltaMovedAndZeroBlocks() 318 map<BlockMapping::BlockId, vector<uint64_t>> old_blocks_map; in DeltaMovedAndZeroBlocks()
|