Lines Matching refs:m_buffer
37 , m_buffer(buffer)
96 if (!m_buffer)
99 if (m_pos >= m_buffer->size())
102 if (m_pos + cb < m_buffer->size())
105 *pcbRead = (ULONG) (m_buffer->size() - m_pos);
107 memcpy(pv, m_buffer->data() + m_pos, *pcbRead);
129 if (!m_buffer)
142 if (dlibMove.LowPart > (m_buffer->size() - m_pos))
157 if (lowPartNeg > m_buffer->size())
159 proposedPos = m_buffer->size() - lowPartNeg;
165 if (proposedPos >= m_buffer->size())
188 if (!m_buffer)
196 ULONG read = min(cb.LowPart, (ULONG)(m_buffer->size()-m_pos));
197 HRESULT hr = pstm->Write(m_buffer->data()+m_pos, read, &written);
244 if (!m_buffer)
249 pstatstg->cbSize.LowPart = (DWORD) m_buffer->size();
256 MemoryStream::createInstance(m_buffer).copyRefTo(ppstm);