Home
last modified time | relevance | path

Searched refs:max_frames (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/malloc_debug/
DPointerData.h74 size_t max_frames = (key.num_frames > 5) ? 5 : key.num_frames;
75 for (size_t i = 1; i < max_frames; i++) {
159 static size_t GetFrames(const void* pointer, uintptr_t* frames, size_t max_frames);
DUnwindBacktrace.cpp53 size_t max_frames) { in Unwind() argument
56 unwindstack::AndroidUnwinderData data(max_frames); in Unwind()
DUnwindBacktrace.h38 size_t max_frames);
DPointerData.cpp242 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() argument
264 if (max_frames > frame_info->frames.size()) { in GetFrames()
265 max_frames = frame_info->frames.size(); in GetFrames()
267 memcpy(frames, &frame_info->frames[0], max_frames * sizeof(uintptr_t)); in GetFrames()
269 return max_frames; in GetFrames()
Dmalloc_debug.cpp1071 ssize_t debug_malloc_backtrace(void* pointer, uintptr_t* frames, size_t max_frames) { in debug_malloc_backtrace() argument
1083 return PointerData::GetFrames(pointer, frames, max_frames); in debug_malloc_backtrace()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp141 static size_t GetInfoEntrySize(size_t max_frames) { in GetInfoEntrySize() argument
142 return 2 * sizeof(size_t) + max_frames * sizeof(uintptr_t); in GetInfoEntrySize()