Lines Matching refs:g_debug
82 g_debug->pointer->ToggleBacktraceEnabled(); in ToggleBacktraceEnable()
86 g_debug->pointer->EnableDumping(); in EnableDump()
140 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
163 if (g_debug->config().options() & BACKTRACE_FULL) { in AddBacktrace()
190 if (g_debug->config().options() & BACKTRACE_FULL) { in RemoveBacktrace()
200 hash_index = AddBacktrace(g_debug->config().backtrace_frames()); in Add()
257 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace()
278 uint8_t fill_free_value = g_debug->config().fill_free_value(); in LogFreeError()
291 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFreeError()
298 if (g_debug->HeaderEnabled()) { in VerifyFreedPointer()
300 Header* header = g_debug->GetHeader(reinterpret_cast<const void*>(info.pointer)); in VerifyFreedPointer()
306 if (g_debug->config().options() & ABORT_ON_ERROR) { in VerifyFreedPointer()
319 size_t bytes = (usable_size < g_debug->config().fill_on_free_bytes()) in VerifyFreedPointer()
321 : g_debug->config().fill_on_free_bytes(); in VerifyFreedPointer()
338 size_t num_frames = g_debug->config().free_track_backtrace_num_frames(); in AddFreed()
345 if (free_pointers_.size() == g_debug->config().free_track_allocations()) { in AddFreed()
404 if (g_debug->config().options() & BACKTRACE_FULL) { in GetList()
526 *backtrace_size = g_debug->config().backtrace_frames(); in GetInfo()
571 dprintf(fd, "Backtrace size: %zu\n", g_debug->config().backtrace_frames()); in DumpLiveToFile()