Lines Matching refs:Range
31 struct Range { struct
36 bool operator==(const Range& other) const { argument
39 bool operator!=(const Range& other) const { return !(*this == other); }
44 bool operator()(const Range& a, const Range& b) const { return a.end <= b.begin; } in operator()
84 bool Leaked(allocator::vector<Range>&, size_t limit, size_t* num_leaks, size_t* leak_bytes);
89 void ForEachPtrInRange(const Range& range, F&& f);
99 void RecurseRoot(const Range& root);
100 bool WordContainsAllocationPtr(uintptr_t ptr, Range* range, AllocationInfo** info);
105 using AllocationMap = allocator::map<Range, AllocationInfo, compare_range>;
108 Range valid_allocations_range_;
109 Range valid_mappings_range_;
111 allocator::vector<Range> roots_;
117 Range walking_range_;
123 inline void HeapWalker::ForEachPtrInRange(const Range& range, F&& f) { in ForEachPtrInRange()
129 Range ref_range; in ForEachPtrInRange()
140 const Range& range = it.first; in ForEachAllocation()