Home
last modified time | relevance | path

Searched refs:frame_num (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp43 size_t backtrace_get(uintptr_t* frames, size_t frame_num) { in backtrace_get() argument
44 if (frame_num == 0 || g_fake_backtrace.size() == 0) { in backtrace_get()
49 size_t total_frames = (frame_num < ips_size) ? frame_num : ips_size; in backtrace_get()
/bionic/libc/malloc_debug/
Dbacktrace.cpp137 for (size_t frame_num = 0; frame_num < frame_count; frame_num++) { in backtrace_string() local
142 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { in backtrace_string()
148 const MapEntry* entry = g_map_data.find(frames[frame_num], &rel_pc); in backtrace_string()
160 " #%02zd pc %" PAD_PTR " %s (%s+%" PRIuPTR ")\n", frame_num, in backtrace_string()
161 rel_pc, soname, best_name, frames[frame_num] - offset); in backtrace_string()
165 " #%02zd pc %" PAD_PTR " %s\n", frame_num, rel_pc, soname); in backtrace_string()
DGuardData.cpp67 size_t frame_num = backtrace_get(frames.data(), frames.size()); in LogFailure() local
68 frames.resize(frame_num); in LogFailure()
Dmalloc_debug.cpp130 size_t frame_num = backtrace_get(frames.data(), frames.size()); in LogTagError() local
131 frames.resize(frame_num); in LogTagError()