Lines Matching refs: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()
83 template <typename T, size_t Alignment, size_t Stride>
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements)
92 void* const ptr = detail::ArrayBuffer_AlignedMalloc(storageSize, Alignment);
102 template <typename T, size_t Alignment, size_t Stride>
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements)
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements);
129 template <typename T, size_t Alignment, size_t Stride>
130 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const ArrayBuffer<T,Alignment,Stride>& other)
146 template <typename T, size_t Alignment, size_t Stride>
147 ArrayBuffer<T,Alignment,Stride>::~ArrayBuffer (void) throw()
152 template <typename T, size_t Alignment, size_t Stride>
153 ArrayBuffer<T,Alignment,Stride>& ArrayBuffer<T,Alignment,Stride>::operator= (const ArrayBuffer& other)
160 template <typename T, size_t Alignment, size_t Stride>
161 void ArrayBuffer<T,Alignment,Stride>::clear (void) throw()
169 template <typename T, size_t Alignment, size_t Stride>
170 void ArrayBuffer<T,Alignment,Stride>::setStorage (size_t numElements)
173 ArrayBuffer<T,Alignment,Stride> newBuffer(numElements);
177 template <typename T, size_t Alignment, size_t Stride>
178 void ArrayBuffer<T,Alignment,Stride>::swap (ArrayBuffer& other) throw()
189 template <typename T, size_t Alignment, size_t Stride>
190 size_t ArrayBuffer<T,Alignment,Stride>::size (void) const throw()
195 template <typename T, size_t Alignment, size_t Stride>
196 bool ArrayBuffer<T,Alignment,Stride>::empty (void) const throw()
201 template <typename T, size_t Alignment, size_t Stride>
202 T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) throw()
207 template <typename T, size_t Alignment, size_t Stride>
208 const T* ArrayBuffer<T,Alignment,Stride>::getElementPtr (size_t elementNdx) const throw()
213 template <typename T, size_t Alignment, size_t Stride>
214 void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) throw()
219 template <typename T, size_t Alignment, size_t Stride>
220 const void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) const throw()