Home
last modified time | relevance | path

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

/aosp12/bootable/recovery/updater/include/private/
H A Dcommands.h194 HashTreeInfo(RangeSet hash_tree_ranges, RangeSet source_ranges, std::string hash_algorithm, in HashTreeInfo() argument
197 source_ranges_(std::move(source_ranges)), in HashTreeInfo()
205 const RangeSet& source_ranges() const { in source_ranges() function
/aosp12/build/make/tools/releasetools/
H A Dblockimgdiff.py1081 source_ranges = []
1084 if e > len(source_ranges):
1085 source_ranges.extend([None] * (e-len(source_ranges)))
1087 if source_ranges[i] is None:
1088 source_ranges[i] = OrderedDict.fromkeys([b])
1090 source_ranges[i][b] = None
1096 if i >= len(source_ranges):
1099 if source_ranges[i] is not None:
1100 for j in source_ranges[i]:
/aosp12/bootable/recovery/updater/
H A Dcommands.cpp285 RangeSet source_ranges = RangeSet::Parse(tokens[pos++]); in Parse() local
286 if (!source_ranges) { in Parse()
299 HashTreeInfo hash_tree_info(std::move(hash_tree_ranges), std::move(source_ranges), in Parse()
H A Dblockimg.cpp1506 RangeSet source_ranges = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandComputeHashTree() local
1507 if (!source_ranges) { in PerformCommandComputeHashTree()
1533 if (!builder.Initialize(static_cast<int64_t>(source_ranges.blocks()) * BLOCKSIZE, salt)) { in PerformCommandComputeHashTree()
1534 LOG(ERROR) << "Failed to initialize hash tree computation, source " << source_ranges.ToString() in PerformCommandComputeHashTree()
1541 for (const auto& [begin, end] : source_ranges) { in PerformCommandComputeHashTree()