/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 | 163 void* MallocHooksTest::test_realloc_hook(void* ptr, size_t size, const void* arg) { in test_realloc_hook() 175 void MallocHooksTest::test_free_hook(void* ptr, const void* arg) { in test_free_hook() 193 void* ptr = malloc(1024); in TEST_F() local 231 void* ptr = malloc(1024); in TEST_F() local 249 void* ptr = malloc(1024); in TEST_F() local 267 void* ptr = malloc(1024); in TEST_F() local 286 void* ptr = memalign(32, 1024); in TEST_F() local 304 void* ptr; in TEST_F() local 323 void* ptr; in TEST_F() local 342 void* ptr = aligned_alloc(32, 1024); in TEST_F() local [all …]
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 95 pthread_key_create(&jmp_data_key_, [](void* ptr) { free(ptr); }); in LogReader() 455 void* ptr = malloc(128); in TEST() local 475 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc() local 490 void* ptr = calloc(1, 1123); in Calloc() local 505 void* ptr = malloc(1123); in Malloc() local 520 void* ptr = memalign(64, 1123); in Memalign() local 535 void* ptr; in PosixMemalign() local 551 void* ptr = reallocarray(nullptr, 1, 1123); in Reallocarray() local 566 void* ptr = realloc(nullptr, 1123); in Realloc() local 584 void* ptr = pvalloc(1123); in Pvalloc() local [all …]
|
/bionic/tests/ |
D | malloc_test.cpp | 76 void *ptr = malloc(100); in TEST() local 92 char *ptr = (char *)calloc(1, alloc_len); in TEST() local 108 char *ptr = reinterpret_cast<char*>(calloc(1, alloc_len)); in TEST() local 147 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() local 164 void* ptr; in TEST() local 175 char *ptr = (char*)memalign(alignment, 100); in TEST() local 210 char *ptr = (char *)malloc(100); in TEST() local 226 char *ptr = (char *)malloc(200); in TEST() local 242 char *ptr = (char *)malloc(200); in TEST() local 280 char *ptr = (char *)calloc(1, 100); in TEST() local [all …]
|
D | malloc_iterate_test.cpp | 41 void* ptr; member 55 void* ptr = malloc(size); in AllocPtr() local 81 uintptr_t ptr = reinterpret_cast<uintptr_t>(test_data->allocs[i].ptr); in SavePointers() local 134 void* ptr = malloc(size); in AllocateSizes() local 247 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 RunMalloptPurge() local 60 for (auto ptr : ptrs) { in RunMalloptPurge() local
|
D | stdlib_benchmark.cpp | 32 void* ptr; in MallocFree() local 67 void* ptr; in CallocFree() local
|
D | util.cpp | 36 uintptr_t ptr = reinterpret_cast<uintptr_t>(orig_ptr); in GetAlignedMemory() local
|
/bionic/libc/malloc_debug/ |
D | PointerData.cpp | 212 void PointerData::Add(const void* ptr, size_t pointer_size) { in Add() 224 void PointerData::Remove(const void* ptr) { in Remove() 242 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { in GetFrames() 353 void* PointerData::AddFreed(const void* ptr, size_t size_bytes) { in AddFreed() 375 void PointerData::LogFreeBacktrace(const void* ptr) { in LogFreeBacktrace() 570 bool PointerData::Exists(const void* ptr) { in Exists()
|
/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/arch-x86_64/bionic/ |
D | __set_tls.c | 35 __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
|
/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/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
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 107 binder_uintptr_t ptr; member 160 binder_uintptr_t ptr; member 173 } ptr; member 186 binder_uintptr_t ptr; member 199 binder_uintptr_t ptr; member
|