Lines Matching refs:m_pos
38 , m_pos(0)
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);
108 m_pos += *pcbRead;
132 size_t proposedPos = m_pos;
142 if (dlibMove.LowPart > (m_buffer->size() - m_pos))
147 if (lowPartNeg > m_pos)
149 proposedPos = m_pos - lowPartNeg;
170 plibNewPosition->LowPart = (DWORD) m_pos;
196 ULONG read = min(cb.LowPart, (ULONG)(m_buffer->size()-m_pos));
197 HRESULT hr = pstm->Write(m_buffer->data()+m_pos, read, &written);