/dports/graphics/krita/krita-4.4.8/plugins/tools/tool_crop/ |
H A D | kis_constrained_rect.cpp | 79 QSize newSize = oldSize; in moveHandle() local 300 QSize newSize = oldSize; in setRatio() local 311 newSize.setHeight(qRound(newSize.width() / m_ratio)); in setRatio() 313 newSize.setHeight(newSize.width() / m_ratio); in setRatio() 315 newSize.setWidth(newSize.height() * m_ratio); in setRatio() 318 assignNewSize(newSize); in setRatio() 330 newSize.setHeight(newSize.width() / m_ratio); in setWidth() 336 assignNewSize(newSize); in setWidth() 348 newSize.setWidth(newSize.height() * m_ratio); in setHeight() 354 assignNewSize(newSize); in setHeight() [all …]
|
/dports/games/openbve/OpenBVE-1.8.2.1/source/LibRender2/Primitives/ |
H A D | Picturebox.cs | 38 Vector2 newSize; in Draw() 46 if (newSize.X > Size.X) in Draw() 48 newSize.X = Size.X; in Draw() 51 if (newSize.Y > Size.Y) in Draw() 53 newSize.Y = Size.Y; in Draw() 63 if (newSize.X > Size.X) in Draw() 65 newSize.X = Size.X; in Draw() 68 if (newSize.Y > Size.Y) in Draw() 70 newSize.Y = Size.Y; in Draw() 73 …e.DrawAlpha(Texture, Location + new Vector2(newSize - Size) / 2, newSize, Color128.White, new Vect… in Draw() [all …]
|
/dports/biology/clustalw/clustalw-2.1/src/general/ |
H A D | Array2D.h | 51 void GrowRow(int newSize) in GrowRow() argument 53 if (newSize <= (int)m_dimRow) in GrowRow() 55 m_dimRow = newSize; in GrowRow() 62 void GrowCol(int newSize) in GrowCol() argument 64 if(newSize <= (int)m_dimCol) in GrowCol() 66 m_dimCol = newSize; in GrowCol() 68 m_2DVector[i].resize(newSize); in GrowCol() 80 if (newSize <= m_dimRow) in GrowRow() 82 m_dimRow = newSize; in GrowRow() 91 if(newSize <= m_dimCol) in GrowCol() [all …]
|
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/FormatSupport/ |
H A D | RIFF.cpp | 151 this->newSize = 8; in Chunk() 246 this->newSize = 12; in ContainerChunk() 326 prevChunk->newSize += curChild->newSize; in ContainerChunk() 417 prevChild->newSize += currChild->newSize; in changesAndSize() 509 if ( (junkChunk->newSize >= (9 + currChild->newSize + padSize)) || in changesAndSize() 510 (junkChunk->newSize == (currChild->newSize + padSize)) ) break; in changesAndSize() 517 if ( junkChunk->newSize == (currChild->newSize + padSize) ) { in changesAndSize() 527 junkChunk->newSize -= (currChild->newSize + padSize); in changesAndSize() 587 this->newSize += currChild->newSize; in changesAndSize() 588 this->newSize += (this->newSize & 1); // Round up if odd. in changesAndSize() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/extra/yassl/taocrypt/include/ |
H A D | block.hpp | 71 if (oldSize == newSize) in StdReallocate() 84 return a.allocate(newSize, 0); in StdReallocate() 154 void CleanGrow(word32 newSize) in CleanGrow() argument 156 if (newSize > sz_) { in CleanGrow() 159 sz_ = newSize; in CleanGrow() 163 void CleanNew(word32 newSize) in CleanNew() argument 165 New(newSize); in CleanNew() 170 void New(word32 newSize) in New() argument 173 sz_ = newSize; in New() 176 void resize(word32 newSize) in resize() argument [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/extra/yassl/taocrypt/include/ |
H A D | block.hpp | 71 if (oldSize == newSize) in StdReallocate() 84 return a.allocate(newSize, 0); in StdReallocate() 154 void CleanGrow(word32 newSize) in CleanGrow() argument 156 if (newSize > sz_) { in CleanGrow() 159 sz_ = newSize; in CleanGrow() 163 void CleanNew(word32 newSize) in CleanNew() argument 165 New(newSize); in CleanNew() 170 void New(word32 newSize) in New() argument 173 sz_ = newSize; in New() 176 void resize(word32 newSize) in resize() argument [all …]
|
/dports/databases/mysql55-client/mysql-5.5.62/extra/yassl/taocrypt/include/ |
H A D | block.hpp | 71 if (oldSize == newSize) in StdReallocate() 84 return a.allocate(newSize, 0); in StdReallocate() 154 void CleanGrow(word32 newSize) in CleanGrow() argument 156 if (newSize > sz_) { in CleanGrow() 159 sz_ = newSize; in CleanGrow() 163 void CleanNew(word32 newSize) in CleanNew() argument 165 New(newSize); in CleanNew() 169 void New(word32 newSize) in New() argument 172 sz_ = newSize; in New() 175 void resize(word32 newSize) in resize() argument [all …]
|
/dports/x11-toolkits/tix/Tix8.4.3/generic/ |
H A D | tixGrUtl.c | 78 TixGridSize newSize; local 127 newSize = *sizePtr; 133 newSize.sizeType = TIX_GR_AUTO; 134 newSize.sizeValue = 0; 137 newSize.sizeType = TIX_GR_DEFAULT; 138 newSize.sizeValue = 0; 144 newSize.sizeValue = pixels; 150 newSize.charValue = chars; 161 newSize.pad0 = pixels; 171 newSize.pad1 = pixels; [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tixGeneric/ |
H A D | tixGrUtl.c | 79 TixGridSize newSize; local 128 newSize = *sizePtr; 134 newSize.sizeType = TIX_GR_AUTO; 135 newSize.sizeValue = 0; 138 newSize.sizeType = TIX_GR_DEFAULT; 139 newSize.sizeValue = 0; 145 newSize.sizeValue = pixels; 151 newSize.charValue = chars; 162 newSize.pad0 = pixels; 172 newSize.pad1 = pixels; [all …]
|
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rdr/ |
H A D | BufferedOutStream.cxx | 79 size_t newSize; in flush() local 83 newSize *= 2; in flush() 88 end = start + newSize; in flush() 89 bufSize = newSize; in flush() 104 size_t totalNeeded, newSize; in overrun() local 136 newSize = DEFAULT_BUF_SIZE; in overrun() 137 while (newSize < totalNeeded) in overrun() 138 newSize *= 2; in overrun() 140 newBuffer = new U8[newSize]; in overrun() 143 bufSize = newSize; in overrun() [all …]
|
H A D | BufferedInStream.cxx | 55 size_t newSize; in overrun() local 63 newSize = DEFAULT_BUF_SIZE; in overrun() 64 while (newSize < needed) in overrun() 65 newSize *= 2; in overrun() 67 newBuffer = new U8[newSize]; in overrun() 70 bufSize = newSize; in overrun() 89 size_t newSize; in overrun() local 91 newSize = DEFAULT_BUF_SIZE; in overrun() 92 while (newSize < peakUsage) in overrun() 93 newSize *= 2; in overrun() [all …]
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rdr/ |
H A D | BufferedOutStream.cxx | 79 size_t newSize; in flush() local 83 newSize *= 2; in flush() 88 end = start + newSize; in flush() 89 bufSize = newSize; in flush() 104 size_t totalNeeded, newSize; in overrun() local 136 newSize = DEFAULT_BUF_SIZE; in overrun() 137 while (newSize < totalNeeded) in overrun() 138 newSize *= 2; in overrun() 140 newBuffer = new U8[newSize]; in overrun() 143 bufSize = newSize; in overrun() [all …]
|
H A D | BufferedInStream.cxx | 55 size_t newSize; in overrun() local 63 newSize = DEFAULT_BUF_SIZE; in overrun() 64 while (newSize < needed) in overrun() 65 newSize *= 2; in overrun() 67 newBuffer = new U8[newSize]; in overrun() 70 bufSize = newSize; in overrun() 89 size_t newSize; in overrun() local 91 newSize = DEFAULT_BUF_SIZE; in overrun() 92 while (newSize < peakUsage) in overrun() 93 newSize *= 2; in overrun() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Common/Core/ |
H A D | vtkVoidArray.cxx | 85 vtkIdType newSize=id+number; in WritePointer() local 86 if ( newSize > this->Size ) in WritePointer() 88 this->ResizeAndExtend(newSize); in WritePointer() 92 this->NumberOfPointers = newSize; in WritePointer() 124 vtkIdType newSize; in ResizeAndExtend() local 128 newSize = this->Size + sz; in ResizeAndExtend() 136 newSize = sz; in ResizeAndExtend() 139 if (newSize <= 0) in ResizeAndExtend() 154 if (newSize < this->Size) in ResizeAndExtend() 156 this->NumberOfPointers = newSize; in ResizeAndExtend() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Common/Core/ |
H A D | vtkVoidArray.cxx | 85 vtkIdType newSize=id+number; in WritePointer() local 86 if ( newSize > this->Size ) in WritePointer() 88 this->ResizeAndExtend(newSize); in WritePointer() 92 this->NumberOfPointers = newSize; in WritePointer() 121 vtkIdType newSize; in ResizeAndExtend() local 125 newSize = this->Size + sz; in ResizeAndExtend() 133 newSize = sz; in ResizeAndExtend() 136 if (newSize <= 0) in ResizeAndExtend() 151 if (newSize < this->Size) in ResizeAndExtend() 153 this->NumberOfPointers = newSize; in ResizeAndExtend() [all …]
|
/dports/math/cvc4/CVC4-1.7/examples/hashsmt/ |
H A D | word.cpp | 40 if (newSize <= size()) { in extendToSize() 77 Word::Word(unsigned newSize, unsigned value) { in Word() argument 81 Word::Word(unsigned newSize, string name) { in Word() argument 92 Expr lhs = extendToSize(newSize); in operator +() 93 Expr rhs = b.extendToSize(newSize); in operator +() 108 Expr lhs = extendToSize(newSize); in operator &() 109 Expr rhs = b.extendToSize(newSize); in operator &() 115 Expr lhs = extendToSize(newSize); in operator |() 116 Expr rhs = b.extendToSize(newSize); in operator |() 127 Expr lhs = extendToSize(newSize); in operator ^() [all …]
|
/dports/math/osi/Osi-0.108.6/CoinUtils/src/ |
H A D | CoinFactorization2.cpp | 527 newSize += 32; in factorDense() 534 CoinZeroN(denseArea_, newSize); in factorDense() 922 assert(newSize == lengthAreaU_ || (newSize == 0 && !convertRowToColumnU_.array())); in restoreFactorization() 926 assert(newSize == lengthAreaL_ || (newSize == 0 && !elementByRowL_.array())); in restoreFactorization() 930 assert(newSize == lengthAreaL_ || (newSize == 0 && !indexColumnL_.array())); in restoreFactorization() 934 assert(newSize == numberRows_ + 1 || (newSize == 0 && !startRowL_.array())); in restoreFactorization() 958 assert(newSize == maximumPivots_ + 1 || (newSize == 0 && !startColumnR_.array())); in restoreFactorization() 962 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !startRowU_.array())); in restoreFactorization() 982 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permuteBack_.array())); in restoreFactorization() 986 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permute_.array())); in restoreFactorization() [all …]
|
/dports/math/coinutils/CoinUtils-2.11.4/CoinUtils/src/ |
H A D | CoinFactorization2.cpp | 527 newSize += 32; in factorDense() 534 CoinZeroN(denseArea_, newSize); in factorDense() 922 assert(newSize == lengthAreaU_ || (newSize == 0 && !convertRowToColumnU_.array())); in restoreFactorization() 926 assert(newSize == lengthAreaL_ || (newSize == 0 && !elementByRowL_.array())); in restoreFactorization() 930 assert(newSize == lengthAreaL_ || (newSize == 0 && !indexColumnL_.array())); in restoreFactorization() 934 assert(newSize == numberRows_ + 1 || (newSize == 0 && !startRowL_.array())); in restoreFactorization() 958 assert(newSize == maximumPivots_ + 1 || (newSize == 0 && !startColumnR_.array())); in restoreFactorization() 962 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !startRowU_.array())); in restoreFactorization() 982 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permuteBack_.array())); in restoreFactorization() 986 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permute_.array())); in restoreFactorization() [all …]
|
/dports/math/clp/Clp-1.17.3/CoinUtils/src/ |
H A D | CoinFactorization2.cpp | 527 newSize += 32; in factorDense() 534 CoinZeroN(denseArea_, newSize); in factorDense() 922 assert(newSize == lengthAreaU_ || (newSize == 0 && !convertRowToColumnU_.array())); in restoreFactorization() 926 assert(newSize == lengthAreaL_ || (newSize == 0 && !elementByRowL_.array())); in restoreFactorization() 930 assert(newSize == lengthAreaL_ || (newSize == 0 && !indexColumnL_.array())); in restoreFactorization() 934 assert(newSize == numberRows_ + 1 || (newSize == 0 && !startRowL_.array())); in restoreFactorization() 958 assert(newSize == maximumPivots_ + 1 || (newSize == 0 && !startColumnR_.array())); in restoreFactorization() 962 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !startRowU_.array())); in restoreFactorization() 982 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permuteBack_.array())); in restoreFactorization() 986 assert(newSize == maximumRowsExtra_ + 1 || (newSize == 0 && !permute_.array())); in restoreFactorization() [all …]
|
/dports/graphics/pixen/Pixen-0.1/ |
H A D | PXScaleController.m | 30 newSize = [[canvasController canvas] size]; 31 [[newWidthForm cellWithTag:0] setFloatValue:newSize.width]; 32 [[newHeightForm cellWithTag:0] setFloatValue:newSize.height]; 51 newSize = [[canvasController canvas] size]; 102 if (fabs(oldSize.width * xScale - newSize.width) > .01) { 119 if (fabs(oldSize.width * xScale - newSize.width) > .01) { 130 newSize.height = directSizeInput.height; 132 newSize.width = directSizeInput.width; 137 newSize.width = directSizeInput.width; 139 newSize.height = directSizeInput.height; [all …]
|
/dports/math/vtk9/VTK-9.1.0/Common/Core/ |
H A D | vtkVoidArray.cxx | 87 vtkIdType newSize = id + number; in WritePointer() local 88 if (newSize > this->Size) in WritePointer() 90 this->ResizeAndExtend(newSize); in WritePointer() 94 this->NumberOfPointers = newSize; in WritePointer() 126 vtkIdType newSize; in ResizeAndExtend() local 130 newSize = this->Size + sz; in ResizeAndExtend() 138 newSize = sz; in ResizeAndExtend() 141 if (newSize <= 0) in ResizeAndExtend() 155 if (newSize < this->Size) in ResizeAndExtend() 157 this->NumberOfPointers = newSize; in ResizeAndExtend() [all …]
|
/dports/www/rssroll/libcez-1.05/src/fossil/ |
H A D | blob.c | 91 if( newSize==0 ){ in blobReallocMalloc() 98 }else if( newSize>pBlob->nAlloc || newSize<pBlob->nAlloc-4000 ){ in blobReallocMalloc() 100 char *pNew = realloc(pBlob->aData, newSize); in blobReallocMalloc() 102 pBlob->nAlloc = newSize; in blobReallocMalloc() 114 pBlob->xRealloc(pBlob, newSize+1); in blob_resize() 115 pBlob->nUsed = newSize; in blob_resize() 116 pBlob->aData[newSize] = 0; in blob_resize() 124 if( newSize==0 ){ in blobReallocStatic() 128 char *pNew = malloc( newSize ); in blobReallocStatic() 129 if( pBlob->nUsed>newSize ) pBlob->nUsed = newSize; in blobReallocStatic() [all …]
|
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/ |
H A D | SimpleRootAreaProvider.cpp | 66 QSizeF newSize = m_textShape->size() in doPostLayout() local 91 s.setHeight(newSize.height() / lines * 0.2); in doPostLayout() 93 newSize += s; in doPostLayout() 98 if (height > newSize.height()) { in doPostLayout() 99 newSize.setHeight(height); in doPostLayout() 102 if (height < newSize.height()) { in doPostLayout() 110 if (width > newSize.width()) { in doPostLayout() 140 if (newSize != m_textShape->size()) { in doPostLayout() 146 tmpSize.setWidth(newSize.width()); in doPostLayout() 151 m_textShape->setSize(newSize); in doPostLayout() [all …]
|
/dports/net/nepenthes/nepenthes-0.2.2/nepenthes-core/src/ |
H A D | Buffer.cpp | 104 void Buffer::resize(uint32_t newSize) in resize() argument 106 assert(newSize > m_allocSize); in resize() 109 if( newSize % 0x100 ) in resize() 110 newSize += 0x100 - (newSize % 0x100); in resize() 114 m_data = realloc(m_data, newSize); in resize() 115 m_allocSize = newSize; in resize() 143 uint32_t newSize = m_allocSize; in add() local 146 while( m_offset + size > newSize ) in add() 147 newSize <<= 1; in add() 149 resize(newSize); in add()
|
/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/src/Algorithms/QuadCuts/ |
H A D | BonArraysHelpers.hpp | 16 resizeAndCopyArray(X *& array, unsigned int oldSize, unsigned int newSize){ in resizeAndCopyArray() argument 17 if(newSize == 0){ in resizeAndCopyArray() 24 X * buffy = new X[newSize]; in resizeAndCopyArray() 26 if(oldSize < newSize) in resizeAndCopyArray() 29 CoinCopyN(array, newSize, buffy); in resizeAndCopyArray() 36 resizeAndCopyArray(X *& array, unsigned int oldSize, unsigned int newSize, in resizeAndCopyArray() argument 38 if(newSize > capacity){ in resizeAndCopyArray() 39 X * buffy = new X[newSize]; in resizeAndCopyArray() 47 newSize = oldSize; in resizeAndCopyArray()
|