Lines Matching full:alignment
36 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment);
47 template <typename T, size_t Alignment = (sizeof(T) > 4 ? 4 : sizeof(T)), size_t Stride = sizeof(T)>
76 template <typename T, size_t Alignment, size_t Stride>
77 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (void) throw() in ArrayBuffer()
83 template <typename T, size_t Alignment, size_t Stride>
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer()
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment); in ArrayBuffer()
102 template <typename T, size_t Alignment, size_t Stride>
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) in ArrayBuffer()
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); in ArrayBuffer()
129 template <typename T, size_t Alignment, size_t Stride>
130 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const ArrayBuffer<T,Alignment,Stride>& other) in ArrayBuffer() argument
146 template <typename T, size_t Alignment, size_t Stride>
147 ArrayBuffer<T,Alignment,Stride>::~ArrayBuffer (void) throw() in ~ArrayBuffer()
152 template <typename T, size_t Alignment, size_t Stride>
153 ArrayBuffer<T,Alignment,Stride>& ArrayBuffer<T,Alignment,Stride>::operator= (const ArrayBuffer& oth… in operator =()
160 template <typename T, size_t Alignment, size_t Stride>
161 void ArrayBuffer<T,Alignment,Stride>::clear (void) throw() in clear()
169 template <typename T, size_t Alignment, size_t Stride>
170 void ArrayBuffer<T,Alignment,Stride>::setStorage (size_t numElements) in setStorage()
173 ArrayBuffer<T,Alignment,Stride> newBuffer(numElements); in setStorage()
177 template <typename T, size_t Alignment, size_t Stride>
178 void ArrayBuffer<T,Alignment,Stride>::swap (ArrayBuffer& other) throw() in swap()
189 template <typename T, size_t Alignment, size_t Stride>
190 size_t ArrayBuffer<T,Alignment,Stride>::size (void) const throw() in size()
195 template <typename T, size_t Alignment, size_t Stride>
196 bool ArrayBuffer<T,Alignment,Stride>::empty (void) const throw() in empty()
201 template <typename T, size_t Alignment, size_t Stride>
202 T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) throw() in getElementPtr()
207 template <typename T, size_t Alignment, size_t Stride>
208 const T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) const throw() in getElementPtr()
213 template <typename T, size_t Alignment, size_t Stride>
214 void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) throw() in getPtr()
219 template <typename T, size_t Alignment, size_t Stride>
220 const void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) const throw() in getPtr()