Home
last modified time | relevance | path

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

/external/vixl/src/vixl/
Dutils.h218 size_t align_step = (alignment - pointer_raw) % alignment; in AlignUp() local
219 VIXL_ASSERT((pointer_raw + align_step) % alignment == 0); in AlignUp()
221 return (T)(pointer_raw + align_step); in AlignUp()
233 size_t align_step = pointer_raw % alignment; in AlignDown() local
234 VIXL_ASSERT((pointer_raw - align_step) % alignment == 0); in AlignDown()
236 return (T)(pointer_raw - align_step); in AlignDown()