Searched refs:aligned_alloc (Results 1 – 17 of 17) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_common.cpp | 171 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),
|
D | malloc_limit.cpp | 190 return IncrementLimit(dispatch_table->aligned_alloc(alignment, size)); in LimitAlignedAlloc() 192 return IncrementLimit(Malloc(aligned_alloc)(alignment, size)); in LimitAlignedAlloc()
|
D | gwp_asan_wrappers.cpp | 197 Malloc(aligned_alloc),
|
D | malloc_common_dynamic.cpp | 170 if (!InitMallocFunction<MallocAlignedAlloc>(impl_handler, &table->aligned_alloc, in InitMallocFunctions()
|
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 77 MallocAlignedAlloc aligned_alloc; member
|
/bionic/libc/malloc_hooks/ |
D | Android.bp | 82 "-O1", // FIXME: http://b/169206016 - issues with aligned_alloc and -O2
|
D | malloc_hooks.cpp | 195 return g_dispatch->aligned_alloc(alignment, size); in hooks_aligned_alloc()
|
D | README.md | 20 * `aligned_alloc`
|
/bionic/tests/ |
D | stdlib_test.cpp | 278 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()
|
D | malloc_test.cpp | 1053 [](size_t bytes) { return aligned_alloc(sizeof(void*), bytes) != nullptr; }), in TEST()
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 340 void* ptr = aligned_alloc(32, 1024); in TEST_F() 358 void* ptr = aligned_alloc(11, 1024); in TEST_F()
|
/bionic/libc/include/ |
D | stdlib.h | 82 void* aligned_alloc(size_t __alignment, size_t __size) __INTRODUCED_IN(28);
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 245 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc()
|
/bionic/docs/ |
D | status.md | 75 * `aligned_alloc` correctly verifies that `size` is a multiple of `alignment`. 85 * `aligned_alloc`
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1355 aligned_alloc;
|
/bionic/libc/ |
D | libc.map.txt | 1355 aligned_alloc;
|
/bionic/libc/malloc_debug/ |
D | README.md | 22 * `aligned_alloc`
|