Lines Matching refs:info
274 void PointerData::LogFreeError(const FreePointerInfoType& info, size_t max_cmp_bytes) { in LogFreeError() argument
276 uint8_t* memory = reinterpret_cast<uint8_t*>(info.pointer); in LogFreeError()
285 if (info.hash_index > kBacktraceEmptyIndex) { in LogFreeError()
287 LogBacktrace(info.hash_index); in LogFreeError()
296 void PointerData::VerifyFreedPointer(const FreePointerInfoType& info) { in VerifyFreedPointer() argument
300 Header* header = g_debug->GetHeader(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
304 info.pointer, header->tag); in VerifyFreedPointer()
316 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
323 const uint8_t* memory = reinterpret_cast<const uint8_t*>(info.pointer); in VerifyFreedPointer()
327 LogFreeError(info, max_cmp_bytes); in VerifyFreedPointer()
346 FreePointerInfoType info(free_pointers_.front()); in AddFreed() local
348 VerifyFreedPointer(info); in AddFreed()
349 RemoveBacktrace(info.hash_index); in AddFreed()
350 last = reinterpret_cast<void*>(info.pointer); in AddFreed()
362 for (const auto& info : free_pointers_) { in LogFreeBacktrace() local
363 if (info.pointer == pointer) { in LogFreeBacktrace()
364 hash_index = info.hash_index; in LogFreeBacktrace()
511 void PointerData::GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, in GetInfo() argument
529 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, list.size())); in GetInfo()
530 if (*info == nullptr) { in GetInfo()
534 uint8_t* data = *info; in GetInfo()
565 for (const auto& info : list) { in DumpLiveToFile() local
566 total_memory += info.size * info.num_allocations; in DumpLiveToFile()
574 for (const auto& info : list) { in DumpLiveToFile() local
575 dprintf(fd, "z %d sz %8zu num %zu bt", (info.zygote_child_alloc) ? 1 : 0, info.size, in DumpLiveToFile()
576 info.num_allocations); in DumpLiveToFile()
577 FrameInfoType* frame_info = info.frame_info; in DumpLiveToFile()
587 if (info.backtrace_info != nullptr) { in DumpLiveToFile()
589 for (const auto& frame : *info.backtrace_info) { in DumpLiveToFile()