Home
last modified time | relevance | path

Searched refs:back_header (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/malloc_debug/
DFreeTrackData.cpp56 const BacktraceHeader* back_header = back_iter->second; in LogFreeError() local
58 backtrace_log(&back_header->frames[0], back_header->num_frames); in LogFreeError()
102 BacktraceHeader* back_header = reinterpret_cast<BacktraceHeader*>( in Add() local
104 if (back_header) { in Add()
105 back_header->num_frames = backtrace_get(&back_header->frames[0], backtrace_num_frames_); in Add()
106 backtraces_[header] = back_header; in Add()
DTrackData.cpp96 BacktraceHeader* back_header = debug_->GetAllocBacktrace(header); in DisplayLeaks() local
97 if (back_header->num_frames > 0) { in DisplayLeaks()
99 backtrace_log(&back_header->frames[0], back_header->num_frames); in DisplayLeaks()
128 BacktraceHeader* back_header = debug_->GetAllocBacktrace(header); in GetInfo() local
129 if (back_header->num_frames > 0) { in GetInfo()
132 memcpy(&data[2 * sizeof(size_t)], &back_header->frames[0], in GetInfo()
133 back_header->num_frames * sizeof(uintptr_t)); in GetInfo()
Dmalloc_debug.cpp166 BacktraceHeader* back_header = g_debug->GetAllocBacktrace(header); in InitHeader() local
168 back_header->num_frames = backtrace_get( in InitHeader()
169 &back_header->frames[0], g_debug->config().backtrace_frames()); in InitHeader()
170 backtrace_found = back_header->num_frames > 0; in InitHeader()
172 back_header->num_frames = 0; in InitHeader()
369 BacktraceHeader* back_header = g_debug->GetAllocBacktrace(header); in internal_free() local
370 backtrace_found = back_header->num_frames > 0; in internal_free()
724 BacktraceHeader* back_header = g_debug->GetAllocBacktrace(header); in debug_malloc_backtrace() local
725 if (back_header->num_frames > 0) { in debug_malloc_backtrace()
726 if (frame_count > back_header->num_frames) { in debug_malloc_backtrace()
[all …]