Searched refs:frame_count (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/malloc_debug/ |
D | backtrace.cpp | 74 size_t frame_count; member 77 stack_crawl_state_t(uintptr_t* frames, size_t frame_count) in stack_crawl_state_t() 78 : frames(frames), frame_count(frame_count) {} in stack_crawl_state_t() 124 return (state->cur_frame >= state->frame_count) ? _URC_END_OF_STACK : _URC_NO_REASON; in trace_function() 127 size_t backtrace_get(uintptr_t* frames, size_t frame_count) { in backtrace_get() argument 128 stack_crawl_state_t state(frames, frame_count); in backtrace_get() 133 std::string backtrace_string(const uintptr_t* frames, size_t frame_count) { in backtrace_string() argument 136 for (size_t frame_num = 0; frame_num < frame_count; frame_num++) { in backtrace_string() 187 void backtrace_log(const uintptr_t* frames, size_t frame_count) { in backtrace_log() argument 188 error_log_string(backtrace_string(frames, frame_count).c_str()); in backtrace_log()
|
D | backtrace.h | 38 size_t backtrace_get(uintptr_t* frames, size_t frame_count); 39 void backtrace_log(const uintptr_t* frames, size_t frame_count); 40 std::string backtrace_string(const uintptr_t* frames, size_t frame_count);
|
/bionic/libc/malloc_debug/tests/ |
D | backtrace_fake.cpp | 57 void backtrace_log(const uintptr_t* frames, size_t frame_count) { in backtrace_log() argument 58 for (size_t i = 0; i < frame_count; i++) { in backtrace_log()
|
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 461 extern "C" ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count) { in malloc_backtrace() argument 466 return reinterpret_cast<malloc_backtrace_func_t>(func)(pointer, frames, frame_count); in malloc_backtrace()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 57 ssize_t hooks_malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
|