Lines Matching refs:m_buffer
43 if (m_buffer.size() < MESSAGE_HEADER_SIZE) in isComplete()
46 return m_buffer.size() == getMessageSize(); in isComplete()
51 return m_buffer.size() > MESSAGE_HEADER_SIZE ? &m_buffer[MESSAGE_HEADER_SIZE] : DE_NULL; in getMessageData()
57 return m_buffer.size() - MESSAGE_HEADER_SIZE; in getMessageDataSize()
63 if (m_buffer.size() < MESSAGE_HEADER_SIZE) in read()
65 while (m_buffer.size() < MESSAGE_HEADER_SIZE && in read()
67 m_buffer.push_back(src.popBack()); in read()
69 DE_ASSERT(m_buffer.size() <= MESSAGE_HEADER_SIZE); in read()
71 if (m_buffer.size() == MESSAGE_HEADER_SIZE) in read()
74 Message::parseHeader(&m_buffer[0], (int)m_buffer.size(), m_messageType, m_messageSize); in read()
78 if (m_buffer.size() >= MESSAGE_HEADER_SIZE) in read()
82 size_t numBytesLeft = msgSize - m_buffer.size(); in read()
87 int curBufPos = (int)m_buffer.size(); in read()
88 m_buffer.resize(curBufPos+numToRead); in read()
89 src.popBack(&m_buffer[curBufPos], (int)numToRead); in read()
96 m_buffer.clear(); in clear()