Home
last modified time | relevance | path

Searched refs:align_up (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/platform/bionic/
Dmacros.h38 static constexpr uintptr_t align_up(uintptr_t p, size_t align) { in align_up() function
48 static inline T* align_up(T* p, size_t align) { in align_up() function
49 return reinterpret_cast<T*>(align_up(reinterpret_cast<uintptr_t>(p), align)); in align_up()
/bionic/libc/private/
DCFIShadow.h72 align_up((kMaxTargetAddr >> (kShadowGranularity - 1)), PAGE_SIZE);
/bionic/libc/bionic/
Dlibc_init_static.cpp219 p += align_up(note->n_namesz, 4); in __get_memtag_note()
221 p += align_up(note->n_descsz, 4); in __get_memtag_note()
Dpthread_create.cpp121 reinterpret_cast<char*>(align_up(reinterpret_cast<uintptr_t>(scs_guard_region), SCS_SIZE)); in __init_shadow_call_stack()
/bionic/linker/
Dlinker_note_gnu_property.cpp140 align_up(sizeof(ElfW(Prop)) + property->pr_datasz, sizeof(ElfW(Addr))); in Parse()
Dlinker_phdr.cpp585 size_t mmap_size = align_up(size, mapping_align) + mapping_align - PAGE_SIZE; in ReserveWithAlignmentPadding()
592 size_t first_byte = reinterpret_cast<size_t>(align_up(mmap_ptr, mapping_align)); in ReserveWithAlignmentPadding()
602 mmap_size = align_up(size + gap_size, mapping_align) + mapping_align - PAGE_SIZE; in ReserveWithAlignmentPadding()
617 uint8_t* first = align_up(mmap_ptr, mapping_align); in ReserveWithAlignmentPadding()
Dlinker_note_gnu_property_test.cpp110 const uintptr_t addition = align_up(pr_datasz, sizeof(ElfW(Addr))); in push()