Lines Matching refs:pPg
63 StgPage* pPg = NULL; in GetPhysPage() local
71 pPg = rStrm.GetIo().Get( nPhysPage, sal_True ); in GetPhysPage()
73 return pPg; in GetPhysPage()
82 StgPage* pPg = GetPhysPage( nPg << 2 ); in GetNextPage() local
83 nPg = pPg ? pPg->GetPage( nOffset >> 2 ) : STG_EOF; in GetNextPage()
101 StgPage* pPg = NULL; in FindBlock() local
109 pPg = GetPhysPage( i << 2 ); in FindBlock()
110 if( !pPg ) in FindBlock()
113 sal_Int32 nCur = pPg->GetPage( nEntry ); in FindBlock()
177 StgPage* pPg = GetPhysPage( nPos ); in MakeChain() local
178 if( !pPg || !nPgs ) in MakeChain()
184 pPg = GetPhysPage( nPos ); in MakeChain()
185 if( !pPg ) in MakeChain()
188 pPg->SetPage( nOffset >> 2, ++nStart ); in MakeChain()
194 pPg = GetPhysPage( nPos ); in MakeChain()
195 if( !pPg ) in MakeChain()
198 pPg->SetPage( nOffset >> 2, STG_EOF ); in MakeChain()
233 StgPage* pPg = GetPhysPage( nLast << 2 ); in AllocPages() local
234 if( !pPg ) in AllocPages()
236 pPg->SetPage( nOffset >> 2, nBegin ); in AllocPages()
274 StgPage* pPg = NULL; in InitNew() local
279 pPg = rStrm.GetIo().Copy( rStrm.GetPage(), STG_FREE ); in InitNew()
280 if ( !pPg ) in InitNew()
283 pPg->SetPage( i, STG_FREE ); in InitNew()
296 StgPage* pPg = GetPhysPage( nStart << 2 ); in FreePages() local
297 if( !pPg ) in FreePages()
299 nStart = pPg->GetPage( nOffset >> 2 ); in FreePages()
301 pPg->SetPage( nOffset >> 2, bAll ? STG_FREE : STG_EOF ); in FreePages()
564 StgPage* pPg = rIo.Get( nPage, sal_True ); in GetPage() local
565 if( !pPg ) in GetPage()
567 pPg->SetPage( nOffset >> 2, STG_MASTER ); in GetPage()
636 StgPage* pPg = rIo.Get( nPage, sal_True ); in SetPage() local
637 if( pPg ) in SetPage()
638 pPg->SetPage( nOffset >> 2, STG_FAT ); in SetPage()
693 StgPage* pPg = rIo.Copy( nNewPage, STG_FREE ); in SetSize() local
694 if ( !pPg ) in SetSize()
697 pPg->SetPage( j, STG_FREE ); in SetSize()
834 StgPage* pPg = rIo.Get( nPage, bForce ); in GetPtr() local
835 if( pPg ) in GetPtr()
837 pPg->SetOwner( pEntry ); in GetPtr()
839 pPg->SetDirty(); in GetPtr()
840 return ((sal_uInt8 *)pPg->GetData()) + nOffset; in GetPtr()
862 StgPage* pPg; in Read() local
870 pPg = rIo.Find( nPage ); in Read()
871 if( pPg ) in Read()
874 pPg->SetOwner( pEntry ); in Read()
875 memcpy( p, pPg->GetData(), nBytes ); in Read()
885 pPg = rIo.Get( nPage, sal_False ); in Read()
886 if( !pPg ) in Read()
888 pPg->SetOwner( pEntry ); in Read()
889 memcpy( p, (sal_uInt8*)pPg->GetData() + nOffset, nBytes ); in Read()
923 StgPage* pPg; in Write() local
931 pPg = rIo.Find( nPage ); in Write()
932 if( pPg ) in Write()
935 pPg->SetOwner( pEntry ); in Write()
936 memcpy( pPg->GetData(), p, nBytes ); in Write()
937 pPg->SetDirty(); in Write()
947 pPg = rIo.Get( nPage, sal_False ); in Write()
948 if( !pPg ) in Write()
950 pPg->SetOwner( pEntry ); in Write()
951 memcpy( (sal_uInt8*)pPg->GetData() + nOffset, p, nBytes ); in Write()
952 pPg->SetDirty(); in Write()