Searched refs:m_nCurPos (Results 1 – 3 of 3) sorted by relevance
28 return m_nCurPos >= static_cast<size_t>(GetSize()); in IsEOF()32 return static_cast<FX_FILESIZE>(m_nCurPos); in GetPosition()52 m_nCurPos = newPos.ValueOrDie(); in ReadBlockAtOffset()58 if (m_nCurPos >= m_nCurSize) in ReadBlock()61 size_t nRead = std::min(size, m_nCurSize - m_nCurPos); in ReadBlock()62 if (!ReadBlockAtOffset(buffer, static_cast<int32_t>(m_nCurPos), nRead)) in ReadBlock()96 m_nCurPos = new_pos; in WriteBlockAtOffset()99 m_nCurSize = std::max(m_nCurSize, m_nCurPos); in WriteBlockAtOffset()
45 size_t m_nCurPos = 0; variable
79 void SetPosition(FX_FILESIZE pos) { m_nCurPos = pos; } in SetPosition()86 FX_FILESIZE m_nCurPos; member in __anone34ff1df0111::FPDF_FileHandlerContext91 m_nCurPos = 0; in FPDF_FileHandlerContext()106 return m_nCurPos >= GetSize(); in IsEOF()110 return m_nCurPos; in GetPosition()121 m_nCurPos = offset + size; in ReadBlockAtOffset()132 if (m_nCurPos >= nSize) in ReadBlock()134 FX_FILESIZE dwAvail = nSize - m_nCurPos; in ReadBlock()137 if (m_pFS->ReadBlock(m_pFS->clientData, (FPDF_DWORD)m_nCurPos, buffer, in ReadBlock()139 m_nCurPos += size; in ReadBlock()[all …]