Searched refs:range (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/otautil/ |
D | rangeset.cpp | 39 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 …]
|
D | sysutil.cpp | 214 for (const auto& range : ranges_) { in ~MemMapping() local 215 if (munmap(range.addr, range.length) == -1) { in ~MemMapping() 216 PLOG(ERROR) << "Failed to munmap(" << range.addr << ", " << range.length << ")"; in ~MemMapping()
|
/bootable/recovery/install/ |
D | wipe_device.cpp | 102 uint64_t range[2] = { 0, 0 }; in SecureWipePartition() local 103 if (ioctl(fd, BLKGETSIZE64, &range[1]) == -1 || range[1] == 0) { in SecureWipePartition() 107 LOG(INFO) << "Secure-wiping \"" << partition << "\" from " << range[0] << " to " << range[1]; in SecureWipePartition() 110 if (ioctl(fd, BLKSECDISCARD, &range) == -1) { in SecureWipePartition() 117 if (ioctl(fd, BLKDISCARD, &range) == -1) { in SecureWipePartition() 123 if (ioctl(fd, BLKZEROOUT, &range) == -1) { in SecureWipePartition()
|
/bootable/recovery/ |
D | interlace-frames.py | 48 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/otautil/include/otautil/ |
D | rangeset.h | 39 bool PushBack(Range range);
|
/bootable/recovery/update_verifier/ |
D | care_map_generator.py | 49 for index in range(0, len(lines), step):
|
/bootable/recovery/tests/unit/ |
D | rangeset_test.cpp | 231 for (const auto& range : rs) { in TEST() local 232 ranges.push_back(range); in TEST()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 305 const Range& range = tgt_[next_range_]; in SeekToOutputRange() local 306 off64_t offset = static_cast<off64_t>(range.first) * BLOCKSIZE; in SeekToOutputRange() 307 current_range_left_ = (range.second - range.first) * BLOCKSIZE; in SeekToOutputRange()
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 2651 …r.power.shy7u:object_r:sysfs_prox_snsr:s0#/sys/kernel/range/enable_ps_sensor…
|