Lines Matching full:alignment
43 * Returns a type's required alignment when used as a standalone variable.
45 size_t alignment(const Type& type) const { in alignment() function
56 return this->roundUpIfNeeded(this->alignment(type.componentType())); in alignment()
60 size_t alignment = this->alignment(*f.fType); in alignment() local
61 if (alignment > result) { in alignment()
62 result = alignment; in alignment()
80 return this->alignment(type); in stride()
106 size_t alignment = this->alignment(*f.fType); in size() local
107 if (total % alignment != 0) { in size()
108 total += alignment - total % alignment; in size()
110 ASSERT(total % alignment == 0); in size()
113 size_t alignment = this->alignment(type); in size() local
115 (0 == alignment % this->alignment(*type.fields()[0].fType))); in size()
116 return (total + alignment - 1) & ~(alignment - 1); in size()