Lines Matching full:begin
31 bool HeapWalker::Allocation(uintptr_t begin, uintptr_t end) {
32 if (end == begin) {
33 end = begin + 1;
35 Range range{begin, end};
38 valid_allocations_range_.begin = std::min(valid_allocations_range_.begin, begin);
46 reinterpret_cast<void*>(begin),
48 reinterpret_cast<void*>(overlap.begin),
62 if (value >= valid_allocations_range_.begin && value < valid_allocations_range_.end) {
88 void HeapWalker::Root(uintptr_t begin, uintptr_t end) {
89 roots_.push_back(Range{begin, end});
93 root_vals_.insert(root_vals_.end(), vals.begin(), vals.end());
106 for (auto it = roots_.begin(); it != roots_.end(); it++) {
111 vals.begin = reinterpret_cast<uintptr_t>(root_vals_.data());
112 vals.end = vals.begin + root_vals_.size() * sizeof(uintptr_t);
125 for (auto it = allocations_.begin(); it != allocations_.end(); it++) {
128 leak_bytes += it->first.end - it->first.begin;
133 for (auto it = allocations_.begin(); it != allocations_.end(); it++) {