Searched refs:pointer_raw (Results 1 – 1 of 1) sorted by relevance
215 uint64_t pointer_raw = (uint64_t)pointer; in AlignUp() local216 VIXL_STATIC_ASSERT(sizeof(pointer) <= sizeof(pointer_raw)); in AlignUp()218 size_t align_step = (alignment - pointer_raw) % alignment; in AlignUp()219 VIXL_ASSERT((pointer_raw + align_step) % alignment == 0); in AlignUp()221 return (T)(pointer_raw + align_step); in AlignUp()230 uint64_t pointer_raw = (uint64_t)pointer; in AlignDown() local231 VIXL_STATIC_ASSERT(sizeof(pointer) <= sizeof(pointer_raw)); in AlignDown()233 size_t align_step = pointer_raw % alignment; in AlignDown()234 VIXL_ASSERT((pointer_raw - align_step) % alignment == 0); in AlignDown()236 return (T)(pointer_raw - align_step); in AlignDown()