Home
last modified time | relevance | path

Searched refs:src_ranges (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater/
Dcommands.cpp114 RangeSet src_ranges; in ParseTargetInfoAndSourceInfo() local
121 src_ranges = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo()
122 if (!src_ranges) { in ParseTargetInfoAndSourceInfo()
129 SourceInfo result(src_hash, src_ranges, {}, {}); in ParseTargetInfoAndSourceInfo()
134 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
167 SourceInfo result(src_hash, src_ranges, src_ranges_location, stashes); in ParseTargetInfoAndSourceInfo()
170 src_ranges.ToString().c_str(), src_blocks); in ParseTargetInfoAndSourceInfo()
214 RangeSet src_ranges = RangeSet::Parse(tokens[pos++]); in Parse() local
215 if (!src_ranges) { in Parse()
219 stash_info = StashInfo(id, src_ranges); in Parse()
/bootable/recovery/applypatch/
Dimgdiff.cpp922 SortedRangeSet src_ranges; in SplitZipModeImageWithLimit() local
944 } else if (src_ranges.blocks() * BLOCK_SIZE + src_length <= limit) { in SplitZipModeImageWithLimit()
945 src_ranges.Insert(src_offset, src_length); in SplitZipModeImageWithLimit()
958 tgt_image, src_image, src_ranges, split_tgt_chunks, split_src_chunks, split_tgt_images, in SplitZipModeImageWithLimit()
965 used_src_ranges.Insert(src_ranges); in SplitZipModeImageWithLimit()
966 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit()
968 src_ranges = {}; in SplitZipModeImageWithLimit()
977 src_ranges.Insert(central_directory->GetStartOffset(), central_directory->DataLengthForPatch()); in SplitZipModeImageWithLimit()
978 bool added_image = ZipModeImage::AddSplitImageFromChunkList(tgt_image, src_image, src_ranges, in SplitZipModeImageWithLimit()
982 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit()