Searched refs:BIONIC_ALIGN (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/bionic/ |
D | mremap.cpp | 41 size_t rounded = BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap()
|
D | jemalloc_wrapper.cpp | 26 size_t size = BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
|
D | mmap.cpp | 51 size_t rounded = BIONIC_ALIGN(size, PAGE_SIZE); in mmap64()
|
D | pthread_create.cpp | 173 mmap_size = BIONIC_ALIGN(attr->stack_size + sizeof(pthread_internal_t), PAGE_SIZE); in __allocate_thread() 174 attr->guard_size = BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread()
|
D | grp_pwd.cpp | 574 BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
|
D | system_properties.cpp | 308 const size_t aligned = BIONIC_ALIGN(size, sizeof(uint_least32_t)); in allocate_obj()
|
/bionic/libc/private/ |
D | bionic_tls.h | 105 #define BIONIC_TLS_SIZE (BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE))
|
D | bionic_macros.h | 43 #define BIONIC_ALIGN(value, alignment) \ macro
|
/bionic/libc/malloc_debug/ |
D | BacktraceData.cpp | 56 *offset += BIONIC_ALIGN(hdr_len, MINIMUM_ALIGNMENT_BYTES); in BacktraceData()
|
D | DebugData.cpp | 50 pointer_offset_ = BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
|
D | Config.cpp | 186 front_guard_bytes_ = BIONIC_ALIGN(rear_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetGuard() 196 front_guard_bytes_ = BIONIC_ALIGN(front_guard_bytes_, MINIMUM_ALIGNMENT_BYTES); in SetFrontGuard()
|
D | malloc_debug.cpp | 745 size_t size = BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 76 size_t offset = BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in get_tag_offset() 78 …offset += BIONIC_ALIGN(sizeof(BacktraceHeader) + sizeof(uintptr_t) * backtrace_frames, MINIMUM_ALI… in get_tag_offset()
|