Searched refs:memalign (Results 1 – 19 of 19) sorted by relevance
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 62 MallocMemalign memalign; member
|
/bionic/libc/include/ |
D | malloc.h | 38 void* memalign(size_t __alignment, size_t __byte_count) __mallocfunc __BIONIC_ALLOC_SIZE(2) __wur;
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 59 Malloc(memalign), 136 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign() function 137 auto _memalign = __libc_globals->malloc_dispatch.memalign; in memalign() 141 return Malloc(memalign)(alignment, bytes); in memalign() 297 if (!InitMallocFunction<MallocMemalign>(impl_handler, &table->memalign, prefix, "memalign")) { in InitMallocFunctions()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 91 return g_dispatch->memalign(alignment, bytes); in default_memalign_hook() 143 return g_dispatch->memalign(alignment, bytes); in hooks_memalign()
|
D | README.md | 19 * `memalign` 44 When memalign is called and \_\_memalign\_hook has been set, then the hook
|
/bionic/tests/ |
D | malloc_test.cpp | 80 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() 91 ASSERT_EQ(NULL, memalign(4096, SIZE_MAX)); in TEST() 97 ptr = memalign(align, 1024); in TEST() 106 char *ptr = (char*)memalign(alignment, 100); in TEST()
|
D | string_test.cpp | 170 …glob_ptr = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MA… in StringTestState() 171 …glob_ptr1 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState() 172 …glob_ptr2 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState()
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 336 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in InternalMalloc() 454 return g_dispatch->memalign(alignment, bytes); in debug_memalign() 507 pointer = g_dispatch->memalign(alignment, real_size); in debug_memalign() 681 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in debug_calloc()
|
D | README.md | 25 * `memalign` 335 pointer = memalign(alignment, size) 337 **THREAD\_ID**: memalign pointer alignment size 341 **THREAD\_ID**: memalign pointer alignment size 345 **THREAD\_ID**: memalign pointer alignment size 349 186: memalign 0x85423660 16 104 353 **THREAD\_ID**: memalign pointer 4096 size 357 186: memalign 0x85423660 4096 112 361 **THREAD\_ID**: memalign pointer 4096 <b>SIZE\_ROUNDED\_UP\_TO\_4096</b> 365 186: memalign 0x85423660 4096 8192
|
D | README_marshmallow_and_earlier.md | 27 * `memalign`
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 287 void* ptr = memalign(32, 1024); in TEST_F()
|
/bionic/libc/ |
D | libc.arm64.map | 559 memalign;
|
D | libc.x86_64.map | 559 memalign;
|
D | libc.mips64.map | 559 memalign;
|
D | libc.x86.map | 630 memalign;
|
D | libc.mips.map | 632 memalign;
|
D | libc.arm.map | 634 memalign;
|
D | libc.map.txt | 636 memalign;
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 124 memalign,
|