Searched refs:max_frames (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/malloc_debug/ |
D | PointerData.h | 73 size_t max_frames = (key.num_frames > 5) ? 5 : key.num_frames; 74 for (size_t i = 1; i < max_frames; i++) { 160 static size_t GetFrames(const void* pointer, uintptr_t* frames, size_t max_frames);
|
D | UnwindBacktrace.cpp | 68 …ctor<uintptr_t>* frames, std::vector<unwindstack::LocalFrameData>* frame_info, size_t max_frames) { in Unwind() argument 75 if (!g_unwinder->Unwind(frame_info, max_frames)) { in Unwind()
|
D | UnwindBacktrace.h | 39 …std::vector<uintptr_t>* frames, std::vector<unwindstack::LocalFrameData>* info, size_t max_frames);
|
D | PointerData.cpp | 225 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() argument 247 if (max_frames > frame_info->frames.size()) { in GetFrames() 248 max_frames = frame_info->frames.size(); in GetFrames() 250 memcpy(frames, &frame_info->frames[0], max_frames * sizeof(uintptr_t)); in GetFrames() 252 return max_frames; in GetFrames()
|
D | malloc_debug.cpp | 921 ssize_t debug_malloc_backtrace(void* pointer, uintptr_t* frames, size_t max_frames) { in debug_malloc_backtrace() argument 933 return PointerData::GetFrames(pointer, frames, max_frames); in debug_malloc_backtrace()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 118 static size_t GetInfoEntrySize(size_t max_frames) { in GetInfoEntrySize() argument 119 return 2 * sizeof(size_t) + max_frames * sizeof(uintptr_t); in GetInfoEntrySize()
|