Searched refs:m_nCurPos (Results 1 – 3 of 3) sorted by relevance
102 m_nCurPos(0), in CFX_MemoryStream()111 m_nCurPos(0), in CFX_MemoryStream()139 FX_BOOL IsEOF() override { return m_nCurPos >= (size_t)GetSize(); } in IsEOF()140 FX_FILESIZE GetPosition() override { return (FX_FILESIZE)m_nCurPos; } in GetPosition()153 m_nCurPos = newPos.ValueOrDie(); in ReadBlock()174 if (m_nCurPos >= m_nCurSize) { in ReadBlock()177 size_t nRead = std::min(size, m_nCurSize - m_nCurPos); in ReadBlock()178 if (!ReadBlock(buffer, (int32_t)m_nCurPos, nRead)) { in ReadBlock()195 m_nCurPos = newPos.ValueOrDie(); in WriteBlock()196 if (m_nCurPos > m_nTotalSize) { in WriteBlock()[all …]
84 virtual FX_FILESIZE GetPosition() { return m_nCurPos; } in GetPosition()85 virtual void SetPosition(FX_FILESIZE pos) { m_nCurPos = pos; } in SetPosition()95 FX_FILESIZE m_nCurPos; variable
71 m_nCurPos = 0; in CFPDF_FileStream()91 return m_nCurPos >= GetSize(); in IsEOF()102 m_nCurPos = offset + size; in ReadBlock()113 if (m_nCurPos >= nSize) in ReadBlock()115 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock()118 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)m_nCurPos, buffer, in ReadBlock()120 m_nCurPos += size; in ReadBlock()135 m_nCurPos = offset + size; in WriteBlock()