/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 | 137 char *ptr = reinterpret_cast<char*>(memalign(alignment, 100)); in TEST() 149 ASSERT_EQ(nullptr, memalign(4096, SIZE_MAX)); in TEST() 156 ptr = memalign(align, 1024); in TEST() 165 char *ptr = (char*)memalign(alignment, 100); in TEST() 1045 [](size_t bytes) { return memalign(sizeof(void*), bytes) != nullptr; }), in TEST()
|
D | string_test.cpp | 175 …glob_ptr = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * MA… in StringTestState() 176 …glob_ptr1 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState() 177 …glob_ptr2 = reinterpret_cast<Character*>(memalign(sysconf(_SC_PAGESIZE), 2 * sizeof(Character) * M… in StringTestState()
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 145 extern "C" void* memalign(size_t alignment, size_t bytes) { in memalign() function 148 return MaybeTagPointer(dispatch_table->memalign(alignment, bytes)); in memalign() 150 void* result = Malloc(memalign)(alignment, bytes); in memalign() 349 Malloc(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 | gwp_asan_wrappers.cpp | 184 Malloc(memalign),
|
D | bionic_allocator.cpp | 317 void* BionicAllocator::memalign(size_t align, size_t size) { in memalign() function in BionicAllocator
|
D | bionic_elf_tls.cpp | 302 mod_ptr = __libc_shared_globals()->tls_allocator.memalign(segment.alignment, segment.size); in tls_get_addr_slow_path()
|
D | malloc_common_dynamic.cpp | 163 if (!InitMallocFunction<MallocMemalign>(impl_handler, &table->memalign, prefix, "memalign")) { in InitMallocFunctions()
|
/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/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/include/ |
D | malloc.h | 90 void* memalign(size_t __alignment, size_t __byte_count) __mallocfunc __BIONIC_ALLOC_SIZE(2) __wur;
|
/bionic/benchmarks/ |
D | malloc_sql_benchmark.cpp | 71 ptrs[entries[i].idx] = memalign(entries[i].arg2, entries[i].size); in BenchmarkMalloc()
|
/bionic/libc/malloc_debug/ |
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 | 290 void* ptr = memalign(64, 1123); in Memalign()
|
/bionic/docs/ |
D | native_allocator.md | 93 is passed to memalign. 353 the allocation calls (malloc/memalign/posix_memalign/realloc/free/etc).
|
D | elf-tls.md | 523 `LinkerMemoryAllocator`, adapted to avoid the STL and to provide `memalign`. The prototype tries to
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 636 memalign;
|
/bionic/libc/ |
D | libc.map.txt | 636 memalign;
|