Home
last modified time | relevance | path

Searched refs:Insert (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/otautil/include/otautil/
Drangeset.h154 void Insert(const Range& to_insert);
157 void Insert(const SortedRangeSet& rs);
160 void Insert(size_t start, size_t len);
/bootable/recovery/tests/unit/
Drangeset_test.cpp275 TEST(SortedRangeSetTest, Insert) { in TEST() argument
277 rs.Insert({ 1, 2 }); in TEST()
280 rs.Insert({ 3, 5 }); in TEST()
285 rs.Insert(r1); in TEST()
290 rs.Insert(r2); in TEST()
297 rs.Insert(4096, 4096); in TEST()
300 rs.Insert(4096 * 3 - 1, 4096 * 7); in TEST()
303 rs.Insert(4096 * 15 + 1, 4096 * 4); in TEST()
/bootable/recovery/otautil/
Drangeset.cpp244 void SortedRangeSet::Insert(const Range& to_insert) { in Insert() function in SortedRangeSet
246 Insert(rs); in Insert()
250 void SortedRangeSet::Insert(const SortedRangeSet& rs) { in Insert() function in SortedRangeSet
276 void SortedRangeSet::Insert(size_t start, size_t len) { in Insert() function in SortedRangeSet
278 Insert(to_insert); in Insert()
/bootable/recovery/applypatch/
Dimgdiff.cpp945 used_src_ranges.Insert(central_directory->GetStartOffset(), in SplitZipModeImageWithLimit()
971 src_ranges.Insert(src_offset, src_length); in SplitZipModeImageWithLimit()
991 used_src_ranges.Insert(src_ranges); in SplitZipModeImageWithLimit()
1003 src_ranges.Insert(central_directory->GetStartOffset(), central_directory->DataLengthForPatch()); in SplitZipModeImageWithLimit()
1120 used_src_ranges.Insert(split_src_ranges[i]); in ValidateSplitImages()