Searched refs:CalculateSize (Results 1 – 12 of 12) sorted by relevance
38 uint64_t CalculateSize(uint64_t input_size) const { in CalculateSize() function39 return CalculateSize(input_size, block_size_, hash_size_); in CalculateSize()41 static uint64_t CalculateSize(uint64_t input_size, size_t block_size, size_t hash_size);
36 android::base::Result<uint64_t> CalculateSize(46 android::base::Result<uint64_t> CalculateSize(
58 android::base::Result<uint64_t> ApexHandlerAndroid::CalculateSize( in CalculateSize() function in chromeos_update_engine::ApexHandlerAndroid100 android::base::Result<uint64_t> FlattenedApexHandlerAndroid::CalculateSize( in CalculateSize() function in chromeos_update_engine::FlattenedApexHandlerAndroid
31 virtual android::base::Result<uint64_t> CalculateSize(
53 auto result = apex_handler.CalculateSize(apex_infos); in TEST()82 auto result = apex_handler.CalculateSize(apex_infos); in TEST()
999 auto result = apex_handler_android_->CalculateSize(apex_infos); in AllocateSpaceForPayload()
63 TEST_F(BuildVerityTreeTest, CalculateSize) { in TEST_F() argument65 ASSERT_EQ(4096u, builder->CalculateSize(1)); in TEST_F()67 ASSERT_EQ(4096u, builder->CalculateSize(128 * 4096)); in TEST_F()69 ASSERT_EQ(12288u, builder->CalculateSize(128 * 4096 + 1)); in TEST_F()71 ASSERT_EQ(20811776u, builder->CalculateSize(2641915904)); in TEST_F()
130 uint64_t tree_size = builder.CalculateSize(calculate_size); in main()
99 uint64_t HashTreeBuilder::CalculateSize( in CalculateSize() function in HashTreeBuilder
58 if (hash_tree_builder_->CalculateSize(partition_->hash_tree_data_size) != in Init()62 << hash_tree_builder_->CalculateSize( in Init()
71 hash_tree_size = HashTreeBuilder::CalculateSize( in SetUp()
87 uint64_t tree_size = hash_tree_builder.CalculateSize(data_size); in VerifyVerityConfig()205 hash_tree_builder.CalculateSize(num_data_blocks * block_size); in LoadVerityConfig()