Searched refs:range (Results 1 – 6 of 6) sorted by relevance
39 for (const auto& range : pairs) { in RangeSet() local40 if (!PushBack(range)) { in RangeSet()85 bool RangeSet::PushBack(Range range) { in PushBack() argument86 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() local127 size_t range_blocks = range.second - range.first; in Split()130 buffer.PushBack({ range.first, range.first + needed }); in Split()[all …]
197 for (const auto& range : ranges_) { in ~MemMapping() local198 if (munmap(range.addr, range.length) == -1) { in ~MemMapping()199 PLOG(ERROR) << "Failed to munmap(" << range.addr << ", " << range.length << ")"; in ~MemMapping()
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):
157 for (const auto& range : group) { in read_blocks() local158 size_t range_start = range.first; in read_blocks()159 size_t range_end = range.second; in read_blocks()
38 bool PushBack(Range range);
229 for (const auto& range : rs) { in TEST() local230 ranges.push_back(range); in TEST()