Lines Matching refs:nOffset
54 nOffset = 0; in StgFAT()
68 nOffset = rStrm.GetOffset(); in GetPhysPage()
83 nPg = pPg ? pPg->GetPage( nOffset >> 2 ) : STG_EOF; in GetNextPage()
182 if( nOffset >= nPageSize ) in MakeChain()
188 pPg->SetPage( nOffset >> 2, ++nStart ); in MakeChain()
189 nOffset += 4; in MakeChain()
192 if( nOffset >= nPageSize ) in MakeChain()
198 pPg->SetPage( nOffset >> 2, STG_EOF ); in MakeChain()
236 pPg->SetPage( nOffset >> 2, nBegin ); in AllocPages()
299 nStart = pPg->GetPage( nOffset >> 2 ); in FreePages()
301 pPg->SetPage( nOffset >> 2, bAll ? STG_FREE : STG_EOF ); in FreePages()
317 nOffset = 0; in StgStrm()
352 nPos -= nOffset; in Pos2Page()
356 nOffset = (short) ( nBytePos & ~nMask ); in Pos2Page()
385 if( nBytePos == nSize && nBgn == STG_EOF && !nRel && !nOffset ) in Pos2Page()
386 nBgn = nLast, nOffset = nPageSize; in Pos2Page()
391 nOffset = nPageSize; in Pos2Page()
502 nOffset = (short) ( nBytePos % nPageSize ); in Pos2Page()
567 pPg->SetPage( nOffset >> 2, STG_MASTER ); in GetPage()
638 pPg->SetPage( nOffset >> 2, STG_FAT ); in SetPage()
718 piPg->SetPage( nOffset >> 2, STG_MASTER ); in SetSize()
766 nOffset = 0; in Init()
840 return ((sal_uInt8 *)pPg->GetData()) + nOffset; in GetPtr()
860 short nBytes = nPageSize - nOffset; in Read()
889 memcpy( p, (sal_uInt8*)pPg->GetData() + nOffset, nBytes ); in Read()
895 nOffset = nOffset + nRes; in Read()
900 if( nOffset >= nPageSize && !Pos2Page( nPos ) ) in Read()
921 short nBytes = nPageSize - nOffset; in Write()
951 memcpy( (sal_uInt8*)pPg->GetData() + nOffset, p, nBytes ); in Write()
958 nOffset = nOffset + nRes; in Write()
963 if( nOffset >= nPageSize && !Pos2Page( nPos ) ) in Write()
1014 short nBytes = nPageSize - nOffset; in Read()
1019 if( !pData || !pData->Pos2Page( nPage * nPageSize + nOffset ) ) in Read()
1026 nOffset = nOffset + nRes; in Read()
1032 if( nOffset >= nPageSize && !Pos2Page( nPos ) ) in Read()
1052 short nBytes = nPageSize - nOffset; in Write()
1058 sal_Int32 nDataPos = nPage * nPageSize + nOffset; in Write()
1069 nOffset = nOffset + nRes; in Write()
1075 if( nOffset >= nPageSize && !Pos2Page( nPos ) ) in Write()