Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 148) sorted by relevance

123456

/trunk/main/sal/rtl/source/
H A Dmath.cxx355 nExp = static_cast< int >( floor( log10( fValue ) ) ); in doubleToString()
492 nDigit = static_cast< int >( floor( fValue in doubleToString()
986 nExp = static_cast<int>( floor( log10( fValue ) ) ); in rtl_math_round()
994 fValue = floor( fValue + 0.5 + nKorrVal[nIndex] ); in rtl_math_round()
1013 double f = floor( fValue ); in rtl_math_round()
1019 double f = floor( fValue ); in rtl_math_round()
1046 double f = floor( fValue ); in rtl_math_round()
1048 fValue = floor( fValue + 0.5 ); in rtl_math_round()
1052 fValue = (g == floor( g )) ? f : (f + 1.0); in rtl_math_round()
1086 int nExp = static_cast<int>( floor( log10( fValue))); in rtl_math_approxValue()
/trunk/main/drawinglayer/source/processor2d/
H A Dvclmetafileprocessor2d.cxx796 sal_Int32(floor(aCurrentRange.getMinX())), sal_Int32(floor(aCurrentRange.getMinY())), in processBasePrimitive2D()
845 sal_Int32(floor(aCropRange.getMinX())), sal_Int32(floor(aCropRange.getMinY())), in processBasePrimitive2D()
907 … (sal_Int32)floor(aRangeLogic.getMinX()), (sal_Int32)floor(aRangeLogic.getMinY()), in processBasePrimitive2D()
1016 … (sal_Int32)floor(aViewRange.getMinX()), (sal_Int32)floor(aViewRange.getMinY()), in processBasePrimitive2D()
1806 … (sal_Int32)floor(aInvisibleRange.getMinX()), (sal_Int32)floor(aInvisibleRange.getMinY()), in processBasePrimitive2D()
2013 … (sal_Int32)floor(aViewRange.getMinX()), (sal_Int32)floor(aViewRange.getMinY()), in processBasePrimitive2D()
H A Dvclhelperbufferdevice.cxx233 (sal_Int32)floor(aRangePixel.getMinX()), (sal_Int32)floor(aRangePixel.getMinY()), in impBufferDevice()
/trunk/main/basic/source/runtime/
H A Dmethods1.cxx2045 double dHoursMinutesSeconds = dDate - floor( dDate ); in RTLFUNC()
2134 return ( d >= 0 ) ? floor( d + 0.5 ) : -floor( -d + 0.5 ); in RoundImpl()
2197 double dDays1 = floor( dDate1 ); in RTLFUNC()
2198 double dDays2 = floor( dDate2 ); in RTLFUNC()
2205 double dDays1 = floor( dDate1 ); in RTLFUNC()
2206 double dDays2 = floor( dDate2 ); in RTLFUNC()
2243 dRet = ( dDiff >= 0 ) ? floor( dDiff / 7.0 ) : -floor( -dDiff / 7.0 ); in RTLFUNC()
2538 pSbxVar->PutDate( floor(dDate) ); in RTLFUNC()
2600 dRes = floor( dVal + 0.5 ); in RTLFUNC()
2606 dRes = floor( dVal + 0.5 ); in RTLFUNC()
/trunk/main/svx/source/sdr/overlay/
H A Doverlaymanager.cxx314 (sal_Int32)floor(rRange.getMinX() - fDiscreteOne), in invalidateRange()
315 (sal_Int32)floor(rRange.getMinY() - fDiscreteOne), in invalidateRange()
327 (sal_Int32)floor(rRange.getMinX()), (sal_Int32)floor(rRange.getMinY()), in invalidateRange()
H A Doverlaymanagerbuffered.cxx567 (sal_Int32)floor(aDiscreteRange.getMinX() - fDiscreteOne), in invalidateRange()
568 (sal_Int32)floor(aDiscreteRange.getMinY() - fDiscreteOne)); in invalidateRange()
578 …const basegfx::B2IPoint aTopLeft((sal_Int32)floor(aDiscreteRange.getMinX()), (sal_Int32)floor(aDis… in invalidateRange()
/trunk/main/basegfx/source/tools/
H A Dgradienttools.cxx385 return floor(aCoor.getY() * nSteps) / double(nSteps - 1); in getLinearGradientAlpha()
412 return floor(fAbsY * nSteps) / double(nSteps - 1); in getAxialGradientAlpha()
432 return floor(t * nSteps) / double(nSteps - 1); in getRadialGradientAlpha()
465 return floor(t * nSteps) / double(nSteps - 1); in getSquareGradientAlpha()
H A Dcanvastools.cxx597 return ::basegfx::B2IRange( static_cast<sal_Int32>( floor(rRange.getMinX()) ), in b2ISurroundingRangeFromB2DRange()
598 static_cast<sal_Int32>( floor(rRange.getMinY()) ), in b2ISurroundingRangeFromB2DRange()
605 return ::basegfx::B2DRange( floor(rRange.getMinX()), in b2DSurroundingIntegerRangeFromB2DRange()
606 floor(rRange.getMinY()), in b2DSurroundingIntegerRangeFromB2DRange()
/trunk/main/sdext/source/presenter/
H A DPresenterSlideSorter.cxx86 sal_Int32 floor (const double nValue) { return sal::static_int_cast<sal_Int32>(nValue); } in floor() function
1307 mnColumnCount = floor((nWidth+gnPreferredHorizontalPreviewGap) in Update()
1316 mnHorizontalGap = floor(gnMinimalHorizontalPreviewGap); in Update()
1327 mnColumnCount = floor((nWidth+gnPreferredHorizontalPreviewGap) in Update()
1339 mnHorizontalGap = floor(gnMinimalHorizontalPreviewGap); in Update()
1364 maPreviewSize = geometry::IntegerSize2D(floor(nPreviewWidth), floor(nPreviewHeight)); in Update()
1460 const sal_Int32 nColumn(floor( in GetColumn()
1478 const sal_Int32 nRow (floor( in GetRow()
/trunk/main/canvas/source/cairo/
H A Dcairo_spritecanvashelper.cxx70 floor( rArea.getWidth() ), floor( rArea.getHeight() ) ); in repaintBackground()
430 …::basegfx::B2DVector aSize( floor( rTotalArea.getMaxX() - aPos.getX() ), floor( rTotalArea.getMaxY… in opaqueUpdate()
H A Dcairo_spritehelper.cxx152 cairo_rectangle( pCairo.get(), 0, 0, floor( aSize.getX() ), floor( aSize.getY() ) ); in redraw()
/trunk/main/sc/addin/datefunc/
H A Ddfa.cl269 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
270 if ( d2 ) nDays2=(long)floor(*d2)+nNullDate;
318 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
319 if ( d2 ) nDays2=(long)floor(*d2)+nNullDate;
365 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
366 if ( d2 ) nDays2=(long)floor(*d2)+nNullDate;
/trunk/main/cppu/source/uno/
H A Deq.hxx500 if (::floor( *(float *)pSource ) != *(float *)pSource || *(float *)pSource < 0) in _equalData()
504 if (::floor( *(double *)pSource ) != *(double *)pSource || *(double *)pSource < 0) in _equalData()
526 if (::floor( *(float *)pDest ) != *(float *)pDest || *(float *)pDest < 0) in _equalData()
552 if (::floor( *(double *)pDest ) != *(double *)pDest || *(double *)pDest < 0) in _equalData()
/trunk/main/drawinglayer/source/texture/
H A Dtexture.cxx757 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(fStartX / fWidth)) + 1); in appendTransformations()
765 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(-fStartX / fWidth))); in appendTransformations()
773 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(fStartY / fHeight)) + 1); in appendTransformations()
781 const sal_Int32 nDiff(static_cast<sal_Int32>(floor(-fStartY / fHeight))); in appendTransformations()
/trunk/main/sw/source/core/bastyp/
H A Dcalc.cxx1232 sal_Int32 nYear = (sal_Int32) floor( left.GetDouble() ); in Term()
1234 sal_Int32 nMonth = (sal_Int32) floor( e.GetDouble() ); in Term()
1244 sal_Int32 nYearMonth = (sal_Int32) floor( left.GetDouble() ); in Term()
1246 sal_Int32 nDay = (sal_Int32) floor( e.GetDouble() ); in Term()
1258 sal_Int32 nDec = (sal_Int32) floor( e.GetDouble() ); in Term()
1298 fVal = floor( fVal+ 0.5 + nRoundVal[ nExp ] ); in Term()
/trunk/main/oox/source/helper/
H A Ddatetimehelper.cxx48 dateTime.Seconds = static_cast< sal_uInt16 >( floor( seconds ) ); in parseISO8601DateTime()
49 …Seconds = static_cast< sal_uInt16 >( ::rtl::math::round ( 100 * ( seconds - floor( seconds ) ) ) ); in parseISO8601DateTime()
/trunk/main/svl/source/numbers/
H A Dzformat.cxx107 return (long) floor( log10( fAbsVal ) ) + 1; in GetPrecExp()
2236 double fNum = floor(fNumber); // Vorkommateil in GetOutputString()
2381 nFrac = ((sal_uLong)floor(0.5 + fNumber * 10000000.0)); in GetOutputString()
2400 nFrac = ((sal_uLong)floor(0.5 + fNumber * in GetOutputString()
2419 nFrac = (sal_uLong) floor(fNum1); in GetOutputString()
2604 fNumber -= floor(fNumber); // sonst Datum abtrennen in ImpGetTimeOutput()
2625 if( floor( fTime ) > _D_MAX_U_LONG_ ) in ImpGetTimeOutput()
2630 sal_uLong nSeconds = (sal_uLong)floor( fTime ); in ImpGetTimeOutput()
3143 double fTime = (fNumber - floor( fNumber )) * 86400.0; in ImpGetDateTimeOutput()
3149 fNumber = floor( fNumber + 0.5) + fTime; in ImpGetDateTimeOutput()
[all …]
/trunk/main/svx/source/engine3d/
H A De3dsceneupdater.cxx110 sal_Int32(floor(aSnapRange.getMinX())), sal_Int32(floor(aSnapRange.getMinY())), in ~E3DModifySceneSnapRectUpdater()
/trunk/main/svx/source/sdr/contact/
H A Dviewobjectcontactofsdrmediaobj.cxx142 (sal_Int32)floor(aViewRange.getMinX()), (sal_Int32)floor(aViewRange.getMinY()), in updateMediaItem()
H A Dobjectcontactofpageview.cxx218 floor(aDiscreteClipRange.getMinX()), in DoProcessDisplay()
219 floor(aDiscreteClipRange.getMinY()))); in DoProcessDisplay()
/trunk/main/offapi/com/sun/star/chart2/
H A DXDiagram.idl57 of the floor if any.
59 <p>The floor is the bottom of a 3D diagram.
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/
H A Dcode.js131 var nLineCount = Math.floor((aMatches.length+nMatchesPerLine-1) / nMatchesPerLine);
132 var nLineOfSelection = Math.floor(nSelectionIndex / nMatchesPerLine);
/trunk/main/drawinglayer/source/primitive2d/
H A Dgridprimitive2d.cxx159 … const double fMinX(floor((aExtendedViewport.getMinX() - fHalfCrossSize) / fStepX) * fStepX); in create2DDecomposition()
161 … const double fMinY(floor((aExtendedViewport.getMinY() - fHalfCrossSize) / fStepY) * fStepY); in create2DDecomposition()
/trunk/main/apple_remote/source/
H A DAppleRemote.m59 if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_4)
78 else if( floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_5 )
/trunk/main/vcl/aqua/source/window/
H A Dsalnsmenu.mm142 aImgRect.origin.y = floor((aFrame.size.height - aFromRect.size.height)/2);
197 const int nY = floor( aSize.height - aPixSize.Height() ) / 2;

Completed in 265 milliseconds

123456