Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_debug_stacktrace.cpp37 intptr_t* addrs;
51 intptr_t ip = (intptr_t)_Unwind_GetIP(context); in trace_function()
66 __LIBC_HIDDEN__ int get_backtrace(intptr_t* addrs, size_t max_entries) { in get_backtrace()
Dmalloc_debug_leak.cpp92 static uint32_t get_hash(intptr_t* backtrace, size_t numEntries) { in get_hash()
105 intptr_t* backtrace, size_t numEntries, size_t size) { in find_entry()
115 !memcmp(backtrace, entry->backtrace, numEntries * sizeof(intptr_t))) { in find_entry()
125 static HashEntry* record_backtrace(intptr_t* backtrace, size_t numEntries, size_t size) { in record_backtrace()
144 entry = static_cast<HashEntry*>(dlmalloc(sizeof(HashEntry) + numEntries*sizeof(intptr_t))); in record_backtrace()
155 memcpy(entry->backtrace, backtrace, numEntries * sizeof(intptr_t)); in record_backtrace()
258 extern __LIBC_HIDDEN__ int get_backtrace(intptr_t* addrs, size_t max_entries);
276 intptr_t backtrace[BACKTRACE_SIZE]; in leak_malloc()
379 intptr_t ptr = reinterpret_cast<intptr_t>(base); in leak_memalign()
Ddlmalloc.c38 intptr_t val = (intptr_t) ptr; in __bionic_itox()
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.cpp91 intptr_t bt[MAX_BACKTRACE_DEPTH];
93 intptr_t freed_bt[MAX_BACKTRACE_DEPTH];
125 extern __LIBC_HIDDEN__ int get_backtrace(intptr_t* addrs, size_t max_entries);
127 static void print_backtrace(const intptr_t *bt, unsigned int depth) { in print_backtrace()
131 intptr_t self_bt[MAX_BACKTRACE_DEPTH]; in print_backtrace()
142 mi ? (intptr_t)rel_pc : bt[cnt], in print_backtrace()
377 intptr_t bt[MAX_BACKTRACE_DEPTH]; in chk_free()
422 intptr_t bt[MAX_BACKTRACE_DEPTH]; in chk_realloc()
Dmalloc_debug_common.h56 intptr_t backtrace[0];
Dmalloc_debug_common.cpp148 *infoSize = (sizeof(size_t) * 2) + (sizeof(intptr_t) * BACKTRACE_SIZE); in get_malloc_leak_info()
167 size_t entrySize = (sizeof(size_t) * 2) + (sizeof(intptr_t) * entry->numEntries); in get_malloc_leak_info()
/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()
71 return ioctl(fd, TCSBRK, (void *)(intptr_t)1); in tcdrain()
Dstdint.h194 typedef int intptr_t; typedef