Searched refs:BlocksInExtents (Results 1 – 13 of 13) sorted by relevance
/system/update_engine/payload_generator/ |
D | extent_utils_unittest.cc | 57 EXPECT_EQ(0U, utils::BlocksInExtents(extents)); in TEST() 59 EXPECT_EQ(1U, utils::BlocksInExtents(extents)); in TEST() 61 EXPECT_EQ(56U, utils::BlocksInExtents(extents)); in TEST() 63 EXPECT_EQ(58U, utils::BlocksInExtents(extents)); in TEST() 67 EXPECT_EQ(0U, utils::BlocksInExtents(extents)); in TEST() 69 EXPECT_EQ(1U, utils::BlocksInExtents(extents)); in TEST() 71 EXPECT_EQ(56U, utils::BlocksInExtents(extents)); in TEST() 73 EXPECT_EQ(58U, utils::BlocksInExtents(extents)); in TEST()
|
D | ext2_filesystem_unittest.cc | 161 utils::BlocksInExtents(map_files["/link-long_symlink"].extents)); in TEST_F() 171 EXPECT_EQ(1U, utils::BlocksInExtents(map_files["/regular-small"].extents)); in TEST_F() 173 1U, utils::BlocksInExtents(map_files["/regular-with_net_cap"].extents)); in TEST_F() 178 utils::BlocksInExtents(map_files["/sparse-16k-last_block"].extents)); in TEST_F() 181 utils::BlocksInExtents(map_files["/sparse-16k-first_block"].extents)); in TEST_F() 183 utils::BlocksInExtents(map_files["/sparse-16k-holes"].extents)); in TEST_F()
|
D | deflate_utils.cc | 52 brillo::Blob data(utils::BlocksInExtents(extents) * block_size); in CopyExtentsToFile() 64 utils::BlocksInExtents(file.extents) >= in IsSquashfsImage() 100 num_blocks += utils::BlocksInExtents(in_file.extents); in RealignSplittedFiles() 104 TEST_AND_RETURN_FALSE(utils::BlocksInExtents(file.extents) == num_blocks); in RealignSplittedFiles() 133 if (utils::BlocksInExtents(base_extents) < in ShiftExtentsOverExtents() 134 utils::BlocksInExtents(*over_extents)) { in ShiftExtentsOverExtents() 183 utils::BlocksInExtents(base_extents) * kBlockSize); in ShiftBitExtentsOverExtents() 323 kBlockSize * utils::BlocksInExtents(file.extents), in PreprocessPartitionFiles()
|
D | full_update_generator_unittest.cc | 116 utils::BlocksInExtents(aops[0].op.dst_extents())); in TEST_F() 118 utils::BlocksInExtents(aops[1].op.dst_extents())); in TEST_F() 138 utils::BlocksInExtents(aops[0].op.dst_extents())); in TEST_F()
|
D | delta_diff_utils.cc | 158 new_extents_blocks_(utils::BlocksInExtents(new_extents)), in FileDeltaProcessor() 379 LOG(INFO) << "Scanning " << utils::BlocksInExtents(new_unvisited) in DeltaReadPartition() 524 << utils::BlocksInExtents(new_zeros) << " zeroed blocks"; in DeltaMovedAndZeroBlocks() 583 uint64_t total_blocks = utils::BlocksInExtents(new_extents); in DeltaReadFile() 703 uint64_t blocks_to_read = utils::BlocksInExtents(old_extents); in ReadExtentsToDiff() 704 uint64_t blocks_to_write = utils::BlocksInExtents(new_extents); in ReadExtentsToDiff()
|
D | ab_generator.cc | 274 brillo::Blob data(utils::BlocksInExtents(dst_extents) * kBlockSize); in AddDataAndSetType() 305 : utils::BlocksInExtents(aop.op.src_extents()) * kBlockSize; in AddSourceHash()
|
D | delta_diff_utils_unittest.cc | 243 EXPECT_EQ(1U, utils::BlocksInExtents(op.dst_extents())); in TEST_F() 471 brillo::Blob zeros_data(utils::BlocksInExtents(new_zeros) * block_size_, in TEST_F()
|
D | ext2_filesystem.cc | 359 uint64_t physical_size = utils::BlocksInExtents(extents) * filsys_->blocksize; in LoadSettings()
|
D | extent_ranges.cc | 271 CHECK(out_blocks == utils::BlocksInExtents(out)); in GetExtentsForBlockCount()
|
/system/update_engine/payload_consumer/ |
D | file_descriptor_utils.cc | 43 auto total_blocks = utils::BlocksInExtents(src_extents); in CommonHashExtents() 87 TEST_AND_RETURN_FALSE(utils::BlocksInExtents(src_extents) == in CopyAndHashExtents() 88 utils::BlocksInExtents(tgt_extents)); in CopyAndHashExtents()
|
D | extent_reader_unittest.cc | 84 brillo::Blob blob1(utils::BlocksInExtents(extents) * kBlockSize); in TEST_F() 115 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize + 1); in TEST_F() 155 brillo::Blob blob(utils::BlocksInExtents(extents) * kBlockSize); in TEST_F()
|
D | delta_performer.cc | 1378 utils::BlocksInExtents(operation.src_extents()) * block_size_); in PerformSourceBsdiffOperation() 1385 utils::BlocksInExtents(operation.dst_extents()) * block_size_); in PerformSourceBsdiffOperation() 1485 utils::BlocksInExtents(operation.src_extents()) * block_size_)); in PerformPuffDiffOperation() 1492 utils::BlocksInExtents(operation.dst_extents()) * block_size_)); in PerformPuffDiffOperation()
|
/system/update_engine/common/ |
D | utils.h | 228 uint64_t BlocksInExtents(const T& extents) { in BlocksInExtents() function
|