Home
last modified time | relevance | path

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

/system/libfmq/base/fmq/
DMQDescriptorBase.h75 constexpr size_t kAlignmentSize = 64; in alignToWordBoundary() local
76 if (kAlignmentSize % __WORDSIZE != 0) { in alignToWordBoundary()
85 if (length > SIZE_MAX - kAlignmentSize / 8 + 1) { in alignToWordBoundary()
91 return (length + kAlignmentSize / 8 - 1) & ~(kAlignmentSize / 8 - 1U); in alignToWordBoundary()
95 constexpr size_t kAlignmentSize = 64; in isAlignedToWordBoundary() local
96 return (offset & (kAlignmentSize / 8 - 1)) == 0; in isAlignedToWordBoundary()