Home
last modified time | relevance | path

Searched refs:leaks_ (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/lsan/
Dlsan_common.cc512 for (i = 0; i < leaks_.size(); i++) { in AddLeakedChunk()
513 if (leaks_[i].stack_trace_id == stack_trace_id && in AddLeakedChunk()
514 leaks_[i].is_directly_leaked == is_directly_leaked) { in AddLeakedChunk()
515 leaks_[i].hit_count++; in AddLeakedChunk()
516 leaks_[i].total_size += leaked_size; in AddLeakedChunk()
520 if (i == leaks_.size()) { in AddLeakedChunk()
521 if (leaks_.size() == kMaxLeaksConsidered) return; in AddLeakedChunk()
524 leaks_.push_back(leak); in AddLeakedChunk()
527 LeakedObject obj = {leaks_[i].id, chunk, leaked_size}; in AddLeakedChunk()
540 CHECK(leaks_.size() <= kMaxLeaksConsidered); in ReportTopLeaks()
[all …]
Dlsan_common.h102 LeakReport() : next_id_(0), leaks_(1), leaked_objects_(1) {} in LeakReport()
116 InternalMmapVector<Leak> leaks_; variable