Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dimgdiff.cpp907 std::vector<SortedRangeSet>* split_src_ranges) { in SplitZipModeImageWithLimit() argument
966 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit()
982 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit()
985 ValidateSplitImages(*split_tgt_images, *split_src_images, *split_src_ranges, in SplitZipModeImageWithLimit()
993 const SortedRangeSet& split_src_ranges, in AddSplitImageFromChunkList() argument
1043 for (const auto& r : split_src_ranges) { in AddSplitImageFromChunkList()
1065 std::vector<SortedRangeSet>& split_src_ranges, in ValidateSplitImages() argument
1088 CHECK_EQ(split_src_images.size(), split_src_ranges.size()); in ValidateSplitImages()
1090 for (size_t i = 0; i < split_src_ranges.size(); i++) { in ValidateSplitImages()
1091 CHECK(!used_src_ranges.Overlaps(split_src_ranges[i])) in ValidateSplitImages()
[all …]
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h245 const std::vector<SortedRangeSet>& split_src_ranges,
254 std::vector<SortedRangeSet>* split_src_ranges);
266 std::vector<SortedRangeSet>& split_src_ranges,
273 const SortedRangeSet& split_src_ranges,
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp773 std::vector<SortedRangeSet> split_src_ranges; in TEST() local
776 &split_src_images, &split_src_ranges); in TEST()
787 ASSERT_EQ("4,0,3,15,20", split_src_ranges[0].ToString()); in TEST()
791 ASSERT_EQ("2,3,13", split_src_ranges[1].ToString()); in TEST()
795 ASSERT_EQ("2,20,30", split_src_ranges[2].ToString()); in TEST()
799 ASSERT_EQ("2,30,34", split_src_ranges[3].ToString()); in TEST()
869 std::vector<SortedRangeSet> split_src_ranges; in TEST() local
871 &split_src_images, &split_src_ranges); in TEST()
897 ASSERT_TRUE(ZipModeImage::GeneratePatches(split_tgt_images, split_src_images, split_src_ranges, in TEST()