Searched refs:minSize (Results 1 – 14 of 14) sorted by relevance
184 void *VirtioGpuStream::allocBuffer(size_t minSize) in allocBuffer() argument193 if (m_allocSize + minSize > cmd->cmdSize) { in allocBuffer()197 if (m_cmdPos + cmd->cmdSize + minSize > m_bufSize) { in allocBuffer()215 m_allocSize += minSize; in allocBuffer()218 minSize += m_flushPos; in allocBuffer()220 size_t allocSize = (m_bufSize < minSize ? minSize : m_bufSize); in allocBuffer()
76 void *QemuPipeStream::allocBuffer(size_t minSize) in allocBuffer() argument79 minSize += kReadSize; in allocBuffer()81 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
126 void *QemuPipeStream::allocBuffer(size_t minSize) in allocBuffer() argument129 minSize += kReadSize; in allocBuffer()133 if (minSize <= m_bufsize) { in allocBuffer()146 size_t allocSize = m_bufsize < minSize ? minSize : m_bufsize; in allocBuffer()
166 void *VirtioGpuPipeStream::allocBuffer(size_t minSize) { in allocBuffer() argument167 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
42 virtual void *allocBuffer(size_t minSize);
38 virtual void *allocBuffer(size_t minSize);
54 virtual void *allocBuffer(size_t minSize);
39 virtual void *allocBuffer(size_t minSize);
180 void *AddressSpaceStream::allocBuffer(size_t minSize) { in allocBuffer() argument186 (m_writeStep < minSize ? minSize : m_writeStep); in allocBuffer()
64 void *SocketStream::allocBuffer(size_t minSize) in allocBuffer() argument66 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize); in allocBuffer()
33 virtual void *allocBuffer(size_t minSize);
264 Impl(size_t minSize, in Impl() argument270 mMinAllocSize(std::max(sizeof(void*), minSize)), in Impl()381 Pool::Pool(size_t minSize, in Pool() argument384 mImpl(new Pool::Impl(minSize, in Pool()
39 Pool(size_t minSize = 8,
37 virtual void *allocBuffer(size_t minSize) = 0;