/trunk/main/sc/source/core/data/ |
H A D | compressedarray.cxx | 336 A nEnd = ::std::numeric_limits<A>::max(); in GetLastUnequalAccess() 387 return ::std::numeric_limits<unsigned long>::max(); in SumValuesContinuation() 410 return ::std::numeric_limits<unsigned long>::max(); in SumScaledValuesContinuation() 521 A nStart = ::std::numeric_limits<A>::max(); in GetBitStateStart() 544 A nEnd = ::std::numeric_limits<A>::max(); in GetBitStateEnd() 566 return ::std::max( nFound, nStart); in GetFirstForCondition() 572 return ::std::numeric_limits<A>::max(); in GetFirstForCondition() 595 return ::std::numeric_limits<A>::max(); in GetLastForCondition() 688 A nEnd = ::std::numeric_limits<A>::max(); in GetLastAnyBitAccess() 734 return ::std::numeric_limits<unsigned long>::max(); in SumCoupledArrayForCondition() [all …]
|
/trunk/main/basegfx/source/workbench/ |
H A D | gauss.hxx | 52 int max, i, j, k; /* *must* be signed, when looping like: j>=0 ! */ in eliminate() local 58 max = i; in eliminate() 60 if( fabs(matrix[ j*cols + i ]) > fabs(matrix[ max*cols + i ]) ) in eliminate() 61 max = j; in eliminate() 64 if( fabs(matrix[ max*cols + i ]) < minPivot ) in eliminate() 71 matrix[ i*cols + k ] = matrix[ max*cols + k ]; in eliminate() 72 matrix[ max*cols + k ] = temp; in eliminate()
|
H A D | bezierclip.cxx | 132 line.dMax = 3.0/4.0 * ::std::max(0.0, ::std::max(dP2, dP3)); in Impl_calcFatLine() 137 line.dMax = 4.0/9.0 * ::std::max(0.0, ::std::max(dP2, dP3)); in Impl_calcFatLine() 147 rightBottom.x = ::std::max( c1.p0.x, ::std::max( c1.p1.x, ::std::max( c1.p2.x, c1.p3.x ) ) ); in Impl_calcBounds() 148 rightBottom.y = ::std::max( c1.p0.y, ::std::max( c1.p1.y, ::std::max( c1.p2.y, c1.p3.y ) ) ); in Impl_calcBounds() 163 if( ::std::min(rb1.x, rb2.x) < ::std::max(lt1.x, lt2.x) || in Impl_doBBoxIntersect() 164 ::std::min(rb1.y, rb2.y) < ::std::max(lt1.y, lt2.y) ) in Impl_doBBoxIntersect() 246 currHigherT = ::std::max(currHigherT, ::std::max(p0.x, p1.x)); in Impl_calcSafeParams() 261 currHigherT = ::std::max(currHigherT, ::std::max(currTLow, currTHigh)); in Impl_calcSafeParams() 272 t1 = ::std::max(0.0, currLowerT); in Impl_calcSafeParams() 853 for( d=0.0, k=::std::max(0,i-n); k<=k_max && k<=i; ++k ) in Impl_calcSafeParams_focus() [all …]
|
/trunk/main/sal/osl/unx/ |
H A D | file.cxx | 290 off_t const bufend = std::max((off_t)(0), m_bufptr) + m_buflen; in getSize() 291 return std::max(m_size, sal::static_int_cast< sal_uInt64 >(bufend)); in getSize() 421 m_size = std::max (m_size, sal::static_int_cast< sal_uInt64 >(nOffset + nBytes)); in writeAt() 561 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt() 1034 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_mapFile() 1039 static sal_uInt64 const g_limit_off_t = std::numeric_limits< off_t >::max(); in osl_mapFile() 1112 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_unmapFile() 1224 static sal_uInt64 const g_limit_off_t = std::numeric_limits< off_t >::max(); in osl_readFileAt() 1259 static sal_uInt64 const g_limit_off_t = std::numeric_limits< off_t >::max(); in osl_writeFileAt() 1317 static sal_Int64 const g_limit_off_t = std::numeric_limits< off_t >::max(); in osl_setFilePos() [all …]
|
/trunk/main/sal/osl/w32/ |
H A D | file.cxx | 53 #ifdef max /* conflict w/ std::numeric_limits<T>::max() */ 54 #undef max 272 LONGLONG bufend = std::max((LONGLONG)(0), m_bufptr) + m_buflen; in getSize() 273 return std::max(m_size, sal::static_int_cast< sal_uInt64 >(bufend)); in getSize() 351 m_size = std::max(m_size, sal::static_int_cast< sal_uInt64 >(m_offset)); in writeAt() 363 static sal_uInt64 const g_limit_dword = std::numeric_limits< DWORD >::max(); in readFileAt() 437 static sal_uInt64 const g_limit_dword = std::numeric_limits< DWORD >::max(); in writeFileAt() 497 m_buflen = std::max(m_buflen, bufpos + bytes); in writeFileAt() 820 static SIZE_T const nLimit = std::numeric_limits< SIZE_T >::max(); in osl_mapFile() 966 static sal_uInt64 const g_limit_longlong = std::numeric_limits< LONGLONG >::max(); in osl_readFileAt() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterGeometryHelper.cxx | 142 const sal_Int32 nLeft (::std::max(rBox1.X, rBox2.X)); in Intersection() 143 const sal_Int32 nTop (::std::max(rBox1.Y, rBox2.Y)); in Intersection() 159 const double nLeft (::std::max(rBox1.X1, rBox2.X1)); in Intersection() 160 const double nTop (::std::max(rBox1.Y1, rBox2.Y1)); in Intersection() 209 const sal_Int32 nRight (::std::max(Right(rBox1), Right(rBox2))); in Union() 210 const sal_Int32 nBottom (::std::max(Bottom(rBox1), Bottom(rBox2))); in Union() 226 const double nRight (::std::max(rBox1.X2, rBox2.X2)); in Union() 227 const double nBottom (::std::max(rBox1.Y2, rBox2.Y2)); in Union()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/ |
H A D | _XSpinValue.java | 86 int max = oObj.getMaximum(); in _setMaximum() local 87 tRes.tested("setMaximum()",max==480); in _setMaximum() 101 int max = oObj.getMinimum(); in _setMinimum() local 102 tRes.tested("setMinimum()",max==80); in _setMinimum() 155 int max = oObj.getMaximum(); in _setValues() local 156 tRes.tested("setValues()",((min==70) && (max==210) && (val==200))); in _setValues()
|
H A D | _XCurrencyField.java | 59 private double max = 0; field in _XCurrencyField 132 oObj.setMax(max + 1.1); in _setMax() 133 result = oObj.getMax() == max + 1.1; in _setMax() 145 max = oObj.getMax(); in _getMax()
|
H A D | _XNumericField.java | 60 private double max = 0 ; field in _XNumericField 133 oObj.setMax(max + 1.1) ; in _setMax() 134 result = oObj.getMax() == max + 1.1 ; in _setMax() 146 max = oObj.getMax() ; in _getMax()
|
/trunk/main/connectivity/java/sdbc_jdbc/src/com/sun/star/comp/sdbc/ |
H A D | BoundedInputStream.java | 30 public BoundedInputStream(InputStream is, long max) { in BoundedInputStream() argument 32 this.remaining = max; in BoundedInputStream() 62 long max = Math.max(remaining, len); in read() local 63 int bytesRead = is.read(b, off, (int)max); in read()
|
/trunk/main/chart2/source/view/main/ |
H A D | VLegend.cxx | 219 aResult.Width = ::std::max( aResult.Width, aCurrSize.Width ); in lcl_createTextShapes() 220 aResult.Height = ::std::max( aResult.Height, aCurrSize.Height ); in lcl_createTextShapes() 253 rColumnWidths[nColumn] = ::std::max( nWidth, rColumnWidths[nColumn] ); in lcl_collectColumnWidths() 277 nCurrentRowHeight = ::std::max( nCurrentRowHeight, aTextSize.Height ); in lcl_collectRowHeighs() 318 sal_Int32 nXPadding = static_cast< sal_Int32 >( std::max( 100.0, fViewFontSize * 0.33 ) ); in lcl_placeLegendEntries() 320 sal_Int32 nXOffset = static_cast< sal_Int32 >( std::max( 100.0, fViewFontSize * 0.66 ) ); in lcl_placeLegendEntries() 321 sal_Int32 nYPadding = static_cast< sal_Int32 >( std::max( 100.0, fViewFontSize * 0.2 ) ); in lcl_placeLegendEntries() 322 sal_Int32 nYOffset = static_cast< sal_Int32 >( std::max( 100.0, fViewFontSize * 0.2 ) ); in lcl_placeLegendEntries() 386 … aColumnWidths[nCurrentColumn] = std::max( nNewWidth, aColumnWidths[nCurrentColumn] ); in lcl_placeLegendEntries() 602 nMaxYPos = ::std::max( nMaxYPos, nCurrentYPos ); in lcl_placeLegendEntries() [all …]
|
/trunk/main/svl/source/misc/ |
H A D | strmadpt.cxx | 77 = std::numeric_limits< sal_uInt32 >::max()); 110 std::max< sal_uInt32 >(nThePageSize, sal_uInt32(1)), in SvDataPipe_Impl() 111 sal_uInt32(std::numeric_limits< sal_uInt32 >::max() in SvDataPipe_Impl() 113 m_nMinPages(std::max< sal_uInt32 >(nTheMinPages, sal_uInt32(1))), in SvDataPipe_Impl() 114 m_nMaxPages(std::max< sal_uInt32 >(nTheMaxPages, sal_uInt32(1))), in SvDataPipe_Impl() 210 && nCount > std::numeric_limits< sal_uLong >::max() - m_nPosition) in FillAppend() 212 nCount = std::numeric_limits< sal_uLong >::max() - m_nPosition; in FillAppend() 503 sal_uLong(std::numeric_limits< sal_Int32 >::max()))); in GetData() 540 sal_uLong(std::numeric_limits< sal_Int32 >::max()))); in GetData() 716 sal_uLong(std::numeric_limits< sal_Int32 >::max()))); in PutData()
|
/trunk/main/stoc/source/typeconv/ |
H A D | convert.cxx | 289 const Any& rAny, sal_Int64 min = SAL_INT64_MIN, sal_uInt64 max = SAL_UINT64_MAX ) 291 double toDouble( const Any& rAny, double min = -DBL_MAX, double max = DBL_MAX ) const 346 sal_Int64 TypeConverter_Impl::toHyper( const Any& rAny, sal_Int64 min, sal_uInt64 max ) in toHyper() argument 394 (sal_uInt64)nRet <= max) // upper bound in toHyper() 408 if (fVal >= min && fVal <= unsigned_int64_to_double( max )) in toHyper() 420 if (fVal >= min && fVal <= unsigned_int64_to_double( max )) in toHyper() 440 if (fVal >= min && (fVal < 0 || ((sal_uInt64)fVal) <= max)) in toHyper() 453 if (nRet >= min && (nRet < 0 || (sal_uInt64)nRet <= max)) in toHyper() 461 double TypeConverter_Impl::toDouble( const Any& rAny, double min, double max ) const in toDouble() 534 if (fRet >= min && fRet <= max) in toDouble()
|
/trunk/main/wizards/com/sun/star/wizards/web/status/ |
H A D | Task.java | 45 private int max = 0; field in Task 54 max = max_; in Task() 64 return max; in getMax() 69 max = max_; in setMax() 84 if (failed + successfull == max) in advance()
|
/trunk/main/wizards/com/sun/star/wizards/ui/event/ |
H A D | Task.java | 39 private int max = 0; field in Task 48 max = max_; in Task() 63 return max; in getMax() 68 max = max_; in setMax() 83 if (failed + successfull == max) in advance()
|
/trunk/main/i18npool/source/indexentry/ |
H A D | genindex_data.cxx | 59 sal_Int32 max=0; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 83 if (key.getLength() > max) max=key.getLength(); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 139 ad == -1 ? 0 : max == 2 ? ustr[ad] : ad)); in SAL_IMPLEMENT_MAIN_WITH_ARGS() 146 if (max == 2) { in SAL_IMPLEMENT_MAIN_WITH_ARGS()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | res_Titles.cxx | 59 …long nMaxTextWidth = ::std::max( m_aFT_Main.CalcMinimumSize().Width(),m_aFT_Sub.CalcMinimumSize().… in TitleResources() 60 nMaxTextWidth = ::std::max( nMaxTextWidth, m_aFT_XAxis.CalcMinimumSize().Width() ) ; in TitleResources() 61 nMaxTextWidth = ::std::max( nMaxTextWidth, m_aFT_YAxis.CalcMinimumSize().Width() ) ; in TitleResources() 62 nMaxTextWidth = ::std::max( nMaxTextWidth, m_aFT_ZAxis.CalcMinimumSize().Width() ) ; in TitleResources() 65 … nMaxTextWidth = ::std::max( nMaxTextWidth, m_aFT_SecondaryXAxis.CalcMinimumSize().Width() ) ; in TitleResources() 66 … nMaxTextWidth = ::std::max( nMaxTextWidth, m_aFT_SecondaryYAxis.CalcMinimumSize().Width() ) ; in TitleResources()
|
H A D | tp_AxisPositions.cxx | 150 …long nWidth_0 = ::std::max( m_aFT_Major.CalcMinimumSize().Width(), m_aFT_Minor.CalcMinimumSize().W… in AxisPositionsTabPage() 151 nWidth_0 = ::std::max( nWidth_0, nLabelPlacementWidth ); in AxisPositionsTabPage() 152 nWidth_0 = ::std::max( nWidth_0, nMarkPlacementWidth ); in AxisPositionsTabPage() 173 …long nWidth_1 = ::std::max( m_aCB_TicksInner.CalcMinimumSize().Width(), m_aCB_MinorInner.CalcMinim… in AxisPositionsTabPage() 174 …long nWidth_2 = ::std::max( m_aCB_TicksOuter.CalcMinimumSize().Width(), m_aCB_MinorOuter.CalcMinim… in AxisPositionsTabPage() 207 …long nNewRightBorder = ::std::max( m_aLB_CrossesAt.GetPosPixel().X() + m_aLB_CrossesAt.GetSizePixe… in AxisPositionsTabPage() 208 nNewRightBorder = ::std::max( nTickmarksRightBorder, nNewRightBorder ); in AxisPositionsTabPage()
|
/trunk/main/svx/source/stbctrls/ |
H A D | stbctrls.src | 31 // 'Insert' shortened to max. 5 characters 36 // 'Overwrite' shortened to max. 5 characters 41 // 'Standard' shortened to max. 3 characters 46 // 'Extended' shortened to max. 3 characters 51 // 'Added' shortened to max. 3 characters 57 // 'Block' shortened to max. 3 characters
|
/trunk/main/basegfx/source/tools/ |
H A D | tools.cxx | 57 const double nMaxDistance( ::std::max( in moveLineOutsideRect() 59 ::std::max( in moveLineOutsideRect() 64 ::std::max( in moveLineOutsideRect() 69 ::std::max( in moveLineOutsideRect()
|
/trunk/main/basebmp/inc/basebmp/ |
H A D | polypolygonrenderer.hxx | 149 const sal_Int32 nClipX1( std::max((sal_Int32)0,rClipRect.getMinX()) ); in renderClippedPolyPolygon() 151 const sal_Int32 nClipY1( std::max((sal_Int32)0,rClipRect.getMinY()) ); in renderClippedPolyPolygon() 193 std::max(nMinY, in renderClippedPolyPolygon() 260 std::max( nClipX1, in renderClippedPolyPolygon() 264 std::max( nClipX1, in renderClippedPolyPolygon()
|
H A D | colortraits.hxx | 91 vigra::NumericTraits<AlphaType>::max()-alpha)*v1 + alpha*v2) / in operator ()() 92 vigra::NumericTraits<AlphaType>::max(); in operator ()() 105 vigra::NumericTraits<AlphaType>::max()-alpha)*v2) / in operator ()() 106 vigra::NumericTraits<AlphaType>::max(); in operator ()()
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | svggradientprimitive2d.cxx | 61 nSteps = std::max(nSteps, sal_uInt32(1)); in calculateStepsForSvgGradient() 803 fMax = std::max(fMax, basegfx::B2DVector(aUnitRange.getMaximum()).getLength()); in create2DDecomposition() 804 … fMax = std::max(fMax, basegfx::B2DVector(aUnitRange.getMinX(), aUnitRange.getMaxY()).getLength()); in create2DDecomposition() 805 … fMax = std::max(fMax, basegfx::B2DVector(aUnitRange.getMaxX(), aUnitRange.getMinY()).getLength()); in create2DDecomposition() 1094 mfScaleA = ::std::max(mfScaleA, 0.0); in SvgRadialAtomPrimitive2D() 1095 mfScaleB = ::std::max(mfScaleB, 0.0); in SvgRadialAtomPrimitive2D() 1121 mfScaleA = ::std::max(mfScaleA, 0.0); in SvgRadialAtomPrimitive2D() 1122 mfScaleB = ::std::max(mfScaleB, 0.0); in SvgRadialAtomPrimitive2D()
|
/trunk/main/vcl/source/gdi/ |
H A D | region.cxx | 138 const long nBottom (::std::max(aStart.Y(), aEnd.Y())); in ImplRectilinearPolygonToBands() 588 const long nRight(std::max(rRect.Left(), rRect.Right())); in Union() 589 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Union() 681 const long nRight(std::max(rRect.Left(), rRect.Right())); in Intersect() 682 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Intersect() 762 const long nRight(std::max(rRect.Left(), rRect.Right())); in Exclude() 763 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in Exclude() 847 const long nRight(std::max(rRect.Left(), rRect.Right())); in XOr() 848 const long nBottom(std::max(rRect.Top(), rRect.Bottom())); in XOr()
|
/trunk/main/slideshow/source/engine/ |
H A D | shapeattributelayer.cxx | 806 ::std::max( mnTransformationState, in getTransformationState() 814 ::std::max( mnClipState, in getClipState() 822 ::std::max( mnAlphaState, in getAlphaState() 830 ::std::max( mnPositionState, in getPositionState() 838 ::std::max( mnContentState, in getContentState() 846 ::std::max( mnVisibilityState, in getVisibilityState()
|