Searched refs:split_src_ranges (Results 1 – 3 of 3) sorted by relevance
/bootable/deprecated-ota/applypatch/include/applypatch/ |
D | imgdiff_image.h | 245 const std::vector<SortedRangeSet>& split_src_ranges, 254 std::vector<SortedRangeSet>* split_src_ranges); 267 std::vector<SortedRangeSet>& split_src_ranges, 274 const SortedRangeSet& split_src_ranges,
|
/bootable/deprecated-ota/applypatch/ |
D | imgdiff.cpp | 933 std::vector<SortedRangeSet>* split_src_ranges) { in SplitZipModeImageWithLimit() argument 992 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit() 1008 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit() 1011 ValidateSplitImages(*split_tgt_images, *split_src_images, *split_src_ranges, in SplitZipModeImageWithLimit() 1019 const SortedRangeSet& split_src_ranges, in AddSplitImageFromChunkList() argument 1069 for (const auto& r : split_src_ranges) { in AddSplitImageFromChunkList() 1091 std::vector<SortedRangeSet>& split_src_ranges, in ValidateSplitImages() argument 1114 CHECK_EQ(split_src_images.size(), split_src_ranges.size()); in ValidateSplitImages() 1116 for (size_t i = 0; i < split_src_ranges.size(); i++) { in ValidateSplitImages() 1117 CHECK(!used_src_ranges.Overlaps(split_src_ranges[i])) in ValidateSplitImages() [all …]
|
/bootable/deprecated-ota/tests/unit/host/ |
D | imgdiff_test.cpp | 773 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()
|