Searched refs:align_up (Results 1 – 6 of 6) 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* _Nonnull align_up(T* _Nonnull 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/bionic/ |
D | elf_note.cpp | 48 p += align_up(note->n_namesz, 4); in __get_elf_note() 50 p += align_up(note->n_descsz, 4); in __get_elf_note()
|
D | pthread_create.cpp | 128 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 | 608 size_t mmap_size = align_up(size, mapping_align) + mapping_align - page_size(); in ReserveWithAlignmentPadding() 615 size_t first_byte = reinterpret_cast<size_t>(align_up(mmap_ptr, mapping_align)); in ReserveWithAlignmentPadding() 625 mmap_size = align_up(size + gap_size, mapping_align) + mapping_align - page_size(); in ReserveWithAlignmentPadding() 640 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()
|