Home
last modified time | relevance | path

Searched refs:posix_memalign (Results 1 – 21 of 21) sorted by relevance

/bionic/libc/private/
Dbionic_malloc_dispatch.h61 MallocPosixMemalign posix_memalign; member
/bionic/libc/bionic/
Dmalloc_common.cpp60 Malloc(posix_memalign),
128 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) { in posix_memalign() function
129 auto _posix_memalign = __libc_globals->malloc_dispatch.posix_memalign; in posix_memalign()
133 return Malloc(posix_memalign)(memptr, alignment, size); in posix_memalign()
263 if (!InitMallocFunction<MallocPosixMemalign>(malloc_impl_handler, &table->posix_memalign, in InitMalloc()
/bionic/tests/
Dbuffer_tests.cpp356 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSingleBufferOverreadTest()
377 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSrcDstBufferOverreadTest()
407 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory1), pagesize, in RunCmpBufferOverreadTest()
415 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory2), pagesize, in RunCmpBufferOverreadTest()
Dstdlib_test.cpp139 TEST(stdlib, posix_memalign) { in TEST() argument
142 ASSERT_EQ(0, posix_memalign(&p, 512, 128)); in TEST()
147 ASSERT_EQ(EINVAL, posix_memalign(&p, 81, 128)); in TEST()
Dmalloc_test.cpp105 ASSERT_EQ(EINVAL, posix_memalign(&ptr, 17, 1024)); in TEST()
110 ASSERT_NE(0, posix_memalign(&ptr, 16, SIZE_MAX)); in TEST()
Dstring_test.cpp801 ASSERT_EQ(0, posix_memalign(reinterpret_cast<void**>(&buffer), 64, 64)); in TEST()
/bionic/libc/include/
Dstdlib.h77 extern int posix_memalign(void **memptr, size_t alignment, size_t size);
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp589 return g_dispatch->posix_memalign(memptr, alignment, size); in debug_posix_memalign()
DREADME.md16 posix_memalign
/bionic/libc/
Dlibc.mips64.map665 posix_memalign;
Dlibc.x86_64.map665 posix_memalign;
Dlibc.arm64.map665 posix_memalign;
Dlibc.x86.brillo.map715 posix_memalign;
Dlibc.mips.brillo.map717 posix_memalign;
Dlibc.arm.brillo.map719 posix_memalign;
Dlibc.mips.map717 posix_memalign;
Dlibc.x86.map715 posix_memalign;
Dlibc.arm.map719 posix_memalign;
Dlibc.map.txt743 posix_memalign;
/bionic/libc/tools/
Dposix-2013.txt631 posix_memalign
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp117 posix_memalign,