Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmremap.cpp41 size_t rounded = BIONIC_ALIGN(new_size, PAGE_SIZE); in mremap()
Djemalloc_wrapper.cpp26 size_t size = BIONIC_ALIGN(bytes, pagesize); in je_pvalloc()
Dmmap.cpp51 size_t rounded = BIONIC_ALIGN(size, PAGE_SIZE); in mmap64()
Dpthread_create.cpp173 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()
Dgrp_pwd.cpp574 BIONIC_ALIGN(reinterpret_cast<uintptr_t>(buf), sizeof(uintptr_t))); in getgroup_r()
Dsystem_properties.cpp308 const size_t aligned = BIONIC_ALIGN(size, sizeof(uint_least32_t)); in allocate_obj()
/bionic/libc/private/
Dbionic_tls.h105 #define BIONIC_TLS_SIZE (BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE))
Dbionic_macros.h43 #define BIONIC_ALIGN(value, alignment) \ macro
/bionic/libc/malloc_debug/
DBacktraceData.cpp56 *offset += BIONIC_ALIGN(hdr_len, MINIMUM_ALIGNMENT_BYTES); in BacktraceData()
DDebugData.cpp50 pointer_offset_ = BIONIC_ALIGN(sizeof(Header), MINIMUM_ALIGNMENT_BYTES); in Initialize()
DConfig.cpp186 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()
Dmalloc_debug.cpp745 size_t size = BIONIC_ALIGN(bytes, pagesize); in debug_pvalloc()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp76 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()