Home
last modified time | relevance | path

Searched refs:allocLen (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/include/render-utils/
DIOStream.h59 int allocLen = m_bufsize < len ? len : m_bufsize; in alloc() local
60 m_buf = (unsigned char *)allocBuffer(allocLen); in alloc()
62 ERR("Alloc (%u bytes) failed\n", allocLen); in alloc()
65 m_bufsize = m_free = allocLen; in alloc()
/hardware/google/gfxstream/guest/iostream/include/gfxstream/guest/
DIOStream.h80 size_t allocLen = this->idealAllocSize(len); in alloc() local
81 m_iostreamBuf = (unsigned char *)allocBuffer(allocLen); in alloc()
83 ERR("Alloc (%zu bytes) failed\n", allocLen); in alloc()
86 m_bufsize = m_free = allocLen; in alloc()