Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Drangeset_test.cpp251 TEST(SortedRangeSetTest, Insert) { in TEST() argument
253 rs.Insert({ 1, 2 }); in TEST()
256 rs.Insert({ 3, 5 }); in TEST()
261 rs.Insert(r1); in TEST()
266 rs.Insert(r2); in TEST()
273 rs.Insert(4096, 4096); in TEST()
276 rs.Insert(4096 * 3 - 1, 4096 * 7); in TEST()
279 rs.Insert(4096 * 15 + 1, 4096 * 4); in TEST()
/bootable/recovery/otautil/include/otautil/
Drangeset.h147 void Insert(const Range& to_insert);
150 void Insert(const SortedRangeSet& rs);
153 void Insert(size_t start, size_t len);
/bootable/recovery/otautil/
Drangeset.cpp192 void SortedRangeSet::Insert(const Range& to_insert) { in Insert() function in SortedRangeSet
194 Insert(rs); in Insert()
198 void SortedRangeSet::Insert(const SortedRangeSet& rs) { in Insert() function in SortedRangeSet
224 void SortedRangeSet::Insert(size_t start, size_t len) { in Insert() function in SortedRangeSet
226 Insert(to_insert); in Insert()
/bootable/recovery/applypatch/
Dimgdiff.cpp920 used_src_ranges.Insert(central_directory->GetStartOffset(), in SplitZipModeImageWithLimit()
946 src_ranges.Insert(src_offset, src_length); in SplitZipModeImageWithLimit()
966 used_src_ranges.Insert(src_ranges); in SplitZipModeImageWithLimit()
978 src_ranges.Insert(central_directory->GetStartOffset(), central_directory->DataLengthForPatch()); in SplitZipModeImageWithLimit()
1094 used_src_ranges.Insert(split_src_ranges[i]); in ValidateSplitImages()