/bionic/tests/ |
D | bionic_allocator_test.cpp | 220 ptr = allocator.memalign(0x100, 0x100); in TEST() 232 ptr = allocator.memalign(0x100, 0x10); in TEST() 243 ptr = allocator.memalign(0x100, 0x2000); in TEST() 249 ptr = allocator.memalign(0x1000, 0x2000); in TEST() 256 ptr = allocator.memalign(0x2000, 0x4000); in TEST()
|
D | malloc_test.cpp | 101 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() 113 ASSERT_EQ(nullptr, memalign(4096, SIZE_MAX)); in TEST() 120 ptr = memalign(align, 1024); in TEST() 129 char *ptr = (char*)memalign(alignment, 100); in TEST() 763 [](size_t bytes) { return memalign(sizeof(void*), bytes) != nullptr; }), 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/private/ |
D | bionic_malloc_dispatch.h | 64 MallocMemalign memalign; member
|
D | bionic_allocator.h | 108 void* memalign(size_t align, size_t size);
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 126 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign() function 129 return dispatch_table->memalign(alignment, bytes); in memalign() 131 void* result = Malloc(memalign)(alignment, bytes); in memalign()
|
D | malloc_limit.cpp | 157 return IncrementLimit(dispatch_table->memalign(alignment, bytes)); in LimitMemalign() 159 return IncrementLimit(Malloc(memalign)(alignment, bytes)); in LimitMemalign()
|
D | malloc_common_dynamic.cpp | 89 Malloc(memalign), 173 if (!InitMallocFunction<MallocMemalign>(impl_handler, &table->memalign, prefix, "memalign")) { in InitMallocFunctions()
|
D | malloc_heapprofd.cpp | 98 Malloc(memalign),
|
D | bionic_elf_tls.cpp | 295 mod_ptr = __libc_shared_globals()->tls_allocator.memalign(segment.alignment, segment.size); in tls_get_addr_slow_path()
|
D | bionic_allocator.cpp | 317 void* BionicAllocator::memalign(size_t align, size_t size) { in memalign() function in BionicAllocator
|
/bionic/libc/include/ |
D | malloc.h | 90 void* memalign(size_t __alignment, size_t __byte_count) __mallocfunc __BIONIC_ALLOC_SIZE(2) __wur;
|
/bionic/benchmarks/ |
D | malloc_benchmark.cpp | 70 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 94 return g_dispatch->memalign(alignment, bytes); in default_memalign_hook() 146 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/libc/bionic/scudo/ |
D | scudo.cpp | 118 return memalign(alignment, byte_count);
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 399 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in InternalMalloc() 519 return g_dispatch->memalign(alignment, bytes); in debug_memalign() 573 pointer = g_dispatch->memalign(alignment, real_size); in debug_memalign() 749 reinterpret_cast<Header*>(g_dispatch->memalign(MINIMUM_ALIGNMENT_BYTES, real_size)); in debug_calloc()
|
D | README.md | 21 * `memalign` 336 pointer = memalign(alignment, size) 338 **THREAD\_ID**: memalign pointer alignment size 342 **THREAD\_ID**: memalign pointer alignment size 346 **THREAD\_ID**: memalign pointer alignment size 350 186: memalign 0x85423660 16 104 354 **THREAD\_ID**: memalign pointer 4096 size 358 186: memalign 0x85423660 4096 112 362 **THREAD\_ID**: memalign pointer 4096 <b>SIZE\_ROUNDED\_UP\_TO\_4096</b> 366 186: memalign 0x85423660 4096 8192
|
D | README_marshmallow_and_earlier.md | 27 * `memalign`
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 284 void* ptr = memalign(32, 1024); in TEST_F()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 262 void* ptr = memalign(64, 1123); in Memalign()
|
D | malloc_debug_unit_tests.cpp | 130 memalign,
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 636 memalign;
|
/bionic/libc/ |
D | libc.map.txt | 636 memalign;
|
/bionic/docs/ |
D | elf-tls.md | 523 `LinkerMemoryAllocator`, adapted to avoid the STL and to provide `memalign`. The prototype tries to
|