Lines Matching refs:nNewSize
234 sal_uInt16 nNewSize; in Split() local
241 nNewSize = nReSize; in Split()
245 nNewSize = (nCount+1) / 2; in Split()
247 if ( nNewSize < nReSize ) in Split()
248 nNewSize = nReSize; in Split()
252 if ( nNewSize % nReSize ) in Split()
253 nNewSize += nReSize - (nNewSize % nReSize); in Split()
255 nNewSize = nNewSize + nReSize; // MSVC warns here if += is used in Split()
263 pNewBlock = new CBlock( nNewSize, this, pNext ); in Split()
294 if ( nSize != nNewSize ) in Split()
296 void** pNewNodes = new PVOID[nNewSize]; in Split()
300 nSize = nNewSize; in Split()
307 pNewBlock = new CBlock( nNewSize, pPrev, this ); in Split()
339 if ( nSize != nNewSize ) in Split()
341 void** pNewNodes = new PVOID[nNewSize]; in Split()
345 nSize = nNewSize; in Split()
464 void CBlock::SetSize( sal_uInt16 nNewSize ) in SetSize() argument
467 DBG_ASSERT( nNewSize, "CBlock::SetSize(): nNewSize == 0" ); in SetSize()
470 if ( nNewSize != nCount ) in SetSize()
473 void** pNewNodes = new PVOID[nNewSize]; in SetSize()
476 if ( nNewSize < nCount ) in SetSize()
477 memcpy( pNewNodes, pNodes, nNewSize*sizeof(PVOID) ); in SetSize()
483 memset( pNewNodes+nCount, 0, (nNewSize-nCount)*sizeof(PVOID) ); in SetSize()
487 nSize = nNewSize; in SetSize()
1081 void Container::SetSize( sal_uIntPtr nNewSize ) in SetSize() argument
1085 if ( nNewSize ) in SetSize()
1088 if ( nNewSize != nCount ) in SetSize()
1094 if ( nNewSize < nCount ) in SetSize()
1098 while ( (nTemp+pTemp->Count()) < nNewSize ) in SetSize()
1119 if ( nNewSize > nTemp ) in SetSize()
1123 pTemp->SetSize( (sal_uInt16)(nNewSize-nTemp) ); in SetSize()
1132 nCount = nNewSize; in SetSize()
1143 nTemp = nNewSize - nCount; in SetSize()
1148 if ( nNewSize <= nBlockSize ) in SetSize()
1150 pFirstBlock = new CBlock( (sal_uInt16)nNewSize, NULL ); in SetSize()
1160 nNewSize -= nBlockSize; in SetSize()
1163 while ( nNewSize > nBlockSize ) in SetSize()
1168 nNewSize -= nBlockSize; in SetSize()
1171 pLastBlock = new CBlock( (sal_uInt16)nNewSize, pBlock1 ); in SetSize()
1207 nCount = nNewSize; in SetSize()