Searched refs:block_data (Results 1 – 4 of 4) sorted by relevance
43 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { in AddBlock() argument44 return AddBlock(-1, 0, block_data); in AddBlock()73 const brillo::Blob& block_data) { in AddBlock() argument74 if (block_data.size() != block_size_) in AddBlock()76 size_t h = HashValue(block_data); in AddBlock()89 if (!existing_block.CompareData(block_data, &equals)) in AddBlock()108 new_ublock->block_data = block_data; in AddBlock()115 if (!block_data.empty()) { in CompareData()116 *equals = block_data == other_block; in CompareData()135 block_data = std::move(blob); in CompareData()
44 BlockId AddBlock(const brillo::Blob& block_data);65 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data);74 brillo::Blob block_data; member
85 EXPECT_TRUE(ublock.block_data.empty()); in TEST_F()97 EXPECT_FALSE(ublock.block_data.empty()); in TEST_F()
95 brillo::Blob block_data(prefix.begin(), prefix.end()); in InitializePartitionWithUniqueBlocks() local97 block_data.resize(block_size, 'X'); in InitializePartitionWithUniqueBlocks()98 std::copy(block_data.begin(), block_data.end(), in InitializePartitionWithUniqueBlocks()