Lines Matching refs:m_offset
103 , m_offset(0)
116 size_t m_offset;
124 size_t bytesFromHeader = min(m_eotHeader.size() - m_offset, count);
125 memcpy(buffer, m_eotHeader.data() + m_offset, bytesFromHeader);
126 m_offset += bytesFromHeader;
128 if (m_offset == m_eotHeader.size()) {
130 m_offset = 0;
134 size_t bytesFromData = min(m_fontData->size() - m_offset, bytesToRead);
135 memcpy(buffer, m_fontData->data() + m_offset, bytesFromData);
136 if (m_offset < m_overlayDst + m_overlayLength && m_offset + bytesFromData >= m_overlayDst) {
137 size_t dstOffset = max<int>(m_overlayDst - m_offset, 0);
138 size_t srcOffset = max<int>(0, m_offset - m_overlayDst);
142 m_offset += bytesFromData;