Lines Matching refs:Range
35 Range range{begin, end};
36 auto inserted = allocations_.insert(std::pair<Range, AllocationInfo>(range, AllocationInfo{}));
40 allocation_bytes_ += range.size();
43 Range overlap = inserted.first->first;
44 if (overlap != range) {
45 ALOGE("range %p-%p overlaps with existing range %p-%p",
55 bool HeapWalker::WordContainsAllocationPtr(uintptr_t word_ptr, Range* range, AllocationInfo** info) {
63 AllocationMap::iterator it = allocations_.find(Range{value, value + 1});
65 *range = it->first;
73 void HeapWalker::RecurseRoot(const Range& root) {
74 allocator::vector<Range> to_do(1, root, allocator_);
76 Range range = to_do.back();
79 ForEachPtrInRange(range, [&](Range& ref_range, AllocationInfo* ref_info) {
89 roots_.push_back(Range{begin, end});
110 Range vals;
119 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit,