Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_common.cc480 for (i = 0; i < leaks_.size(); i++) { in AddLeakedChunk()
481 if (leaks_[i].stack_trace_id == stack_trace_id && in AddLeakedChunk()
482 leaks_[i].is_directly_leaked == is_directly_leaked) { in AddLeakedChunk()
483 leaks_[i].hit_count++; in AddLeakedChunk()
484 leaks_[i].total_size += leaked_size; in AddLeakedChunk()
488 if (i == leaks_.size()) { in AddLeakedChunk()
489 if (leaks_.size() == kMaxLeaksConsidered) return; in AddLeakedChunk()
492 leaks_.push_back(leak); in AddLeakedChunk()
495 LeakedObject obj = {leaks_[i].id, chunk, leaked_size}; in AddLeakedChunk()
508 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