Home
last modified time | relevance | path

Searched refs:intptr_t (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/bionic/
Dmalloc_debug_stacktrace.c38 intptr_t* addrs;
53 intptr_t ip = (intptr_t)_Unwind_GetIP(context); in trace_function()
69 int get_backtrace(intptr_t* addrs, size_t max_entries) in get_backtrace()
73 state.addrs = (intptr_t*)addrs; in get_backtrace()
Dmalloc_debug_leak.c86 static uint32_t get_hash(intptr_t* backtrace, size_t numEntries) in get_hash()
100 intptr_t* backtrace, size_t numEntries, size_t size) in find_entry()
111 !memcmp(backtrace, entry->backtrace, numEntries * sizeof(intptr_t))) { in find_entry()
121 static HashEntry* record_backtrace(intptr_t* backtrace, size_t numEntries, size_t size) in record_backtrace()
140 entry = (HashEntry*)dlmalloc(sizeof(HashEntry) + numEntries*sizeof(intptr_t)); in record_backtrace()
150 memcpy(entry->backtrace, backtrace, numEntries * sizeof(intptr_t)); in record_backtrace()
256 int get_backtrace(intptr_t* addrs, size_t max_entries);
270 intptr_t backtrace[BACKTRACE_SIZE]; in leak_malloc()
378 intptr_t ptr = (intptr_t)base; in leak_memalign()
Dpthread_debug.c217 intptr_t* addrs;
231 intptr_t ip = (intptr_t)_Unwind_GetIP(context); in trace_function()
247 int get_backtrace(intptr_t* addrs, size_t max_entries) in get_backtrace()
251 state.addrs = (intptr_t*)addrs; in get_backtrace()
256 static void log_backtrace(intptr_t* addrs, size_t c) in log_backtrace()
292 addrs[i] - (intptr_t)offset); in log_backtrace()
358 intptr_t depth;
359 intptr_t* addrs;
400 intptr_t stackTrace[STACK_TRACE_DEPTH];
463 static void dup_backtrace(CallStack* stack, int count, intptr_t const* addrs) { in dup_backtrace()
[all …]
Dmalloc_debug_check.c70 static void print_backtrace(const intptr_t *bt, unsigned int depth);
97 intptr_t bt[MAX_BACKTRACE_DEPTH];
99 intptr_t freed_bt[MAX_BACKTRACE_DEPTH];
138 int get_backtrace(intptr_t* addrs, size_t max_entries);
140 static void print_backtrace(const intptr_t *bt, unsigned int depth) in print_backtrace()
145 intptr_t self_bt[MAX_BACKTRACE_DEPTH]; in print_backtrace()
156 mi ? (intptr_t)rel_pc : bt[cnt], in print_backtrace()
423 intptr_t bt[MAX_BACKTRACE_DEPTH]; in chk_free()
472 intptr_t bt[MAX_BACKTRACE_DEPTH]; in chk_realloc()
Dmalloc_debug_common.h61 intptr_t backtrace[0];
Dmalloc_debug_common.c151 *infoSize = (sizeof(size_t) * 2) + (sizeof(intptr_t) * BACKTRACE_SIZE); in get_malloc_leak_info()
169 size_t entrySize = (sizeof(size_t) * 2) + (sizeof(intptr_t) * entry->numEntries); in get_malloc_leak_info()
Ddlmalloc.c2296 intptr_t val = (intptr_t) ptr; in __bionic_itox()
/bionic/libc/include/
Dtermios.h61 return ioctl(fd, TCXONC, (void *)(intptr_t)action); in tcflow()
66 return ioctl(fd, TCFLSH, (void *)(intptr_t)__queue); in tcflush()
Dstdint.h207 typedef int intptr_t; typedef