Searched refs:BlocksInExtents (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | extent_utils_unittest.cc | 57 EXPECT_EQ(0U, BlocksInExtents(extents)); in TEST() 59 EXPECT_EQ(1U, BlocksInExtents(extents)); in TEST() 61 EXPECT_EQ(56U, BlocksInExtents(extents)); in TEST() 63 EXPECT_EQ(58U, BlocksInExtents(extents)); in TEST() 67 EXPECT_EQ(0U, BlocksInExtents(extents)); in TEST() 69 EXPECT_EQ(1U, BlocksInExtents(extents)); in TEST() 71 EXPECT_EQ(56U, BlocksInExtents(extents)); in TEST() 73 EXPECT_EQ(58U, BlocksInExtents(extents)); in TEST()
|
D | ext2_filesystem_unittest.cc | 159 EXPECT_EQ(1U, BlocksInExtents(map_files["/link-long_symlink"].extents)); in TEST_F() 169 EXPECT_EQ(1U, BlocksInExtents(map_files["/regular-small"].extents)); in TEST_F() 170 EXPECT_EQ(1U, BlocksInExtents(map_files["/regular-with_net_cap"].extents)); in TEST_F() 173 EXPECT_EQ(1U, BlocksInExtents(map_files["/sparse-16k-last_block"].extents)); in TEST_F() 175 BlocksInExtents(map_files["/sparse-16k-first_block"].extents)); in TEST_F() 176 EXPECT_EQ(2U, BlocksInExtents(map_files["/sparse-16k-holes"].extents)); in TEST_F()
|
D | full_update_generator_unittest.cc | 119 BlocksInExtents(aops[0].op.dst_extents())); in TEST_F() 121 BlocksInExtents(aops[1].op.dst_extents())); in TEST_F() 141 BlocksInExtents(aops[0].op.dst_extents())); in TEST_F()
|
D | delta_diff_utils_unittest.cc | 195 EXPECT_EQ(BlocksInExtents(op.src_extents()), in TEST_F() 196 BlocksInExtents(op.dst_extents())); in TEST_F() 197 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents())); in TEST_F() 221 uint64_t num_blocks = BlocksInExtents(old_extents); in TEST_F() 222 EXPECT_EQ(num_blocks, BlocksInExtents(new_extents)); in TEST_F() 261 num_blocks = BlocksInExtents(old_extents); in TEST_F() 318 EXPECT_EQ(BlocksInExtents(op.src_extents()), in TEST_F() 319 BlocksInExtents(op.dst_extents())); in TEST_F() 320 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents())); in TEST_F() 368 EXPECT_EQ(1U, BlocksInExtents(op.dst_extents())); in TEST_F() [all …]
|
D | delta_diff_utils.cc | 223 << BlocksInExtents(new_file_extents) << " blocks)"; in DeltaReadPartition() 261 LOG(INFO) << "Scanning " << BlocksInExtents(new_unvisited) in DeltaReadPartition() 375 << BlocksInExtents(new_zeros) << " zeroed blocks"; in DeltaMovedAndZeroBlocks() 436 uint64_t total_blocks = BlocksInExtents(new_extents); in DeltaReadFile() 553 uint64_t blocks_to_read = BlocksInExtents(old_extents); in ReadExtentsToDiff() 554 uint64_t blocks_to_write = BlocksInExtents(new_extents); in ReadExtentsToDiff()
|
D | extent_utils.h | 45 uint64_t BlocksInExtents(const T& collection) { in BlocksInExtents() function
|
D | ext2_filesystem.cc | 343 uint64_t physical_size = BlocksInExtents(extents) * filsys_->blocksize; in LoadSettings()
|
D | ab_generator.cc | 312 : BlocksInExtents(aop.op.src_extents()) * kBlockSize; in AddSourceHash()
|