Lines Matching refs:leak
172 Leak* leak = &leaks.back(); in GetUnreachableMemory() local
175 … reinterpret_cast<void*>(it.range.begin), leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory()
177 leak->backtrace.num_frames = num_backtrace_frames; in GetUnreachableMemory()
179 auto inserted = backtrace_map.emplace(leak->backtrace, leak); in GetUnreachableMemory()
195 leak->begin = it.range.begin; in GetUnreachableMemory()
196 leak->size = it.range.size(); in GetUnreachableMemory()
197 leak->referenced_count = it.referenced_count; in GetUnreachableMemory()
198 leak->referenced_size = it.referenced_size; in GetUnreachableMemory()
199 leak->total_size = leak->size + leak->referenced_size; in GetUnreachableMemory()
200 memcpy(leak->contents, reinterpret_cast<void*>(it.range.begin), in GetUnreachableMemory()
201 std::min(leak->size, Leak::contents_length)); in GetUnreachableMemory()