Home
last modified time | relevance | path

Searched refs:m_DataSize (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_binarybuf.cpp19 if (!m_pBuffer || count > m_DataSize || start_index > m_DataSize - count) in Delete()
23 m_DataSize - start_index - count); in Delete()
24 m_DataSize -= count; in Delete()
36 return m_DataSize; in GetLength()
40 m_DataSize = 0; in Clear()
44 m_DataSize = 0; in DetachBuffer()
51 ExpandBuf(size - m_DataSize); in EstimateSize()
55 FX_SAFE_SIZE_T new_size = m_DataSize; in ExpandBuf()
81 memcpy(m_pBuffer.get() + m_DataSize, pBuf, size); in AppendBlock()
83 memset(m_pBuffer.get() + m_DataSize, 0, size); in AppendBlock()
[all …]
Dcfx_widetextbuf.cpp10 return m_DataSize / sizeof(wchar_t); in GetLength()
15 *reinterpret_cast<wchar_t*>(m_pBuffer.get() + m_DataSize) = ch; in AppendChar()
16 m_DataSize += sizeof(wchar_t); in AppendChar()
22 *reinterpret_cast<wchar_t*>(m_pBuffer.get() + m_DataSize) = ch; in operator <<()
23 m_DataSize += sizeof(wchar_t); in operator <<()
43 wchar_t* str = reinterpret_cast<wchar_t*>(m_pBuffer.get() + m_DataSize); in operator <<()
47 m_DataSize += len * sizeof(wchar_t); in operator <<()
55 wchar_t* str = reinterpret_cast<wchar_t*>(m_pBuffer.get() + m_DataSize); in operator <<()
59 m_DataSize += len * sizeof(wchar_t); in operator <<()
69 AppendBlock(buf.m_pBuffer.get(), buf.m_DataSize); in operator <<()
Dcfx_binarybuf.h25 size_t GetSize() const { return m_DataSize; } in GetSize()
40 m_pBuffer.get()[m_DataSize++] = byte; in AppendByte()
53 size_t m_DataSize = 0; variable
Dcfx_widetextbuf.h24 m_DataSize / sizeof(wchar_t)); in AsStringView()
28 m_DataSize / sizeof(wchar_t)); in MakeString()