Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 54) sorted by relevance

123

/bionic/libc/arch-arm/bionic/
Datomics_arm.c61 __atomic_cmpxchg(int old, int _new, volatile int *ptr) in __atomic_cmpxchg()
68 __atomic_swap(int _new, volatile int *ptr) in __atomic_swap()
78 __atomic_dec(volatile int *ptr) in __atomic_dec()
84 __atomic_inc(volatile int *ptr) in __atomic_inc()
/bionic/libc/bionic/
Dnew.cpp42 void operator delete(void* ptr) throw() { in operator delete()
46 void operator delete[](void* ptr) throw() { in operator delete[]()
58 void operator delete(void* ptr, const std::nothrow_t&) throw() { in operator delete()
62 void operator delete[](void* ptr, const std::nothrow_t&) throw() { in operator delete[]()
D__cmsg_nxthdr.cpp32 cmsghdr* ptr; in __cmsg_nxthdr() local
Dpthread_key.cpp174 int pthread_setspecific(pthread_key_t key, const void* ptr) { in pthread_setspecific()
Dnet_if.cpp156 struct if_nameindex* ptr = array; in if_freenameindex() local
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp161 void* MallocHooksTest::test_realloc_hook(void* ptr, size_t size, const void* arg) { in test_realloc_hook()
173 void MallocHooksTest::test_free_hook(void* ptr, const void* arg) { in test_free_hook()
190 void* ptr = malloc(1024); in TEST_F() local
232 void* ptr = malloc(1024); in TEST_F() local
250 void* ptr = malloc(1024); in TEST_F() local
268 void* ptr = malloc(1024); in TEST_F() local
287 void* ptr = memalign(32, 1024); in TEST_F() local
305 void* ptr; in TEST_F() local
324 void* ptr; in TEST_F() local
343 void* ptr = aligned_alloc(32, 1024); in TEST_F() local
[all …]
/bionic/tests/
Dmalloc_test.cpp31 void *ptr = malloc(100); in TEST() local
46 char *ptr = (char *)calloc(1, alloc_len); in TEST() local
80 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() local
95 void* ptr; in TEST() local
106 char *ptr = (char*)memalign(alignment, 100); in TEST() local
141 char *ptr = (char *)malloc(100); in TEST() local
157 char *ptr = (char *)malloc(200); in TEST() local
173 char *ptr = (char *)malloc(200); in TEST() local
211 char *ptr = (char *)calloc(1, 100); in TEST() local
226 char *ptr = (char *)calloc(1, 200); in TEST() local
[all …]
Dstdlib_test.cpp194 void* ptr; in TEST() local
223 void* ptr; in TEST() local
233 void* ptr; in TEST() local
249 void* ptr = aligned_alloc(align, 256); in TEST() local
272 void* ptr = aligned_alloc(2048, size); in TEST() local
/bionic/libc/dns/include/
Dhostent.h67 #define HENT_ARRAY(dst, anum, ptr, len) \ argument
77 #define HENT_COPY(dst, src, slen, ptr, len) \ argument
87 #define HENT_SCOPY(dst, src, ptr, len) \ argument
/bionic/linker/
Dlinker_allocator.cpp148 void LinkerSmallObjectAllocator::free(void* ptr) { in free()
176 linker_vector_t::iterator LinkerSmallObjectAllocator::find_page_record(void* ptr) { in find_page_record()
283 page_info* LinkerMemoryAllocator::get_page_info(void* ptr) { in get_page_info()
292 void* LinkerMemoryAllocator::realloc(void* ptr, size_t size) { in realloc()
327 void LinkerMemoryAllocator::free(void* ptr) { in free()
Dlinker_allocator.h91 void* ptr = mmap(const_cast<T*>(hint), size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, variable
104 void deallocate(T* ptr, size_t n) { in deallocate()
Dlinker_memory.cpp83 void free(void* ptr) { in free()
/bionic/libc/arch-x86_64/bionic/
D__set_tls.c35 __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
/bionic/tests/libs/
Ddlopen_nodelete_dt_flags_1.cpp22 extern "C" void dlopen_nodelete_dt_flags_1_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_dt_flags_1_set_unload_flag_ptr()
Ddlopen_nodelete_2.cpp23 extern "C" void dlopen_nodelete_2_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_2_set_unload_flag_ptr()
Ddlopen_nodelete_1.cpp23 extern "C" void dlopen_nodelete_1_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_1_set_unload_flag_ptr()
/bionic/libc/malloc_debug/
DPointerData.cpp174 void PointerData::Add(const void* ptr, size_t pointer_size) { in Add()
185 void PointerData::Remove(const void* ptr) { in Remove()
203 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames()
291 void* PointerData::AddFreed(const void* ptr) { in AddFreed()
314 void PointerData::LogFreeBacktrace(const void* ptr) { in LogFreeBacktrace()
491 bool PointerData::Exists(const void* ptr) { in Exists()
/bionic/libc/include/bits/
Depoll_event.h36 void* ptr; member
/bionic/libc/arch-x86/bionic/
D__set_tls.cpp59 extern "C" __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
/bionic/benchmarks/
Dutil.cpp36 uintptr_t ptr = reinterpret_cast<uintptr_t>(orig_ptr); in GetAlignedMemory() local
/bionic/libc/kernel/uapi/linux/android/
Dbinder.h101 binder_uintptr_t ptr; member
123 binder_uintptr_t ptr; member
136 } ptr; member
145 binder_uintptr_t ptr; member
158 binder_uintptr_t ptr; member
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp159 void* ptr = __malloc_hook(size, __builtin_return_address(0)); in hooks_calloc() local
182 void* ptr = __memalign_hook(alignment, size, __builtin_return_address(0)); in hooks_aligned_alloc() local
/bionic/libc/kernel/uapi/drm/
Darmada_drm.h42 __u64 ptr; member
/bionic/libc/kernel/uapi/linux/mmc/
Dioctl.h38 #define mmc_ioc_cmd_set_data(ic,ptr) ic.data_ptr = (__u64) (unsigned long) ptr argument
/bionic/libc/dns/nameser/
Dns_parse.c82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr()

123