Lines Matching refs:pointer
82 g_debug->pointer->ToggleBacktraceEnabled(); in ToggleBacktraceEnable()
86 g_debug->pointer->EnableDumping(); in EnableDump()
197 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in Add() local
204 pointers_[pointer] = PointerInfoType{PointerInfoType::GetEncodedSize(pointer_size), hash_index}; in Add()
208 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in Remove() local
212 auto entry = pointers_.find(pointer); in Remove()
215 error_log("No tracked pointer found for 0x%" PRIxPTR, pointer); in Remove()
219 pointers_.erase(pointer); in Remove()
226 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in GetFrames() local
230 auto entry = pointers_.find(pointer); in GetFrames()
276 uint8_t* memory = reinterpret_cast<uint8_t*>(info.pointer); in LogFreeError()
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()
335 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in AddFreed() local
350 last = reinterpret_cast<void*>(info.pointer); in AddFreed()
353 free_pointers_.emplace_back(FreePointerInfoType{pointer, hash_index}); in AddFreed()
360 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in LogFreeBacktrace() local
363 if (info.pointer == pointer) { in LogFreeBacktrace()
444 return a.pointer < b.pointer; in GetList()
453 return a.pointer < b.pointer; in GetList()
488 list_info.size, list_info.pointer, ++track_count, list.size()); in LogLeaks()
552 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); in Exists() local
554 return pointers_.count(pointer) != 0; in Exists()