Searched refs:block_data (Results 1 – 4 of 4) sorted by relevance
44 BlockMapping::BlockId BlockMapping::AddBlock(const brillo::Blob& block_data) { in AddBlock() argument45 return AddBlock(-1, 0, block_data); in AddBlock()74 const brillo::Blob& block_data) { in AddBlock() argument75 if (block_data.size() != block_size_) in AddBlock()77 size_t h = HashValue(block_data); in AddBlock()90 if (!existing_block.CompareData(block_data, &equals)) in AddBlock()109 new_ublock->block_data = block_data; in AddBlock()116 if (!block_data.empty()) { in CompareData()117 *equals = block_data == other_block; in CompareData()136 block_data = std::move(blob); in CompareData()
44 BlockId AddBlock(const brillo::Blob& block_data);67 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data);76 brillo::Blob block_data; member
67 EXPECT_TRUE(ublock.block_data.empty()); in TEST_F()79 EXPECT_FALSE(ublock.block_data.empty()); in TEST_F()
97 brillo::Blob block_data(prefix.begin(), prefix.end()); in InitializePartitionWithUniqueBlocks() local99 block_data.resize(block_size, 'X'); in InitializePartitionWithUniqueBlocks()100 std::copy(block_data.begin(), in InitializePartitionWithUniqueBlocks()101 block_data.end(), in InitializePartitionWithUniqueBlocks()