Lines Matching refs:block_size_
111 block_size_, block_size_ * kDefaultBlockCount);
113 block_size_, block_size_ * kDefaultBlockCount);
137 old_part_.size / block_size_,
138 new_part_.size / block_size_,
156 size_t block_size_{kBlockSize};
165 brillo::Blob data_blob(block_size_);
480 InitializePartitionWithUniqueBlocks(old_part_, block_size_, 5);
481 InitializePartitionWithUniqueBlocks(new_part_, block_size_, 42);
495 InitializePartitionWithUniqueBlocks(old_part_, block_size_, 42);
496 InitializePartitionWithUniqueBlocks(new_part_, block_size_, 42);
522 InitializePartitionWithUniqueBlocks(old_part_, block_size_, 42);
523 InitializePartitionWithUniqueBlocks(new_part_, block_size_, 42);
572 old_part_.size = block_size_ * 50;
573 new_part_.size = block_size_ * 50;
576 brillo::Blob file_data(block_size_ * 10, 'a');
577 for (size_t offset = 0; offset < file_data.size(); offset += block_size_)
578 file_data[offset] = 'a' + offset / block_size_;
613 InitializePartitionWithUniqueBlocks(old_part_, block_size_, 42);
614 InitializePartitionWithUniqueBlocks(new_part_, block_size_, 5);
625 brillo::Blob zeros_data(BlocksInExtents(new_zeros) * block_size_, '\0');
626 EXPECT_TRUE(WriteExtents(new_part_.path, new_zeros, block_size_, zeros_data));
629 EXPECT_TRUE(WriteExtents(old_part_.path, old_zeros, block_size_, zeros_data));
674 old_part_.size = block_size_ * permutation.size();
675 new_part_.size = block_size_ * permutation.size();
676 InitializePartitionWithUniqueBlocks(new_part_, block_size_, 123);
683 EXPECT_TRUE(WriteExtents(old_part_.path, perm_extents, block_size_,