Home
last modified time | relevance | path

Searched refs:align_down (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/platform/bionic/
Dmacros.h34 static constexpr uintptr_t align_down(uintptr_t p, size_t align) { in align_down() function
43 static inline T* _Nonnull align_down(T* _Nonnull p, size_t align) { in align_down() function
44 return reinterpret_cast<T*>(align_down(reinterpret_cast<uintptr_t>(p), align)); in align_down()
/bionic/libdl/
Dlibdl_cfi.cpp59 uintptr_t aligned_addr = align_down(addr, CFIShadow::kShadowAlign) + CFIShadow::kShadowAlign; in cfi_check_addr()
/bionic/linker/
Dlinker_phdr.cpp616 size_t last_byte = reinterpret_cast<size_t>(align_down(mmap_ptr + mmap_size, mapping_align) - 1); in ReserveWithAlignmentPadding()
634 gap_end = align_down(mmap_ptr + mmap_size, kGapAlignment); in ReserveWithAlignmentPadding()
641 uint8_t* last = align_down(gap_start, mapping_align) - size; in ReserveWithAlignmentPadding()
/bionic/libc/bionic/
Dpthread_create.cpp295 stack_top = align_down(stack_top - sizeof(pthread_internal_t), 16); in __allocate_thread()