Lines Matching refs:nNewSize
170 void ImplPolygon::ImplSetSize( sal_uInt16 nNewSize, sal_Bool bResize ) in ImplSetSize() argument
172 if( mnPoints == nNewSize ) in ImplSetSize()
177 if ( nNewSize ) in ImplSetSize()
179 pNewAry = (Point*)new char[(sal_uIntPtr)nNewSize*sizeof(Point)]; in ImplSetSize()
184 if ( mnPoints < nNewSize ) in ImplSetSize()
187 memset( pNewAry+mnPoints, 0, (sal_uIntPtr)(nNewSize-mnPoints)*sizeof(Point) ); in ImplSetSize()
194 memcpy( pNewAry, mpPointAry, (sal_uIntPtr)nNewSize*sizeof(Point) ); in ImplSetSize()
209 if( nNewSize ) in ImplSetSize()
211 pNewFlagAry = new sal_uInt8[ nNewSize ]; in ImplSetSize()
216 if ( mnPoints < nNewSize ) in ImplSetSize()
219 memset( pNewFlagAry+mnPoints, 0, nNewSize-mnPoints ); in ImplSetSize()
223 memcpy( pNewFlagAry, mpFlagAry, nNewSize ); in ImplSetSize()
234 mnPoints = nNewSize; in ImplSetSize()
247 const sal_uInt16 nNewSize = mnPoints + nSpace; in ImplSplit() local
253 ImplSetSize( nNewSize, sal_True ); in ImplSplit()
269 Point* pNewAry = (Point*) new char[ (sal_uIntPtr) nNewSize * sizeof( Point ) ]; in ImplSplit()
284 sal_uInt8* pNewFlagAry = new sal_uInt8[ nNewSize ]; in ImplSplit()
299 mnPoints = nNewSize; in ImplSplit()
311 const sal_uInt16 nNewSize = mnPoints - nRemoveCount; in ImplRemove() local
315 Point* pNewAry = (Point*) new char[ (sal_uIntPtr) nNewSize * sizeof( Point ) ]; in ImplRemove()
325 sal_uInt8* pNewFlagAry = new sal_uInt8[ nNewSize ]; in ImplRemove()
334 mnPoints = nNewSize; in ImplRemove()
821 void Polygon::SetSize( sal_uInt16 nNewSize ) in SetSize() argument
825 if( nNewSize != mpImplPolygon->mnPoints ) in SetSize()
828 mpImplPolygon->ImplSetSize( nNewSize ); in SetSize()