Lines Matching defs:bufSize
23 RingBuffer::RingBuffer(const std::size_t bufSize, const enum MemAlignShift shift)
24 : bufSize_ {bufSize},
277 char* RingBuffer::Allocate(std::size_t bufSize)
282 bufSize = (bufSize >> B_ALIGN_SHIFT);
283 newBuffer = new(std::nothrow) char[bufSize];
287 bufSize = (bufSize >> H_ALIGN_SHIFT);
288 uint16_t *temp = new(std::nothrow) uint16_t[bufSize];
295 bufSize = (bufSize >> W_ALIGN_SHIFT);
296 uint32_t *temp = new(std::nothrow) uint32_t[bufSize];
303 bufSize = (bufSize >> D_ALIGN_SHIFT);
304 uint64_t *temp = new(std::nothrow) uint64_t[bufSize];