Lines Matching refs:nPgs
94 sal_Int32 StgFAT::FindBlock( sal_Int32& nPgs ) in FindBlock() argument
122 if( nTmpLen == nPgs in FindBlock()
129 if( nTmpLen > nPgs && nTmpLen < nMaxLen ) in FindBlock()
137 if( nTmpLen == nPgs ) in FindBlock()
147 if( nTmpLen > nPgs && nTmpLen < nMaxLen ) in FindBlock()
157 sal_Int32 nMinDiff = nPgs - nMinLen; in FindBlock()
158 sal_Int32 nMaxDiff = nMaxLen - nPgs; in FindBlock()
164 nPgs = nMinLen; return nMinStart; in FindBlock()
174 sal_Bool StgFAT::MakeChain( sal_Int32 nStart, sal_Int32 nPgs ) in MakeChain() argument
178 if( !pPg || !nPgs ) in MakeChain()
180 while( --nPgs ) in MakeChain()
205 sal_Int32 StgFAT::AllocPages( sal_Int32 nBgn, sal_Int32 nPgs ) in AllocPages() argument
217 while( nPgs ) in AllocPages()
219 nAlloc = nPgs; in AllocPages()
239 nPgs -= nAlloc; in AllocPages()
241 if( nPgs && !nPasses ) in AllocPages()
244 if( !rStrm.SetSize( ( nPages + nPgs ) << 2 ) ) in AllocPages()
255 if( nBegin == STG_EOF || nPgs ) in AllocPages()
415 sal_Int32 nPgs = ( nBytes + nPageSize - 1 ) / nPageSize; in Copy() local
416 while( nPgs-- ) in Copy()