Lines Matching refs:nOff
520 sal_Int32 StgFATStrm::GetPage( short nOff, sal_Bool bMake, sal_uInt16 *pnMasterAlloc ) in GetPage() argument
522 OSL_ENSURE( nOff >= 0, "The offset may not be negative!" ); in GetPage()
524 if( nOff < rIo.aHdr.GetFAT1Size() ) in GetPage()
525 return rIo.aHdr.GetFATPage( nOff ); in GetPage()
527 nOff = nOff - rIo.aHdr.GetFAT1Size(); in GetPage()
530 sal_uInt16 nBlocks = nOff / nMasterCount; in GetPage()
532 nOff = nOff % nMasterCount; in GetPage()
587 return pMaster->GetPage( nOff ); in GetPage()
595 sal_Bool StgFATStrm::SetPage( short nOff, sal_Int32 nNewPage ) in SetPage() argument
597 OSL_ENSURE( nOff >= 0, "The offset may not be negative!" ); in SetPage()
599 if( nOff < rIo.aHdr.GetFAT1Size() ) in SetPage()
600 rIo.aHdr.SetFATPage( nOff, nNewPage ); in SetPage()
603 nOff = nOff - rIo.aHdr.GetFAT1Size(); in SetPage()
606 sal_uInt16 nBlocks = nOff / nMasterCount; in SetPage()
608 nOff = nOff % nMasterCount; in SetPage()
624 pMaster->SetPage( nOff, nNewPage ); in SetPage()