Lines Matching refs:Leak
51 const size_t Leak::contents_length;
60 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
137 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
158 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
164 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
172 Leak* leak = &leaks.back(); in GetUnreachableMemory()
184 Leak* similar_leak = inserted.first->second; in GetUnreachableMemory()
201 std::min(leak->size, Leak::contents_length)); in GetUnreachableMemory()
207 [](const Leak& a, const Leak& b) { return a.total_size > b.total_size; }); in GetUnreachableMemory()
365 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()
438 std::string Leak::ToString(bool log_contents) const { in ToString()
521 memset(leaks.data(), 0, leaks.capacity() * sizeof(Leak)); in ~UnreachableMemoryInfo()
523 std::vector<Leak> tmp; in ~UnreachableMemoryInfo()