Lines Matching refs:nBgn
205 sal_Int32 StgFAT::AllocPages( sal_Int32 nBgn, sal_Int32 nPgs ) in AllocPages() argument
207 sal_Int32 nOrig = nBgn; in AllocPages()
208 sal_Int32 nLast = nBgn; in AllocPages()
347 sal_Int32 nRel, nBgn; in Pos2Page() local
365 nBgn = nPage; in Pos2Page()
372 nBgn = nStart; in Pos2Page()
377 while( nRel && nBgn >= 0 ) in Pos2Page()
379 nLast = nBgn; in Pos2Page()
380 nBgn = pFat->GetNextPage( nBgn ); in Pos2Page()
385 if( nBytePos == nSize && nBgn == STG_EOF && !nRel && !nOffset ) in Pos2Page()
386 nBgn = nLast, nOffset = nPageSize; in Pos2Page()
387 if( nBgn < 0 && nBgn != STG_EOF ) in Pos2Page()
390 nBgn = STG_EOF; in Pos2Page()
393 nPage = nBgn; in Pos2Page()
450 sal_Int32 nBgn = pFat->AllocPages( nPage, ( nNew - nOld ) / nPageSize ); in SetSize() local
451 if( nBgn == STG_EOF ) in SetSize()
454 nStart = nPage = nBgn; in SetSize()
744 StgDataStrm::StgDataStrm( StgIo& r, sal_Int32 nBgn, sal_Int32 nLen ) : StgStrm( r ) in StgDataStrm() argument
746 Init( nBgn, nLen ); in StgDataStrm()
756 void StgDataStrm::Init( sal_Int32 nBgn, sal_Int32 nLen ) in Init() argument
763 nStart = nPage = nBgn; in Init()
779 while(nBgn >= 0) in Init()
781 if(nUsedPageNumbers.find(nBgn) == nUsedPageNumbers.end()) in Init()
783 nUsedPageNumbers.insert(nBgn); in Init()
785 nBgn = pFat->GetNextPage(nBgn); in Init()
790 nBgn = -1; in Init()
976 StgSmallStrm::StgSmallStrm( StgIo& r, sal_Int32 nBgn, sal_Int32 nLen ) : StgStrm( r ) in StgSmallStrm() argument
978 Init( nBgn, nLen ); in StgSmallStrm()
988 void StgSmallStrm::Init( sal_Int32 nBgn, sal_Int32 nLen ) in Init() argument
997 nPage = nBgn; in Init()