Home
last modified time | relevance | path

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

123

/bionic/libc/bionic/
Dmalloc_tagged_pointers.h72 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()
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[]()
Dbionic_allocator.cpp164 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.cpp32 cmsghdr* ptr; in __cmsg_nxthdr() local
/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/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp162 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/
Dmalloc_debug_system_tests.cpp245 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/
Dmalloc_test.cpp66 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 …]
Dmalloc_iterate_test.cpp40 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
Dbionic_allocator_test.cpp66 void* ptr = allocator.alloc(0); in TEST() local
217 void* ptr; in TEST() local
240 void* ptr; 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/benchmarks/
Dmalloc_benchmark.cpp50 void* ptr = malloc(size); in BM_mallopt_purge() local
60 for (auto ptr : ptrs) { in BM_mallopt_purge() local
Dstdlib_benchmark.cpp32 void* ptr; in MallocFree() local
67 void* ptr; in CallocFree() local
/bionic/libc/malloc_debug/
DPointerData.cpp196 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.c35 __LIBC_HIDDEN__ int __set_tls(void* ptr) { in __set_tls()
/bionic/libc/platform/bionic/
Dpac.h33 inline uintptr_t __bionic_clear_pac_bits(uintptr_t ptr) { in __bionic_clear_pac_bits()
/bionic/libc/kernel/uapi/linux/
Drseq.h53 __u64 ptr; member
63 } ptr; member
/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/upstream-openbsd/lib/libc/stdlib/
Drecallocarray.c31 recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) in recallocarray()
/bionic/libc/include/bits/
Depoll_event.h41 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/libc/kernel/uapi/linux/android/
Dbinder.h107 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/
Dmalloc_hooks.cpp162 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

123