Lines Matching refs:Alignment
26 // Memory alignment, represented as an offset relative to a base, where 0 <= offset < base,
27 // and base is a power of two. For example, the value Alignment(16, 0) means memory is
28 // perfectly aligned at a 16-byte boundary, whereas the value Alignment(16, 4) means
30 class Alignment {
32 Alignment(size_t base, size_t offset) : base_(base), offset_(offset) {
169 // Abstraction of a vector operation that references memory, with an alignment.
170 // The Android runtime guarantees at least "component size" alignment for array
183 void SetAlignment(Alignment alignment) { alignment_ = alignment; }
185 Alignment GetAlignment() const { return alignment_; }
190 Alignment alignment_;