Lines Matching refs:bufSize
23 RingBuffer::RingBuffer(const std::size_t bufSize, const enum MemAlignShift shift) in RingBuffer() argument
24 : bufSize_ {bufSize}, in RingBuffer()
253 char* RingBuffer::Allocate(std::size_t bufSize) in Allocate() argument
258 bufSize = (bufSize >> B_ALIGN_SHIFT); in Allocate()
259 newBuffer = new(std::nothrow) char[bufSize]; in Allocate()
263 bufSize = (bufSize >> H_ALIGN_SHIFT); in Allocate()
264 uint16_t *temp = new(std::nothrow) uint16_t[bufSize]; in Allocate()
269 bufSize = (bufSize >> W_ALIGN_SHIFT); in Allocate()
270 uint32_t *temp = new(std::nothrow) uint32_t[bufSize]; in Allocate()
275 bufSize = (bufSize >> D_ALIGN_SHIFT); in Allocate()
276 uint64_t *temp = new(std::nothrow) uint64_t[bufSize]; in Allocate()