Lines Matching refs:nPosition
93 bool addMark(sal_uInt32 nPosition);
95 bool removeMark(sal_uInt32 nPosition);
99 SeekResult setReadPosition(sal_uInt32 nPosition);
911 sal_uInt32 nPosition = m_pWritePage->m_nOffset in write() local
915 nBlock = *m_aMarks.begin() > nPosition ? in write()
917 - nPosition)) : in write()
927 nPosition += nBlock; in write()
928 m_pWritePage->m_nOffset = (nPosition / m_nPageSize) * m_nPageSize; in write()
930 + nPosition % m_nPageSize; in write()
980 bool SvDataPipe_Impl::addMark(sal_uInt32 nPosition) in addMark() argument
982 if (m_pFirstPage != 0 && m_pFirstPage->m_nOffset > nPosition) in addMark()
984 m_aMarks.insert(nPosition); in addMark()
989 bool SvDataPipe_Impl::removeMark(sal_uInt32 nPosition) in removeMark() argument
991 std::multiset< sal_uInt32 >::iterator t = m_aMarks.find(nPosition); in removeMark()
1001 nPosition) in setReadPosition() argument
1004 return nPosition == 0 ? SEEK_OK : SEEK_PAST_END; in setReadPosition()
1006 if (nPosition in setReadPosition()
1010 if (nPosition in setReadPosition()
1015 while (nPosition < m_pReadPage->m_nOffset) in setReadPosition()
1023 if (nPosition in setReadPosition()
1029 && nPosition >= m_pReadPage->m_nOffset + m_nPageSize) in setReadPosition()
1038 + (nPosition - m_pReadPage->m_nOffset); in setReadPosition()