Lines Matching refs:m_DataSize
13 , m_DataSize(0)
20 , m_DataSize(size)
33 if (!m_pBuffer || start_index < 0 || start_index + count > m_DataSize) {
36 FXSYS_memmove32(m_pBuffer + start_index, m_pBuffer + start_index + count, m_DataSize - start_index - count);
37 m_DataSize -= count;
41 m_DataSize = 0;
45 m_DataSize = 0;
54 m_DataSize = size;
69 ExpandBuf(size - m_DataSize);
73 FX_STRSIZE new_size = add_size + m_DataSize;
101 m_DataSize = 0;
105 ExpandBuf(size - m_DataSize);
111 m_DataSize = size;
117 FXSYS_memcpy32(m_pBuffer + m_DataSize, pBuf, size);
119 m_DataSize += size;
127 FXSYS_memmove32(m_pBuffer + pos + size, m_pBuffer + pos, m_DataSize - pos);
131 m_DataSize += size;
139 FXSYS_memset8(m_pBuffer + m_DataSize, byte, count);
140 m_DataSize += count;
144 return CFX_ByteStringC(m_pBuffer, m_DataSize);
148 str.Set(CFX_ByteStringC(m_pBuffer, m_DataSize), m_pAllocator);
178 AppendBlock(buf.m_pBuffer, buf.m_DataSize);
187 if (m_AllocSize < m_DataSize + (FX_STRSIZE)sizeof(FX_WCHAR)) {
191 *(FX_WCHAR*)(m_pBuffer + m_DataSize) = ch;
192 m_DataSize += sizeof(FX_WCHAR);
209 if (m_AllocSize < m_DataSize + (FX_STRSIZE)(len * sizeof(FX_WCHAR))) {
213 FX_LPWSTR str = (FX_WCHAR*)(m_pBuffer + m_DataSize);
217 m_DataSize += len * sizeof(FX_WCHAR);
224 if (m_AllocSize < m_DataSize + (FX_STRSIZE)(len * sizeof(FX_WCHAR))) {
228 FX_LPWSTR str = (FX_WCHAR*)(m_pBuffer + m_DataSize);
232 m_DataSize += len * sizeof(FX_WCHAR);
242 AppendBlock(buf.m_pBuffer, buf.m_DataSize);
251 return CFX_WideStringC((FX_LPCWSTR)m_pBuffer, m_DataSize / sizeof(FX_WCHAR));
255 wideText.Set(CFX_WideStringC((FX_LPCWSTR)m_pBuffer, m_DataSize / sizeof(FX_WCHAR)), m_pAllocator);