Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_common.cc508 for (i = 0; i < leaks_.size(); i++) { in AddLeakedChunk()
509 if (leaks_[i].stack_trace_id == stack_trace_id && in AddLeakedChunk()
510 leaks_[i].is_directly_leaked == is_directly_leaked) { in AddLeakedChunk()
511 leaks_[i].hit_count++; in AddLeakedChunk()
512 leaks_[i].total_size += leaked_size; in AddLeakedChunk()
516 if (i == leaks_.size()) { in AddLeakedChunk()
517 if (leaks_.size() == kMaxLeaksConsidered) return; in AddLeakedChunk()
520 leaks_.push_back(leak); in AddLeakedChunk()
523 LeakedObject obj = {leaks_[i].id, chunk, leaked_size}; in AddLeakedChunk()
536 CHECK(leaks_.size() <= kMaxLeaksConsidered); in ReportTopLeaks()
[all …]
Dlsan_common.h79 LeakReport() : next_id_(0), leaks_(1), leaked_objects_(1) {} in LeakReport()
93 InternalMmapVector<Leak> leaks_; variable