Lines Matching refs:m_buffer
57 if (!m_buffer.isEmpty()) {
58 if (m_buffer.size() + length > bufferSize) {
62 m_buffer.append(data, length);
70 if (m_buffer.size() + length - bytesWritten > bufferSize) {
75 m_buffer.append(data + bytesWritten, length - bytesWritten);
97 if (m_buffer.isEmpty())
99 int bytesWritten = platformSend(m_buffer.data(), m_buffer.size());
103 ASSERT(m_buffer.size() - bytesWritten <= bufferSize);
104 remainingData.append(m_buffer.data() + bytesWritten, m_buffer.size() - bytesWritten);
105 m_buffer.swap(remainingData);