Home | History | Annotate | Download | only in libmemunreachable

Lines Matching refs:Range

37   Range range{begin, end};
38 auto inserted = allocations_.insert(std::pair<Range, AllocationInfo>(range, AllocationInfo{}));
42 allocation_bytes_ += range.size();
45 Range overlap = inserted.first->first;
46 if (overlap != range) {
47 MEM_ALOGE("range %p-%p overlaps with existing range %p-%p", reinterpret_cast<void*>(begin),
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, size_t* num_leaks_out,