Lines Matching refs:alignment
49 size_t alignment(const Type& type) const { in alignment() function
60 return this->roundUpIfNeeded(this->alignment(type.componentType())); in alignment()
64 size_t alignment = this->alignment(*f.fType); in alignment() local
65 if (alignment > result) { in alignment()
66 result = alignment; in alignment()
89 int align = this->alignment(type.componentType()); in stride()
125 size_t alignment = this->alignment(*f.fType); in size() local
126 if (total % alignment != 0) { in size()
127 total += alignment - total % alignment; in size()
129 SkASSERT(total % alignment == 0); in size()
132 size_t alignment = this->alignment(type); in size() local
134 (0 == alignment % this->alignment(*type.fields()[0].fType))); in size()
135 return (total + alignment - 1) & ~(alignment - 1); in size()