Home
last modified time | relevance | path

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

/external/compiler-rt/lib/lsan/
Dlsan_common.cc541 for (i = 0; i < leaks_.size(); i++) { in AddLeakedChunk()
542 if (leaks_[i].stack_trace_id == stack_trace_id && in AddLeakedChunk()
543 leaks_[i].is_directly_leaked == is_directly_leaked) { in AddLeakedChunk()
544 leaks_[i].hit_count++; in AddLeakedChunk()
545 leaks_[i].total_size += leaked_size; in AddLeakedChunk()
549 if (i == leaks_.size()) { in AddLeakedChunk()
550 if (leaks_.size() == kMaxLeaksConsidered) return; in AddLeakedChunk()
553 leaks_.push_back(leak); in AddLeakedChunk()
556 LeakedObject obj = {leaks_[i].id, chunk, leaked_size}; in AddLeakedChunk()
569 CHECK(leaks_.size() <= kMaxLeaksConsidered); in ReportTopLeaks()
[all …]
Dlsan_common.h80 LeakReport() : next_id_(0), leaks_(1), leaked_objects_(1) {} in LeakReport()
94 InternalMmapVector<Leak> leaks_; variable