Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp863 bool ZipModeImage::CheckAndProcessChunks(ZipModeImage* tgt_image, ZipModeImage* src_image) { in CheckAndProcessChunks() argument
869 ImageChunk* src_chunk = src_image->FindChunkByName(tgt_chunk.GetEntryName()); in CheckAndProcessChunks()
904 const ZipModeImage& src_image, in SplitZipModeImageWithLimit() argument
908 CHECK_EQ(tgt_image.limit_, src_image.limit_); in SplitZipModeImageWithLimit()
911 src_image.DumpChunks(); in SplitZipModeImageWithLimit()
917 const auto& central_directory = src_image.cend() - 1; in SplitZipModeImageWithLimit()
926 const ImageChunk* src = src_image.FindChunkByName(tgt->GetEntryName(), true); in SplitZipModeImageWithLimit()
958 tgt_image, src_image, src_ranges, split_tgt_chunks, split_src_chunks, split_tgt_images, in SplitZipModeImageWithLimit()
978 bool added_image = ZipModeImage::AddSplitImageFromChunkList(tgt_image, src_image, src_ranges, in SplitZipModeImageWithLimit()
992 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,
272 const ZipModeImage& src_image,
280 static bool GeneratePatchesInternal(const ZipModeImage& tgt_image, const ZipModeImage& src_image,
299 static bool CheckAndProcessChunks(ImageModeImage* tgt_image, ImageModeImage* src_image);
303 static bool GeneratePatches(const ImageModeImage& tgt_image, const ImageModeImage& src_image,
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp761 ZipModeImage src_image(true, 4096 * 10); in TEST() local
769 src_image.Initialize(std::move(src_chunks), in TEST()
776 ZipModeImage::SplitZipModeImageWithLimit(tgt_image, src_image, &split_tgt_images, in TEST()
859 ZipModeImage src_image(true, 10 * 4096); in TEST() local
861 ASSERT_TRUE(src_image.Initialize(src_path)); in TEST()
863 ASSERT_TRUE(ZipModeImage::CheckAndProcessChunks(&tgt_image, &src_image)); in TEST()
865 src_image.DumpChunks(); in TEST()
871 ZipModeImage::SplitZipModeImageWithLimit(tgt_image, src_image, &split_tgt_images, in TEST()