Searched refs:align_up (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/platform/bionic/ |
D | macros.h | 38 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/ |
D | CFIShadow.h | 72 align_up((kMaxTargetAddr >> (kShadowGranularity - 1)), PAGE_SIZE);
|
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 219 p += align_up(note->n_namesz, 4); in __get_memtag_note() 221 p += align_up(note->n_descsz, 4); in __get_memtag_note()
|
D | pthread_create.cpp | 121 reinterpret_cast<char*>(align_up(reinterpret_cast<uintptr_t>(scs_guard_region), SCS_SIZE)); in __init_shadow_call_stack()
|
/bionic/linker/ |
D | linker_note_gnu_property.cpp | 140 align_up(sizeof(ElfW(Prop)) + property->pr_datasz, sizeof(ElfW(Addr))); in Parse()
|
D | linker_phdr.cpp | 585 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()
|
D | linker_note_gnu_property_test.cpp | 110 const uintptr_t addition = align_up(pr_datasz, sizeof(ElfW(Addr))); in push()
|