Searched refs:src_ranges (Results 1 – 2 of 2) sorted by relevance
/bootable/deprecated-ota/updater/ |
D | commands.cpp | 114 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/deprecated-ota/applypatch/ |
D | imgdiff.cpp | 948 SortedRangeSet src_ranges; in SplitZipModeImageWithLimit() local 970 } else if (src_ranges.blocks() * BLOCK_SIZE + src_length <= limit) { in SplitZipModeImageWithLimit() 971 src_ranges.Insert(src_offset, src_length); in SplitZipModeImageWithLimit() 984 tgt_image, src_image, src_ranges, split_tgt_chunks, split_src_chunks, split_tgt_images, in SplitZipModeImageWithLimit() 991 used_src_ranges.Insert(src_ranges); in SplitZipModeImageWithLimit() 992 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit() 994 src_ranges = {}; in SplitZipModeImageWithLimit() 1003 src_ranges.Insert(central_directory->GetStartOffset(), central_directory->DataLengthForPatch()); in SplitZipModeImageWithLimit() 1004 bool added_image = ZipModeImage::AddSplitImageFromChunkList(tgt_image, src_image, src_ranges, in SplitZipModeImageWithLimit() 1008 split_src_ranges->push_back(std::move(src_ranges)); in SplitZipModeImageWithLimit()
|