Searched refs:intptr_t (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_debug_stacktrace.cpp | 37 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()
|
D | malloc_debug_leak.cpp | 92 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()
|
D | dlmalloc.c | 38 intptr_t val = (intptr_t) ptr; in __bionic_itox()
|
D | pthread_debug.c | 217 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 …]
|
D | malloc_debug_check.cpp | 91 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()
|
D | malloc_debug_common.h | 56 intptr_t backtrace[0];
|
D | malloc_debug_common.cpp | 148 *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/ |
D | termios.h | 61 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()
|
D | stdint.h | 194 typedef int intptr_t; typedef
|