Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Dbacktrace.cpp76 size_t frame_count; member
79 stack_crawl_state_t(uintptr_t* frames, size_t frame_count) in stack_crawl_state_t()
80 : frames(frames), frame_count(frame_count) {} in stack_crawl_state_t()
126 return (state->cur_frame >= state->frame_count) ? _URC_END_OF_STACK : _URC_NO_REASON; in trace_function()
129 size_t backtrace_get(uintptr_t* frames, size_t frame_count) { in backtrace_get() argument
130 stack_crawl_state_t state(frames, frame_count); in backtrace_get()
135 std::string backtrace_string(const uintptr_t* frames, size_t frame_count) { in backtrace_string() argument
138 for (size_t frame_num = 0; frame_num < frame_count; frame_num++) { in backtrace_string()
181 void backtrace_log(const uintptr_t* frames, size_t frame_count) { in backtrace_log() argument
182 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);
Dmalloc_debug.cpp81 ssize_t debug_malloc_backtrace(void* pointer, 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.cpp455 extern "C" ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count) { in malloc_backtrace() argument
460 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);