Lines Matching refs:Leak
50 const size_t Leak::contents_length;
59 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
136 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory()
157 allocator::vector<LeakFolding::Leak> leaked{allocator_}; in GetUnreachableMemory()
163 allocator::unordered_map<Leak::Backtrace, Leak*> backtrace_map{allocator_}; in GetUnreachableMemory()
171 Leak* leak = &leaks.back(); in GetUnreachableMemory()
183 Leak* similar_leak = inserted.first->second; in GetUnreachableMemory()
200 std::min(leak->size, Leak::contents_length)); in GetUnreachableMemory()
206 [](const Leak& a, const Leak& b) { return a.total_size > b.total_size; }); in GetUnreachableMemory()
356 allocator::vector<Leak> leaks{heap}; in GetUnreachableMemory()
429 std::string Leak::ToString(bool log_contents) const { in ToString()
512 memset(leaks.data(), 0, leaks.capacity() * sizeof(Leak)); in ~UnreachableMemoryInfo()
514 std::vector<Leak> tmp; in ~UnreachableMemoryInfo()