Searched refs:g_debug (Results 1 – 7 of 7) sorted by relevance
64 DebugData* g_debug; variable232 if (g_debug->HeaderEnabled()) { in VerifyPointer()247 if (g_debug->TrackPointers()) { in VerifyPointer()284 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader()322 g_debug = debug; in debug_initialize()338 if (g_debug == nullptr) { in debug_finalize()419 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) { in InternalMalloc()486 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) { in InternalFree()709 memset(g_debug->GetRearGuard(header), g_debug->config().rear_guard_value(), in debug_realloc()907 if (g_debug->pointer) { in debug_malloc_disable()[all …]
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()257 if (g_debug->config().options() & BACKTRACE_FULL) { in LogBacktrace()291 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFreeError()298 if (g_debug->HeaderEnabled()) { in VerifyFreedPointer()306 if (g_debug->config().options() & ABORT_ON_ERROR) { in VerifyFreedPointer()404 if (g_debug->config().options() & BACKTRACE_FULL) { in GetList()[all …]
38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
100 extern DebugData* g_debug;
67 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFailure()
118 g_debug->record->SetToDump(); in RecordDump()
15 bool g_debug = getenv("ATREE_DEBUG") != NULL; variable83 if (g_debug) { in debug_printf()159 g_debug = true; in main()