Home
last modified time | relevance | path

Searched refs:m_nCurSize (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_memorystream.cpp14 CFX_MemoryStream::CFX_MemoryStream() : m_nTotalSize(0), m_nCurSize(0) {} in CFX_MemoryStream()
19 : m_data(std::move(pBuffer)), m_nTotalSize(nSize), m_nCurSize(nSize) {} in CFX_MemoryStream()
24 return static_cast<FX_FILESIZE>(m_nCurSize); in GetSize()
48 newPos.ValueOrDie() > m_nCurSize) { in ReadBlockAtOffset()
58 if (m_nCurPos >= m_nCurSize) in ReadBlock()
61 size_t nRead = std::min(size, m_nCurSize - m_nCurPos); in ReadBlock()
99 m_nCurSize = std::max(m_nCurSize, m_nCurPos); in WriteBlockAtOffset()
Dcfx_memorystream.h44 size_t m_nCurSize; variable