Searched refs:allocLen (Results 1 – 2 of 2) sorted by relevance
59 int allocLen = m_bufsize < len ? len : m_bufsize; in alloc() local60 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()
80 size_t allocLen = this->idealAllocSize(len); in alloc() local81 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()