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