Home
last modified time | relevance | path

Searched refs:aligned_alloc (Results 1 – 17 of 17) sorted by relevance

/bionic/libc/bionic/
Dmalloc_common.cpp171 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc() function
174 return MaybeTagPointer(dispatch_table->aligned_alloc(alignment, size)); in aligned_alloc()
176 void* result = Malloc(aligned_alloc)(alignment, size); in aligned_alloc()
362 Malloc(aligned_alloc),
Dmalloc_limit.cpp190 return IncrementLimit(dispatch_table->aligned_alloc(alignment, size)); in LimitAlignedAlloc()
192 return IncrementLimit(Malloc(aligned_alloc)(alignment, size)); in LimitAlignedAlloc()
Dgwp_asan_wrappers.cpp197 Malloc(aligned_alloc),
Dmalloc_common_dynamic.cpp170 if (!InitMallocFunction<MallocAlignedAlloc>(impl_handler, &table->aligned_alloc, in InitMallocFunctions()
/bionic/libc/private/
Dbionic_malloc_dispatch.h77 MallocAlignedAlloc aligned_alloc; member
/bionic/libc/malloc_hooks/
DAndroid.bp82 "-O1", // FIXME: http://b/169206016 - issues with aligned_alloc and -O2
Dmalloc_hooks.cpp195 return g_dispatch->aligned_alloc(alignment, size); in hooks_aligned_alloc()
DREADME.md20 * `aligned_alloc`
/bionic/tests/
Dstdlib_test.cpp278 ASSERT_TRUE(aligned_alloc(fail_align, fail_align) == nullptr) in TEST()
282 void* ptr = aligned_alloc(align, 2 * align); in TEST()
293 ASSERT_TRUE(aligned_alloc(16, SIZE_MAX) == nullptr); in TEST()
299 ASSERT_TRUE(aligned_alloc(2048, 1) == nullptr); in TEST()
300 ASSERT_TRUE(aligned_alloc(4, 3) == nullptr); in TEST()
301 ASSERT_TRUE(aligned_alloc(4, 7) == nullptr); in TEST()
302 ASSERT_TRUE(aligned_alloc(16, 8) == nullptr); in TEST()
Dmalloc_test.cpp1053 [](size_t bytes) { return aligned_alloc(sizeof(void*), bytes) != nullptr; }), in TEST()
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp340 void* ptr = aligned_alloc(32, 1024); in TEST_F()
358 void* ptr = aligned_alloc(11, 1024); in TEST_F()
/bionic/libc/include/
Dstdlib.h82 void* aligned_alloc(size_t __alignment, size_t __size) __INTRODUCED_IN(28);
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp245 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc()
/bionic/docs/
Dstatus.md75 * `aligned_alloc` correctly verifies that `size` is a multiple of `alignment`.
85 * `aligned_alloc`
/bionic/tools/versioner/platforms/
Dlibc.map.txt1355 aligned_alloc;
/bionic/libc/
Dlibc.map.txt1355 aligned_alloc;
/bionic/libc/malloc_debug/
DREADME.md22 * `aligned_alloc`