Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp889 bool ZipModeImage::CheckAndProcessChunks(ZipModeImage* tgt_image, ZipModeImage* src_image) { in CheckAndProcessChunks() argument
895 ImageChunk* src_chunk = src_image->FindChunkByName(tgt_chunk.GetEntryName()); in CheckAndProcessChunks()
930 const ZipModeImage& src_image, in SplitZipModeImageWithLimit() argument
934 CHECK_EQ(tgt_image.limit_, src_image.limit_); in SplitZipModeImageWithLimit()
937 src_image.DumpChunks(); in SplitZipModeImageWithLimit()
943 const auto& central_directory = src_image.cend() - 1; in SplitZipModeImageWithLimit()
952 const ImageChunk* src = src_image.FindChunkByName(tgt->GetEntryName(), true); in SplitZipModeImageWithLimit()
984 tgt_image, src_image, src_ranges, split_tgt_chunks, split_src_chunks, split_tgt_images, in SplitZipModeImageWithLimit()
1004 bool added_image = ZipModeImage::AddSplitImageFromChunkList(tgt_image, src_image, src_ranges, in SplitZipModeImageWithLimit()
1018 const ZipModeImage& src_image, in AddSplitImageFromChunkList() argument
[all …]
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h234 static bool CheckAndProcessChunks(ZipModeImage* tgt_image, ZipModeImage* src_image);
237 static bool GeneratePatches(const ZipModeImage& tgt_image, const ZipModeImage& src_image,
251 const ZipModeImage& src_image,
273 const ZipModeImage& src_image,
281 static bool GeneratePatchesInternal(const ZipModeImage& tgt_image, const ZipModeImage& src_image,
300 static bool CheckAndProcessChunks(ImageModeImage* tgt_image, ImageModeImage* src_image);
304 static bool GeneratePatches(const ImageModeImage& tgt_image, const ImageModeImage& src_image,
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp760 ZipModeImage src_image(true, 4096 * 10); in TEST() local
768 src_image.Initialize(std::move(src_chunks), in TEST()
775 ZipModeImage::SplitZipModeImageWithLimit(tgt_image, src_image, &split_tgt_images, in TEST()
858 ZipModeImage src_image(true, 10 * 4096); in TEST() local
860 ASSERT_TRUE(src_image.Initialize(src_path)); in TEST()
862 ASSERT_TRUE(ZipModeImage::CheckAndProcessChunks(&tgt_image, &src_image)); in TEST()
864 src_image.DumpChunks(); in TEST()
870 ZipModeImage::SplitZipModeImageWithLimit(tgt_image, src_image, &split_tgt_images, in TEST()