Searched refs:__BIONIC_ALIGN (Results 1 – 16 of 16) sorted by relevance
/bionic/libc/bionic/ |
D | mremap.cpp | 41 size_t rounded = __BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap()
|
D | mmap.cpp | 51 size_t rounded = __BIONIC_ALIGN(size, PAGE_SIZE); in mmap64()
|
D | pthread_create.cpp | 90 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE); in __allocate_temp_bionic_tls() 103 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)); in __free_temp_bionic_tls() 229 mmap_size = __BIONIC_ALIGN(mmap_size, PAGE_SIZE); in __allocate_thread_mapping() 273 attr->guard_size = __BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread()
|
D | bionic_allocator.cpp | 84 static constexpr size_t kPageInfoSize = __BIONIC_ALIGN(sizeof(page_info), 16); 214 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(page + 1), block_size_); in alloc_page() 269 size_t header_size = __BIONIC_ALIGN(kPageInfoSize, align); in alloc_mmap()
|
D | jemalloc_wrapper.cpp | 28 size_t size = __BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
|
D | bionic_elf_tls.cpp | 115 const size_t exe_tpoff = __BIONIC_ALIGN(sizeof(void*) * 2, exe_segment->alignment); in reserve_exe_segment_and_tcb() 169 value = __BIONIC_ALIGN(value, alignment); in round_up_with_overflow_check()
|
D | fdsan.cpp | 81 size_t aligned_size = __BIONIC_ALIGN(required_size, PAGE_SIZE); in at()
|
D | grp_pwd.cpp | 690 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
|
/bionic/libc/include/android/ |
D | legacy_sys_mman_inlines.h | 58 size_t __rounded = __BIONIC_ALIGN(__size, PAGE_SIZE); in mmap64()
|
/bionic/libc/malloc_debug/ |
D | DebugData.cpp | 46 pointer_offset_ = __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
|
D | Config.cpp | 207 front_guard_bytes_ = __BIONIC_ALIGN(rear_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetGuard() 217 front_guard_bytes_ = __BIONIC_ALIGN(front_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetFrontGuard()
|
D | malloc_debug.cpp | 882 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 233 size_t size = __BIONIC_ALIGN(bytes, pagesize); in hooks_pvalloc()
|
/bionic/libc/include/sys/ |
D | cdefs.h | 59 #define __BIONIC_ALIGN(__value, __alignment) (((__value) + (__alignment)-1) & ~((__alignment)-1)) macro
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 147 const size_t aligned = __BIONIC_ALIGN(size, sizeof(uint_least32_t)); in allocate_obj()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 82 return __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in get_tag_offset()
|