Searched refs:__BIONIC_ALIGN (Results 1 – 17 of 17) sorted by relevance
/bionic/libc/bionic/ |
D | legacy_32_bit_support.cpp | 127 size_t rounded = __BIONIC_ALIGN(size, page_size()); in mmap64() 147 size_t rounded = __BIONIC_ALIGN(new_size, page_size()); in mremap()
|
D | pthread_create.cpp | 75 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), page_size()); in __allocate_temp_bionic_tls() 87 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), page_size())); in __free_temp_bionic_tls() 223 mmap_size = __BIONIC_ALIGN(mmap_size, page_size()); in __allocate_thread_mapping() 275 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); 210 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(page + 1), block_size_); in alloc_page() 265 size_t header_size = __BIONIC_ALIGN(kPageInfoSize, align); in alloc_mmap()
|
D | jemalloc_wrapper.cpp | 38 size_t size = __BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
|
D | fdsan.cpp | 84 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() 756 __BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
|
/bionic/libc/malloc_debug/ |
D | DebugData.cpp | 47 pointer_offset_ = __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
|
D | Config.cpp | 277 front_guard_bytes_ = __BIONIC_ALIGN(rear_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetGuard() 287 front_guard_bytes_ = __BIONIC_ALIGN(front_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetFrontGuard()
|
D | malloc_debug.cpp | 1095 size_t size = __BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
|
/bionic/linker/ |
D | linker_block_allocator_test.cpp | 81 size_t dist = __BIONIC_ALIGN(MAX(sizeof(Element), kBlockSizeMin), kBlockSizeAlign); in linker_allocator_test_helper()
|
D | linker_block_allocator.cpp | 58 : block_size_(__BIONIC_ALIGN(MAX(block_size, kBlockSizeMin), kBlockSizeAlign)), in LinkerBlockAllocator()
|
/bionic/tests/ |
D | static_tls_layout_test.cpp | 162 const size_t base8 = __BIONIC_ALIGN(-MIN_TLS_SLOT, 8) * sizeof(void*); in TEST() 163 const size_t base16 = __BIONIC_ALIGN(-MIN_TLS_SLOT, 16) * sizeof(void*); in TEST()
|
/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/include/sys/ |
D | cdefs.h | 63 #define __BIONIC_ALIGN(__value, __alignment) (((__value) + (__alignment)-1) & ~((__alignment)-1)) macro
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 233 size_t size = __BIONIC_ALIGN(bytes, pagesize); in hooks_pvalloc()
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 151 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 | 101 return __BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in get_tag_offset()
|