Searched refs:frame_num (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/malloc_debug/ |
D | backtrace.cpp | 136 for (size_t frame_num = 0; frame_num < frame_count; frame_num++) { in backtrace_string() local 141 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { in backtrace_string() 149 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string() 174 frame_num, rel_pc, soname, offset_buf, name, in backtrace_string() 175 frames[frame_num] - offset); in backtrace_string() 179 frame_num, rel_pc, soname, offset_buf); in backtrace_string()
|
/bionic/libc/malloc_debug/tests/ |
D | backtrace_fake.cpp | 45 size_t backtrace_get(uintptr_t* frames, size_t frame_num) { in backtrace_get() argument 46 if (frame_num == 0 || g_fake_backtrace.size() == 0) { in backtrace_get() 51 size_t total_frames = (frame_num < ips_size) ? frame_num : ips_size; in backtrace_get()
|