Searched refs:aligned_alloc (Results 1 – 19 of 19) sorted by relevance
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 77 MallocAlignedAlloc aligned_alloc; member
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 146 extern "C" void* aligned_alloc(size_t alignment, size_t size) { in aligned_alloc() function 149 return dispatch_table->aligned_alloc(alignment, size); in aligned_alloc() 151 void* result = Malloc(aligned_alloc)(alignment, size); in 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 | malloc_common_dynamic.cpp | 102 Malloc(aligned_alloc), 180 if (!InitMallocFunction<MallocAlignedAlloc>(impl_handler, &table->aligned_alloc, in InitMallocFunctions()
|
D | malloc_heapprofd.cpp | 111 Malloc(aligned_alloc),
|
/bionic/libc/bionic/scudo/ |
D | scudo.cpp | 67 return aligned_alloc(alignment, size);
|
/bionic/tests/ |
D | stdlib_test.cpp | 275 ASSERT_TRUE(aligned_alloc(fail_align, fail_align) == nullptr) in TEST() 279 void* ptr = aligned_alloc(align, 2 * align); in TEST() 290 ASSERT_TRUE(aligned_alloc(16, SIZE_MAX) == nullptr); in TEST() 296 ASSERT_TRUE(aligned_alloc(2048, 1) == nullptr); in TEST() 297 ASSERT_TRUE(aligned_alloc(4, 3) == nullptr); in TEST() 298 ASSERT_TRUE(aligned_alloc(4, 7) == nullptr); in TEST() 299 ASSERT_TRUE(aligned_alloc(16, 8) == nullptr); in TEST()
|
D | malloc_test.cpp | 771 [](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/malloc_hooks/ |
D | malloc_hooks.cpp | 195 return g_dispatch->aligned_alloc(alignment, size); in hooks_aligned_alloc()
|
D | README.md | 20 * `aligned_alloc`
|
/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 | 217 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc()
|
D | malloc_debug_unit_tests.cpp | 143 aligned_alloc,
|
/bionic/docs/ |
D | status.md | 52 * `aligned_alloc` correctly verifies that `size` is a multiple of `alignment`. 62 * `aligned_alloc`
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 807 return g_dispatch->aligned_alloc(alignment, size); in debug_aligned_alloc()
|
D | README.md | 22 * `aligned_alloc`
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1355 aligned_alloc;
|
/bionic/libc/ |
D | libc.map.txt | 1355 aligned_alloc;
|