Home
last modified time | relevance | path

Searched refs:nNewSize (Results 1 – 25 of 71) sorted by relevance

123

/trunk/main/sfx2/source/bastyp/
H A Dminarray.cxx106 void** pNewData = new void*[nNewSize]; in Append()
109 DBG_ASSERT( nUsed <= nNewSize, "" ); in Append()
151 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove()
156 DBG_ASSERT( nPos <= nNewSize, "" ); in Remove()
245 sal_uInt16 nNewSize = nUsed+nGrow; in Insert() local
250 DBG_ASSERT( nUsed < nNewSize, "" ); in Insert()
341 char* pNewData = new char[nNewSize]; in Append()
386 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove()
459 sal_uInt16 nNewSize = nUsed+nGrow; in Insert() local
618 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, in Remove()
[all …]
/trunk/main/tools/source/memtools/
H A Dcontnr.cxx234 sal_uInt16 nNewSize; in Split() local
241 nNewSize = nReSize; in Split()
248 nNewSize = nReSize; in Split()
253 nNewSize += nReSize - (nNewSize % nReSize); in Split()
255 nNewSize = nNewSize + nReSize; // MSVC warns here if += is used in Split()
300 nSize = nNewSize; in Split()
345 nSize = nNewSize; in Split()
487 nSize = nNewSize; in SetSize()
1085 if ( nNewSize ) in SetSize()
1132 nCount = nNewSize; in SetSize()
[all …]
/trunk/main/chart2/source/tools/
H A DInternalData.cxx283 sal_Int32 nNewSize( nNewColumnCount*nNewRowCount ); in enlargeData() local
291 tDataType aNewData( fNan, nNewSize ); in enlargeData()
298 m_aData.resize( nNewSize ); in enlargeData()
317 tDataType aNewData( fNan, nNewSize ); in insertColumn()
331 m_aData.resize( nNewSize ); in insertColumn()
366 tDataType aNewData( fNan, nNewSize ); in insertRow()
383 m_aData.resize( nNewSize ); in insertRow()
405 tDataType aNewData( fNan, nNewSize ); in deleteColumn()
419 m_aData.resize( nNewSize ); in deleteColumn()
441 tDataType aNewData( fNan, nNewSize ); in deleteRow()
[all …]
/trunk/main/sc/source/filter/excel/
H A Dtokstack.cxx42 TokenStack::TokenStack( sal_uInt16 nNewSize ) in TokenStack() argument
44 pStack = new TokenId[ nNewSize ]; in TokenStack()
47 nSize = nNewSize; in TokenStack()
332 sal_uInt16 nNewSize = lcl_canGrow( nP_Ext); in GrowExt() local
333 if (!nNewSize) in GrowExt()
345 nP_Ext = nNewSize; in GrowExt()
352 sal_uInt16 nNewSize = lcl_canGrow( nP_Nlf); in GrowNlf() local
353 if (!nNewSize) in GrowNlf()
365 nP_Nlf = nNewSize; in GrowNlf()
373 if (!nNewSize) in GrowMatrix()
[all …]
/trunk/main/sfx2/inc/sfx2/
H A Dminarray.hxx176 size_t nBytes = nNewSize * sizeof(T); \
184 nUnused = (sal_uInt8)(nNewSize-nUsed); \
219 sal_uInt16 nNewSize = ((nNewUsed+nGrow-1)/nGrow) * nGrow; \
220 DBG_ASSERT( nNewUsed <= nNewSize && nNewUsed+nGrow > nNewSize, \
222 size_t nBytes = nNewSize * sizeof(T); \
232 nUnused = (sal_uInt8)(nNewSize - nNewUsed); \
282 sal_uInt16 nNewSize; \
283 for ( nNewSize = nUsed+nGrow; nNewSize < (nUsed + nLen); ++nNewSize ) \
285 size_t nBytes = nNewSize * sizeof(T); \
291 DBG_ASSERT( nUsed < nNewSize, "" ); \
[all …]
/trunk/main/sc/source/ui/view/
H A Dcolrowba.cxx111 void ScColBar::SetEntrySize( SCCOLROW nPos, sal_uInt16 nNewSize ) in SetEntrySize() argument
115 if (nNewSize>0 && nNewSize<10) nNewSize=10; // (Pixel) in SetEntrySize()
117 if ( nNewSize == HDR_SIZE_OPTIMUM ) in SetEntrySize()
123 nSizeTwips = (sal_uInt16) ( nNewSize / pViewData->GetPPTX() ); in SetEntrySize()
278 void ScRowBar::SetEntrySize( SCCOLROW nPos, sal_uInt16 nNewSize ) in SetEntrySize() argument
282 if (nNewSize>0 && nNewSize<10) nNewSize=10; // (Pixel) in SetEntrySize()
284 if ( nNewSize == HDR_SIZE_OPTIMUM ) in SetEntrySize()
290 nSizeTwips = (sal_uInt16) ( nNewSize / pViewData->GetPPTY() ); in SetEntrySize()
/trunk/main/svx/source/dialog/
H A Dsimptabl.cxx203 sal_uInt16 i, nNewSize = static_cast< sal_uInt16 >( GetTab(0) ), nPos = 0; in SetTabs() local
206 nNewSize = static_cast< sal_uInt16 >( GetTab(i) ) - nPos; in SetTabs()
207 aHeaderBar.SetItemSize( i, nNewSize ); in SetTabs()
226 sal_uInt16 nNewSize = ( nPrivTabCount > 0 ) ? (sal_uInt16)GetTab(0) : 0; in Paint() local
241 nNewSize = static_cast< sal_uInt16 >( GetTab(i) ) - nPos; in Paint()
242 aHeaderBar.SetItemSize( i, nNewSize ); in Paint()
442 sal_uInt16 nNewSize=0; in HBarEndDrag() local
452 nNewSize = static_cast< sal_uInt16 >( aHeaderBar.GetItemSize(i) ) + nPos; in HBarEndDrag()
453 SetTab( i, nNewSize, MAP_PIXEL ); in HBarEndDrag()
454 nPos = nNewSize; in HBarEndDrag()
/trunk/main/tools/source/generic/
H A Dpoly.cxx172 if( mnPoints == nNewSize ) in ImplSetSize()
177 if ( nNewSize ) in ImplSetSize()
184 if ( mnPoints < nNewSize ) in ImplSetSize()
209 if( nNewSize ) in ImplSetSize()
211 pNewFlagAry = new sal_uInt8[ nNewSize ]; in ImplSetSize()
216 if ( mnPoints < nNewSize ) in ImplSetSize()
234 mnPoints = nNewSize; in ImplSetSize()
253 ImplSetSize( nNewSize, sal_True ); in ImplSplit()
299 mnPoints = nNewSize; in ImplSplit()
334 mnPoints = nNewSize; in ImplRemove()
[all …]
H A Dpoly2.cxx171 sal_uInt16 nNewSize = nOldSize + mpImplPolyPolygon->mnResize; in Insert() local
174 if ( nNewSize >= MAX_POLYGONS ) in Insert()
175 nNewSize = MAX_POLYGONS; in Insert()
176 pNewAry = new SVPPOLYGON[nNewSize]; in Insert()
182 mpImplPolyPolygon->mnSize = nNewSize; in Insert()
/trunk/main/sw/source/core/layout/
H A Dfly.cxx1484 nNewSize -= nUL; in Format()
1485 if( nNewSize < MINFLY ) in Format()
1486 nNewSize = MINFLY; in Format()
1491 if ( nNewSize != 0 ) in Format()
1510 nNewSize = Max( nNewSize - nLR, nAutoWidth ); in Format()
1512 nNewSize = nAutoWidth; in Format()
1520 nNewSize = nNewSize - nLR + 150; in Format()
1523 nNewSize -= nLR; in Format()
1527 if( nNewSize < MINFLY ) in Format()
1528 nNewSize = MINFLY; in Format()
[all …]
/trunk/main/vcl/inc/vcl/
H A Dscrbar.hxx131 void SetLineSize( long nNewSize ) { mnLineSize = nNewSize; } in SetLineSize() argument
133 void SetPageSize( long nNewSize ) { mnPageSize = nNewSize; } in SetPageSize() argument
135 void SetVisibleSize( long nNewSize );
H A Dslider.hxx113 void SetLineSize( long nNewSize ) { mnLineSize = nNewSize; } in SetLineSize() argument
115 void SetPageSize( long nNewSize ) { mnPageSize = nNewSize; } in SetPageSize() argument
/trunk/main/sot/source/sdstor/
H A Dstgdir.cxx308 sal_Bool StgDirEntry::SetSize( sal_Int32 nNewSize ) in SetSize() argument
318 if( nNewSize < nPos ) in SetSize()
319 nPos = nNewSize; in SetSize()
322 pTmpStrm->SetSize( nNewSize ); in SetSize()
338 if( nNewSize >= nThreshold && pStgStrm->IsSmallStrm() ) in SetSize()
344 else if( nNewSize < nThreshold && !pStgStrm->IsSmallStrm() ) in SetSize()
347 nOldSize = (sal_uInt16) nNewSize; in SetSize()
351 if( pStgStrm->SetSize( nNewSize ) ) in SetSize()
/trunk/main/tools/source/stream/
H A Dstream.cxx2881 pBuf = new sal_uInt8[nNewSize]; in AllocateMemory()
2900 sal_Size nNewSize = (sal_Size)nTemp; in ReAllocateMemory() local
2902 if( nNewSize ) in ReAllocateMemory()
2904 sal_uInt8* pNewBuf = new sal_uInt8[nNewSize]; in ReAllocateMemory()
2909 if( nNewSize < nSize ) // Verkleinern ? in ReAllocateMemory()
2912 if( nPos > nNewSize ) in ReAllocateMemory()
2914 if( nEndOfData >= nNewSize ) in ReAllocateMemory()
2915 nEndOfData = nNewSize-1L; in ReAllocateMemory()
2925 nSize = nNewSize; in ReAllocateMemory()
2986 void SvMemoryStream::SetSize( sal_Size nNewSize ) in SetSize() argument
[all …]
/trunk/main/autodoc/source/parser/tokens/
H A Dtkpstama.cxx125 intt nNewSize = nStatiSpace + C_nStatuslistResizeValue; in ResizeStati() local
127 StatusList pNewStati = new StmStatus*[nNewSize]; in ResizeStati()
135 (nNewSize-i) * sizeof(StmStatus*) ); in ResizeStati()
139 nStatiSpace = nNewSize; in ResizeStati()
/trunk/main/autodoc/source/parser_i/tokens/
H A Dtkpstam2.cxx122 intt nNewSize = nStatiSpace + C_nStatuslistResizeValue; in ResizeStati() local
124 StatusList pNewStati = new StmStatu2*[nNewSize]; in ResizeStati()
132 (nNewSize-i) * sizeof(StmStatu2*) ); in ResizeStati()
136 nStatiSpace = nNewSize; in ResizeStati()
/trunk/main/sc/source/core/data/
H A Dolinetab.cxx44 ScOutlineEntry::ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize, bool bNewHidden ) : in ScOutlineEntry() argument
46 nSize ( nNewSize ), in ScOutlineEntry()
77 void ScOutlineEntry::SetSize( SCSIZE nNewSize ) in SetSize() argument
79 if (nNewSize>0) in SetSize()
80 nSize = nNewSize; in SetSize()
87 void ScOutlineEntry::SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize ) in SetPosSize() argument
90 SetSize( nNewSize ); in SetPosSize()
/trunk/main/comphelper/source/streaming/
H A Dmemorystream.cxx185 sal_Int64 nNewSize = static_cast< sal_Int64 >( mnCursor + nBytesToWrite ); in writeBytes() local
186 if( nNewSize > SAL_MAX_INT32 ) in writeBytes()
192 if( static_cast< sal_Int32 >( nNewSize ) > static_cast< sal_Int32 >( maData.size() ) ) in writeBytes()
193 maData.resize( static_cast< sal_Int32 >( nNewSize ) ); in writeBytes()
/trunk/main/chart2/source/view/charttypes/
H A DSplines.cxx898 lcl_tSizeType nNewSize = nResolution * n + 1; in CalculateBSplines() local
899 rResult.SequenceX[nOuter].realloc(nNewSize); in CalculateBSplines()
900 rResult.SequenceY[nOuter].realloc(nNewSize); in CalculateBSplines()
901 rResult.SequenceZ[nOuter].realloc(nNewSize); in CalculateBSplines()
908 pNewX[nNewSize -1 ] = aPointsIn[n].first; in CalculateBSplines()
909 pNewY[nNewSize -1 ] = aPointsIn[n].second; in CalculateBSplines()
910 pNewZ[nNewSize -1 ] = fZCoordinate; in CalculateBSplines()
/trunk/main/svx/source/xoutdev/
H A D_xpoly.cxx151 void ImpXPolygon::Resize( sal_uInt16 nNewSize, sal_Bool bDeletePoints ) in Resize() argument
153 if( nNewSize == nSize ) in Resize()
164 if ( nSize != 0 && nNewSize > nSize ) in Resize()
167 nNewSize = nSize + ((nNewSize-nSize-1) / nResize + 1) * nResize; in Resize()
170 nSize = nNewSize; in Resize()
497 void XPolygon::SetSize( sal_uInt16 nNewSize ) in SetSize() argument
500 pImpXPolygon->Resize( nNewSize ); in SetSize()
/trunk/main/svtools/source/filter/igif/
H A Ddecode.cxx94 sal_uLong nNewSize = nTargetSize << 1; in DecompressBlock() local
96 HPBYTE pTmp = (HPBYTE) rtl_allocateMemory( nNewSize ); in DecompressBlock()
101 nTargetSize = nNewSize; in DecompressBlock()
/trunk/main/sc/source/ui/undo/
H A Dundoblk2.cxx77 nNewSize( nNewSizeTwips ), in ScUndoWidthOrHeight()
183 …pViewShell->SetWidthOrHeight( bWidth, nRangeCnt, pRanges, eMode, nNewSize, sal_False, sal_True, &a… in Redo()
195 …((ScTabViewTarget&)rTarget).GetViewShell()->SetMarkedWidthOrHeight( bWidth, eMode, nNewSize, sal_T… in Repeat()
/trunk/main/sc/inc/
H A Dolinetab.hxx45 ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize,
58 void SetSize( SCSIZE nNewSize );
59 void SetPosSize( SCCOLROW nNewPos, SCSIZE nNewSize );
/trunk/main/vcl/source/window/
H A Dsplitwin.cxx478 pSet->mnSplitSize = nNewSize; in ImplSetSplitSize()
482 ImplSetSplitSize( pSet->mpItems[i].mpSet, nNewSize ); in ImplSetSplitSize()
2663 long nNewSize = mpSplitSet->mpItems[mnSplitPos].mnPixSize; in Tracking() local
2665 nNewSize -= nDelta; in Tracking()
2667 nNewSize += nDelta; in Tracking()
3257 void SplitWindow::SplitItem( sal_uInt16 nId, long nNewSize, in SplitItem() argument
3279 nNewSize = ValidateSize(nNewSize, pItems[nPos]); in SplitItem()
3283 pItems[nPos].mnSize = nNewSize; in SplitItem()
3287 nDelta = nNewSize-pItems[nPos].mnPixSize; in SplitItem()
3503 if ( pItem->mnSize != nNewSize ) in SetItemSize()
[all …]
/trunk/main/sdext/source/presenter/
H A DPresenterNotesView.cxx720 const sal_Int32 nNewSize (mpFont->mnSize + nSizeChange); in ChangeFontSize() local
721 if (nNewSize > 5) in ChangeFontSize()
723 mpFont->mnSize = nNewSize; in ChangeFontSize()
744 pConfiguration->SetProperty(A2S("Size"), Any((sal_Int32)(nNewSize+0.5))); in ChangeFontSize()

Completed in 134 milliseconds

123