Home
last modified time | relevance | path

Searched refs:BIONIC_ALIGN (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/private/
Dbionic_macros.h41 #define BIONIC_ALIGN(value, alignment) \ macro
/bionic/libc/bionic/
Djemalloc_wrapper.cpp25 size_t size = BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
Dmremap.cpp41 size_t rounded = BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap()
Dmmap.cpp51 size_t rounded = BIONIC_ALIGN(size, PAGE_SIZE); in mmap64()
Dpthread_create.cpp149 mmap_size = BIONIC_ALIGN(attr->stack_size + sizeof(pthread_internal_t), PAGE_SIZE); in __allocate_thread()
150 attr->guard_size = BIONIC_ALIGN(attr->guard_size, PAGE_SIZE); in __allocate_thread()
Dstubs.cpp511 BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
Dsystem_properties.cpp350 const size_t aligned = BIONIC_ALIGN(size, sizeof(uint_least32_t)); in allocate_obj()
/bionic/libc/malloc_debug/
DBacktraceData.cpp47 *offset += BIONIC_ALIGN(hdr_len, MINIMUM_ALIGNMENT_BYTES); in BacktraceData()
DDebugData.cpp50 pointer_offset_ = BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
DConfig.cpp377 front_guard_bytes = BIONIC_ALIGN(front_guard_bytes, MINIMUM_ALIGNMENT_BYTES); in SetFromProperties()
Dmalloc_debug.cpp684 size_t size = BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp75 size_t offset = BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in get_tag_offset()
77 …offset += BIONIC_ALIGN(sizeof(BacktraceHeader) + sizeof(uintptr_t) * backtrace_frames, MINIMUM_ALI… in get_tag_offset()