Lines Matching refs:m_buffer
58 m_buffer = CStringBuffer::create(length + 1);
59 memcpy(m_buffer->mutableData(), str, length);
60 m_buffer->mutableData()[length] = '\0';
66 if (!m_buffer)
68 return m_buffer->mutableData();
77 result.m_buffer = CStringBuffer::create(length + 1);
78 char* bytes = result.m_buffer->mutableData();
86 if (!m_buffer || m_buffer->hasOneRef())
89 RefPtr<CStringBuffer> buffer = m_buffer.release();
91 m_buffer = CStringBuffer::create(length);
92 memcpy(m_buffer->mutableData(), buffer->data(), length);