Home
last modified time | relevance | path

Searched refs:split_tgt_images (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/applypatch/
Dimgdiff.cpp905 std::vector<ZipModeImage>* split_tgt_images, in SplitZipModeImageWithLimit() argument
958 tgt_image, src_image, src_ranges, split_tgt_chunks, split_src_chunks, split_tgt_images, in SplitZipModeImageWithLimit()
980 split_tgt_images, split_src_images); in SplitZipModeImageWithLimit()
985 ValidateSplitImages(*split_tgt_images, *split_src_images, *split_src_ranges, in SplitZipModeImageWithLimit()
996 std::vector<ZipModeImage>* split_tgt_images, in AddSplitImageFromChunkList() argument
1057 split_tgt_images->push_back(std::move(split_tgt_image)); in AddSplitImageFromChunkList()
1063 void ZipModeImage::ValidateSplitImages(const std::vector<ZipModeImage>& split_tgt_images, in ValidateSplitImages() argument
1067 CHECK_EQ(split_tgt_images.size(), split_src_images.size()); in ValidateSplitImages()
1069 LOG(INFO) << "Validating " << split_tgt_images.size() << " images"; in ValidateSplitImages()
1073 for (const auto& tgt_image : split_tgt_images) { in ValidateSplitImages()
[all …]
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp771 std::vector<ZipModeImage> split_tgt_images; in TEST() local
775 ZipModeImage::SplitZipModeImageWithLimit(tgt_image, src_image, &split_tgt_images, in TEST()
782 ASSERT_EQ(split_tgt_images.size(), split_src_images.size()); in TEST()
783 ASSERT_EQ(static_cast<size_t>(4), split_tgt_images.size()); in TEST()
785 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[0].NumOfChunks()); in TEST()
786 ASSERT_EQ(static_cast<size_t>(12288), split_tgt_images[0][0].DataLengthForPatch()); in TEST()
789 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[1].NumOfChunks()); in TEST()
790 ASSERT_EQ(static_cast<size_t>(12288), split_tgt_images[1][0].DataLengthForPatch()); in TEST()
793 ASSERT_EQ(static_cast<size_t>(1), split_tgt_images[2].NumOfChunks()); in TEST()
794 ASSERT_EQ(static_cast<size_t>(40960), split_tgt_images[2][0].DataLengthForPatch()); in TEST()
[all …]
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h243 static bool GeneratePatches(const std::vector<ZipModeImage>& split_tgt_images,
252 std::vector<ZipModeImage>* split_tgt_images,
264 static void ValidateSplitImages(const std::vector<ZipModeImage>& split_tgt_images,
276 std::vector<ZipModeImage>* split_tgt_images,