Lines Matching refs:m_capacity
58 s16 m_capacity; member
108 return pMbuf_->m_capacity - (pMbuf_->m_top + pMbuf_->m_len); in nnnetOslMbuf_trailingspace()
144 if (pMbuf_->m_top + pMbuf_->m_len + len > pMbuf_->m_capacity) in nnnetOslMbuf_expand()
156 NN_TASSERT_(pMbuf_->m_len == 0 && pMbuf_->m_top + len <= pMbuf_->m_capacity); in nnnetOslMbuf_reserve()
177 m_capacity = unitSize - HEADER_SIZE; in Initialize()
254 m_len = (len > m_capacity) ? m_capacity : len; in SetLengthTrimed()
260 NN_TASSERT_(m_len <= m_capacity); in GetLength()
266 NN_TASSERT_(len <= m_capacity); in SetLength()
293 NN_TASSERT_(top < m_capacity); in SetTop()
299 NN_TASSERT_(m_top < m_capacity); in GetWritableLength()
300 return m_capacity - m_top; in GetWritableLength()
315 return m_capacity - (m_top + m_len); in GetTrailingSpace()
320 NN_TASSERT_(m_top + offset < m_capacity);
326 NN_TASSERT_(m_top + offset < m_capacity);
337 return m_capacity; in GetCapacity()
342 return m_capacity + HEADER_SIZE; in GetUnitSize()