Home
last modified time | relevance | path

Searched refs:range (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/otautil/
Drangeset.cpp39 for (const auto& range : pairs) { in RangeSet() local
40 if (!PushBack(range)) { in RangeSet()
85 bool RangeSet::PushBack(Range range) { in PushBack() argument
86 if (range.first >= range.second) { in PushBack()
87 LOG(ERROR) << "Empty or negative range: " << range.first << ", " << range.second; in PushBack()
90 size_t sz = range.second - range.first; in PushBack()
96 ranges_.push_back(std::move(range)); in PushBack()
122 Range range = *it; in Split() local
127 size_t range_blocks = range.second - range.first; in Split()
130 buffer.PushBack({ range.first, range.first + needed }); in Split()
[all …]
DSysUtil.cpp197 for (const auto& range : ranges_) { in ~MemMapping() local
198 if (munmap(range.addr, range.length) == -1) { in ~MemMapping()
199 PLOG(ERROR) << "Failed to munmap(" << range.addr << ", " << range.length << ")"; in ~MemMapping()
/bootable/recovery/
Dinterlace-frames.py48 for j in range(h):
49 for i in range(w):
83 for k in range(num_frames):
86 for i in range(width):
87 for j in range(height):
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp157 for (const auto& range : group) { in read_blocks() local
158 size_t range_start = range.first; in read_blocks()
159 size_t range_end = range.second; in read_blocks()
/bootable/recovery/otautil/include/otautil/
Drangeset.h38 bool PushBack(Range range);
/bootable/recovery/tests/unit/
Drangeset_test.cpp229 for (const auto& range : rs) { in TEST() local
230 ranges.push_back(range); in TEST()