Lines Matching refs:nNeededSize
531 sal_uLong nNeededSize; in GetNeededSize() local
541 nNeededSize = ULONG_MAX; in GetNeededSize()
545 nNeededSize = aOutSizePix.Width() * aOutSizePix.Height() * nBitCount / 8; in GetNeededSize()
548 nNeededSize += nNeededSize / nBitCount; in GetNeededSize()
553 nNeededSize = 256000; in GetNeededSize()
557 nNeededSize = rGraphic.GetSizeBytes(); in GetNeededSize()
559 nNeededSize = 0; in GetNeededSize()
561 return nNeededSize; in GetNeededSize()
924 …const sal_uLong nNeededSize = GraphicDisplayCacheEntry::GetNeededSize( pOut, rPt, rSz, rObj, rAttr… in CreateDisplayCacheObj() local
927 if( nNeededSize <= GetMaxObjDisplayCacheSize() ) in CreateDisplayCacheObj()
929 if( nNeededSize > GetFreeDisplayCacheSize() ) in CreateDisplayCacheObj()
930 ImplFreeDisplayCacheSpace( nNeededSize - GetFreeDisplayCacheSize() ); in CreateDisplayCacheObj()
958 …const sal_uLong nNeededSize = GraphicDisplayCacheEntry::GetNeededSize( pOut, rPt, rSz, rObj, rAttr… in CreateDisplayCacheObj() local
961 if( nNeededSize <= GetMaxObjDisplayCacheSize() ) in CreateDisplayCacheObj()
963 if( nNeededSize > GetFreeDisplayCacheSize() ) in CreateDisplayCacheObj()
964 ImplFreeDisplayCacheSpace( nNeededSize - GetFreeDisplayCacheSize() ); in CreateDisplayCacheObj()