Home
last modified time | relevance | path

Searched refs:frame_count (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/malloc_debug/
Dbacktrace.cpp74 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()
Dbacktrace.h38 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/
Dbacktrace_fake.cpp57 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/
Dmalloc_common_dynamic.cpp461 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/
Dmalloc_hooks.cpp57 ssize_t hooks_malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);