Lines Matching refs:nSize
319 nPos = nSize = 0; in StgStrm()
333 r.aEntry.SetSize( nSize ); in SetEntry()
349 if( nBytePos < 0 || nBytePos >= nSize ) in Pos2Page()
350 nBytePos = nSize; in Pos2Page()
385 if( nBytePos == nSize && nBgn == STG_EOF && !nRel && !nOffset ) in Pos2Page()
444 sal_Int32 nOld = ( ( nSize + nPageSize - 1 ) / nPageSize ) * nPageSize; in SetSize()
448 if( !Pos2Page( nSize ) ) in SetSize()
467 if( !nSize || !nBytes ) in SetSize()
472 nSize = nBytes; in SetSize()
481 return ( nSize + nPageSize - 1 ) / nPageSize; in GetPages()
493 nSize = rIo.aHdr.GetFATSize() * nPageSize; in StgFATStrm()
499 if( nBytePos < 0 || nBytePos >= nSize ) in Pos2Page()
500 nBytePos = nSize ? nSize - 1 : 0; in Pos2Page()
526 sal_Int32 nMaxPage = nSize >> 2; in GetPage()
651 short nOld = (short) ( ( nSize + ( nPageSize - 1 ) ) / nPageSize ); in SetSize()
683 nNewPage = nSize >> 2; in SetSize()
701 nSize = ( nOld + 1 ) * nPageSize; in SetSize()
732 nSize = nNew * nPageSize; in SetSize()
764 nSize = nLen; in Init()
771 nSize = 0; in Init()
784 nSize += nPageSize; in Init()
804 sal_Int32 nOldSz = nSize; in SetSize()
816 if( ( nSize - 1 ) / nPageSize - ( nOldSz - 1 ) / nPageSize == 1 ) in SetSize()
855 if( ( nPos + n ) > nSize ) in Read()
856 n = nSize - nPos; in Read()
912 if( ( nPos + n ) > nSize ) in Write()
998 nSize = nLen; in Init()
1009 if( ( nPos + n ) > nSize ) in Read()
1010 n = nSize - nPos; in Read()
1043 if( ( nPos + n ) > nSize ) in Write()