Home
last modified time | relevance | path

Searched refs:g_debug (Results 1 – 7 of 7) sorted by relevance

/aosp12/bionic/libc/malloc_debug/
H A Dmalloc_debug.cpp64 DebugData* g_debug; variable
232 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 …]
H A DPointerData.cpp82 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 …]
H A Ddebug_disable.cpp38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
H A DDebugData.h100 extern DebugData* g_debug;
H A DGuardData.cpp67 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFailure()
H A DRecordData.cpp118 g_debug->record->SetToDump(); in RecordDump()
/aosp12/build/make/tools/atree/
H A Datree.cpp15 bool g_debug = getenv("ATREE_DEBUG") != NULL; variable
83 if (g_debug) { in debug_printf()
159 g_debug = true; in main()