Searched refs:NumOfChunks (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 938 LOG(INFO) << "Splitting " << tgt_image.NumOfChunks() << " tgt chunks..."; in SplitZipModeImageWithLimit() 1127 LOG(INFO) << "Constructing patches for " << tgt_image.NumOfChunks() << " chunks..."; in GeneratePatchesInternal() 1131 for (size_t i = 0; i < tgt_image.NumOfChunks(); i++) { in GeneratePatchesInternal() 1164 CHECK_EQ(patch_chunks->size(), tgt_image.NumOfChunks()); in GeneratePatchesInternal() 1174 CHECK_EQ(tgt_image.NumOfChunks(), patch_chunks.size()); in GeneratePatches() 1406 if (tgt_image->NumOfChunks() != src_image->NumOfChunks()) { in CheckAndProcessChunks() 1412 for (size_t i = 0; i < tgt_image->NumOfChunks(); ++i) { in CheckAndProcessChunks() 1421 for (size_t i = 0; i < tgt_image->NumOfChunks(); ++i) { in CheckAndProcessChunks() 1446 if (tgt_image->NumOfChunks() != src_image->NumOfChunks()) { in CheckAndProcessChunks() 1460 LOG(INFO) << "Constructing patches for " << tgt_image.NumOfChunks() << " chunks..."; in GeneratePatches() [all …]
|
/bootable/recovery/tests/unit/host/ |
D | imgdiff_test.cpp | 785 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[0].NumOfChunks()); in TEST() 789 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[1].NumOfChunks()); in TEST() 793 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[2].NumOfChunks()); in TEST() 797 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[3].NumOfChunks()); in TEST() 882 ASSERT_EQ(static_cast<size_t>(2), split_src_images[0].NumOfChunks()); in TEST() 886 ASSERT_EQ(static_cast<size_t>(1), split_src_images[1].NumOfChunks()); in TEST() 889 ASSERT_EQ(static_cast<size_t>(0), split_src_images[2].NumOfChunks()); in TEST() 890 ASSERT_EQ(static_cast<size_t>(0), split_src_images[3].NumOfChunks()); in TEST() 891 ASSERT_EQ(static_cast<size_t>(0), split_src_images[4].NumOfChunks()); in TEST()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | imgdiff_image.h | 196 size_t NumOfChunks() const { in NumOfChunks() function
|