Home
last modified time | relevance | path

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

/bionic/libc/private/
Dbionic_malloc_dispatch.h77 MallocAlignedAlloc aligned_alloc; member
/bionic/libc/bionic/
Dmalloc_common.cpp146 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()
Dmalloc_limit.cpp190 return IncrementLimit(dispatch_table->aligned_alloc(alignment, size)); in LimitAlignedAlloc()
192 return IncrementLimit(Malloc(aligned_alloc)(alignment, size)); in LimitAlignedAlloc()
Dmalloc_common_dynamic.cpp102 Malloc(aligned_alloc),
180 if (!InitMallocFunction<MallocAlignedAlloc>(impl_handler, &table->aligned_alloc, in InitMallocFunctions()
Dmalloc_heapprofd.cpp111 Malloc(aligned_alloc),
/bionic/libc/bionic/scudo/
Dscudo.cpp67 return aligned_alloc(alignment, size);
/bionic/tests/
Dstdlib_test.cpp275 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()
Dmalloc_test.cpp771 [](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/malloc_hooks/
Dmalloc_hooks.cpp195 return g_dispatch->aligned_alloc(alignment, size); in hooks_aligned_alloc()
DREADME.md20 * `aligned_alloc`
/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.cpp217 void* ptr = aligned_alloc(64, 1152); in AlignedAlloc()
Dmalloc_debug_unit_tests.cpp143 aligned_alloc,
/bionic/docs/
Dstatus.md52 * `aligned_alloc` correctly verifies that `size` is a multiple of `alignment`.
62 * `aligned_alloc`
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp807 return g_dispatch->aligned_alloc(alignment, size); in debug_aligned_alloc()
DREADME.md22 * `aligned_alloc`
/bionic/tools/versioner/platforms/
Dlibc.map.txt1355 aligned_alloc;
/bionic/libc/
Dlibc.map.txt1355 aligned_alloc;