/bionic/libc/bionic/ |
D | malloc_tagged_pointers.h | 72 static inline void* TagPointer(void* ptr) { in TagPointer() 83 static inline void* UntagPointer(const volatile void* ptr) { in UntagPointer() 89 static inline void* MaybeUntagAndCheckPointer(const volatile void* ptr) { in MaybeUntagAndCheckPointer() 112 static inline void* MaybeTagPointer(void* ptr) { in MaybeTagPointer() 120 static inline void* UntagPointer(const volatile void* ptr) { in UntagPointer() 124 static inline void* MaybeTagPointer(void* ptr) { in MaybeTagPointer() 128 static inline void* MaybeUntagAndCheckPointer(const volatile void* ptr) { in MaybeUntagAndCheckPointer()
|
D | new.cpp | 42 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 | bionic_allocator.cpp | 164 void BionicSmallObjectAllocator::free(void* ptr) { in free() 329 inline page_info* BionicAllocator::get_page_info_unchecked(void* ptr) { in get_page_info_unchecked() 334 inline page_info* BionicAllocator::get_page_info(void* ptr) { in get_page_info() 343 void* BionicAllocator::realloc(void* ptr, size_t size) { in realloc() 378 void BionicAllocator::free(void* ptr) { in free() 397 size_t BionicAllocator::get_chunk_size(void* ptr) { in get_chunk_size()
|
D | __cmsg_nxthdr.cpp | 32 cmsghdr* ptr; in __cmsg_nxthdr() local
|
/bionic/libc/arch-arm/bionic/ |
D | atomics_arm.c | 61 __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/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 162 void* MallocHooksTest::test_realloc_hook(void* ptr, size_t size, const void* arg) { in test_realloc_hook() 174 void MallocHooksTest::test_free_hook(void* ptr, const void* arg) { in test_free_hook() 191 void* ptr = malloc(1024); in TEST_F() local 229 void* ptr = malloc(1024); in TEST_F() local 247 void* ptr = malloc(1024); in TEST_F() local 265 void* ptr = malloc(1024); in TEST_F() local 284 void* ptr = memalign(32, 1024); in TEST_F() local 302 void* ptr; in TEST_F() local 321 void* ptr; in TEST_F() local 340 void* ptr = aligned_alloc(32, 1024); in TEST_F() local [all …]
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 245 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc() local 260 void* ptr = calloc(1, 1123); in Calloc() local 275 void* ptr = malloc(1123); in Malloc() local 290 void* ptr = memalign(64, 1123); in Memalign() local 305 void* ptr; in PosixMemalign() local 321 void* ptr = reallocarray(nullptr, 1, 1123); in Reallocarray() local 336 void* ptr = realloc(nullptr, 1123); in Realloc() local 354 void* ptr = pvalloc(1123); in Pvalloc() local 371 void* ptr = valloc(1123); in Valloc() local 461 void* ptr = malloc(100); in TEST() local [all …]
|
/bionic/tests/ |
D | malloc_test.cpp | 66 void *ptr = malloc(100); in TEST() local 82 char *ptr = (char *)calloc(1, alloc_len); in TEST() local 98 char *ptr = reinterpret_cast<char*>(calloc(1, alloc_len)); in TEST() local 137 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() local 154 void* ptr; in TEST() local 165 char *ptr = (char*)memalign(alignment, 100); in TEST() local 200 char *ptr = (char *)malloc(100); in TEST() local 216 char *ptr = (char *)malloc(200); in TEST() local 232 char *ptr = (char *)malloc(200); in TEST() local 270 char *ptr = (char *)calloc(1, 100); in TEST() local [all …]
|
D | malloc_iterate_test.cpp | 40 void* ptr; member 54 void* ptr = malloc(size); in AllocPtr() local 80 uintptr_t ptr = reinterpret_cast<uintptr_t>(test_data->allocs[i].ptr); in SavePointers() local 133 void* ptr = malloc(size); in AllocateSizes() local 246 void* ptr = malloc(1024); in TEST() local
|
D | bionic_allocator_test.cpp | 66 void* ptr = allocator.alloc(0); in TEST() local 217 void* ptr; in TEST() local 240 void* ptr; in TEST() local
|
/bionic/libc/dns/include/ |
D | hostent.h | 67 #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/benchmarks/ |
D | malloc_benchmark.cpp | 50 void* ptr = malloc(size); in BM_mallopt_purge() local 60 for (auto ptr : ptrs) { in BM_mallopt_purge() local
|
D | stdlib_benchmark.cpp | 32 void* ptr; in MallocFree() local 67 void* ptr; in CallocFree() local
|
/bionic/libc/malloc_debug/ |
D | PointerData.cpp | 196 void PointerData::Add(const void* ptr, size_t pointer_size) { in Add() 207 void PointerData::Remove(const void* ptr) { in Remove() 225 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() 334 void* PointerData::AddFreed(const void* ptr) { in AddFreed() 357 void PointerData::LogFreeBacktrace(const void* ptr) { in LogFreeBacktrace() 551 bool PointerData::Exists(const void* ptr) { in Exists()
|
/bionic/libc/arch-x86_64/bionic/ |
D | __set_tls.c | 35 __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
|
/bionic/libc/platform/bionic/ |
D | pac.h | 33 inline uintptr_t __bionic_clear_pac_bits(uintptr_t ptr) { in __bionic_clear_pac_bits()
|
/bionic/libc/kernel/uapi/linux/ |
D | rseq.h | 53 __u64 ptr; member 63 } ptr; member
|
/bionic/tests/libs/ |
D | dlopen_nodelete_dt_flags_1.cpp | 22 extern "C" void dlopen_nodelete_dt_flags_1_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_dt_flags_1_set_unload_flag_ptr()
|
D | dlopen_nodelete_2.cpp | 23 extern "C" void dlopen_nodelete_2_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_2_set_unload_flag_ptr()
|
D | dlopen_nodelete_1.cpp | 23 extern "C" void dlopen_nodelete_1_set_unload_flag_ptr(bool* ptr) { in dlopen_nodelete_1_set_unload_flag_ptr()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | recallocarray.c | 31 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray()
|
/bionic/libc/include/bits/ |
D | epoll_event.h | 41 void* ptr; member
|
/bionic/libc/arch-x86/bionic/ |
D | __set_tls.cpp | 59 extern "C" __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 107 binder_uintptr_t ptr; member 140 binder_uintptr_t ptr; member 153 } ptr; member 166 binder_uintptr_t ptr; member 179 binder_uintptr_t ptr; member
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 162 void* ptr = __malloc_hook(size, __builtin_return_address(0)); in hooks_calloc() local 189 void* ptr = __memalign_hook(alignment, size, __builtin_return_address(0)); in hooks_aligned_alloc() local
|