Searched refs:__BIONIC_ALIGN (Results 1 – 14 of 14) 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 | 73 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE); in __allocate_temp_bionic_tls() 86 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)); in __free_temp_bionic_tls() 212 mmap_size = __BIONIC_ALIGN(mmap_size, PAGE_SIZE); in __allocate_thread_mapping() 258 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 | bionic_elf_tls.cpp | 116 const size_t exe_tpoff = __BIONIC_ALIGN(sizeof(void*) * 2, exe_segment->alignment); in reserve_exe_segment_and_tcb() 170 value = __BIONIC_ALIGN(value, alignment); in round_up_with_overflow_check()
|
D | fdsan.cpp | 83 size_t aligned_size = __BIONIC_ALIGN(required_size, PAGE_SIZE); in at()
|
D | grp_pwd.cpp | 588 reinterpret_cast<char*>(__BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getpasswd_r() 748 __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()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 122 bytes_used_ += __BIONIC_ALIGN(PROP_VALUE_MAX, sizeof(uint_least32_t)); in prop_area()
|
/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 | 63 #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()
|