Searched refs:m_DataSize (Results 1 – 4 of 4) sorted by relevance
13 : m_AllocStep(0), m_AllocSize(0), m_DataSize(0) {} in CFX_BinaryBuf()18 if (!m_pBuffer || count > m_DataSize || start_index > m_DataSize - count) in Delete()22 m_DataSize - start_index - count); in Delete()23 m_DataSize -= count; in Delete()27 return m_DataSize; in GetLength()31 m_DataSize = 0; in Clear()35 m_DataSize = 0; in DetachBuffer()43 ExpandBuf(size - m_DataSize); in EstimateSize()47 FX_SAFE_SIZE_T new_size = m_DataSize; in ExpandBuf()69 memcpy(m_pBuffer.get() + m_DataSize, pBuf, size); in AppendBlock()[all …]
10 return m_DataSize / sizeof(wchar_t); in GetLength()15 *(wchar_t*)(m_pBuffer.get() + m_DataSize) = ch; in AppendChar()16 m_DataSize += sizeof(wchar_t); in AppendChar()34 wchar_t* str = (wchar_t*)(m_pBuffer.get() + m_DataSize); in operator <<()38 m_DataSize += len * sizeof(wchar_t); in operator <<()46 wchar_t* str = (wchar_t*)(m_pBuffer.get() + m_DataSize); in operator <<()50 m_DataSize += len * sizeof(wchar_t); in operator <<()60 AppendBlock(buf.m_pBuffer.get(), buf.m_DataSize); in operator <<()
22 size_t GetSize() const { return m_DataSize; } in GetSize()35 m_pBuffer.get()[m_DataSize++] = byte; in AppendByte()48 size_t m_DataSize; variable
24 m_DataSize / sizeof(wchar_t)); in AsStringView()28 m_DataSize / sizeof(wchar_t)); in MakeString()