Lines Matching refs:numElements
54 ArrayBuffer (size_t numElements);
55 ArrayBuffer (const T* ptr, size_t numElements);
61 …void setStorage (size_t numElements); // !< \note after a succesful call buffer contents are un…
84 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (size_t numElements) in ArrayBuffer() argument
88 if (numElements) in ArrayBuffer()
91 const size_t storageSize = (numElements - 1) * Stride + sizeof(T); in ArrayBuffer()
98 m_cap = numElements; in ArrayBuffer()
103 ArrayBuffer<T,Alignment,Stride>::ArrayBuffer (const T* ptr, size_t numElements) in ArrayBuffer() argument
107 if (numElements) in ArrayBuffer()
110 ArrayBuffer<T,Alignment,Stride> tmp(numElements); in ArrayBuffer()
115 const size_t storageSize = sizeof(T) * numElements; in ArrayBuffer()
121 for (size_t ndx = 0; ndx < numElements; ++ndx) in ArrayBuffer()
170 void ArrayBuffer<T,Alignment,Stride>::setStorage (size_t numElements) in setStorage() argument
173 ArrayBuffer<T,Alignment,Stride> newBuffer(numElements); in setStorage()