floor 222 Source/bindings/v8/V8Binding.cpp numberValue = numberValue < 0 ? -floor(fabs(numberValue)) : floor(fabs(numberValue)); floor 263 Source/bindings/v8/V8Binding.cpp numberValue = numberValue < 0 ? -floor(fabs(numberValue)) : floor(fabs(numberValue)); floor 123 Source/bindings/v8/custom/V8FileCustom.cpp v8SetReturnValue(info, floor(lastModified)); floor 301 Source/core/animation/CompositorAnimations.cpp if ((std::floor(timing.iterationCount) != timing.iterationCount) || timing.iterationCount <= 0) floor 329 Source/core/animation/CompositorAnimations.cpp out.adjustedIterationCount = std::floor(timing.iterationCount); floor 157 Source/core/animation/TimedItemCalculations.h return floor(scaledActiveTime / iterationDuration); floor 64 Source/core/css/CSSPrimitiveValue.h return static_cast<float>(floor(value)); floor 178 Source/core/frame/DOMTimer.cpp double alignedTimeRoundedDown = floor(fireTime / alignmentInterval) * alignmentInterval; floor 4814 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 8; floor 4820 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 16; floor 821 Source/core/html/forms/InputType.cpp newValue = base + ((current - base) / step).floor() * step; floor 359 Source/core/html/shadow/DateTimeEditElement.cpp Decimal hourPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerDay) / static_cast<int>(msPerHour)).floor(); floor 378 Source/core/html/shadow/DateTimeEditElement.cpp Decimal minutePartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerHour) / static_cast<int>(msPerMinute)).floor(); floor 388 Source/core/html/shadow/DateTimeEditElement.cpp Decimal secondPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerMinute) / static_cast<int>(msPerSecond)).floor(); floor 431 Source/core/html/shadow/DateTimeEditElement.cpp step.stepBase = static_cast<int>((stepRange().stepBase() / msPerFieldUnitDecimal).floor().remainder(msPerFieldSizeDecimal / msPerFieldUnitDecimal).toDouble()); floor 841 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setWidth(positioningAreaSize.width() - tileSize.width() <= 1 ? tileSize.width().ceil() : tileSize.width().floor()); floor 842 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setHeight(positioningAreaSize.height() - tileSize.height() <= 1 ? tileSize.height().ceil() : tileSize.height().floor()); floor 105 Source/core/rendering/RenderTableCell.h styleLogicalHeight += (computedCSSPaddingBefore() + computedCSSPaddingAfter()).floor() + borderBefore() + borderAfter(); floor 911 Source/core/rendering/RenderTheme.cpp tickRect.setWidth(floor(tickSize.width() * zoomFactor)); floor 912 Source/core/rendering/RenderTheme.cpp tickRect.setHeight(floor(tickSize.height() * zoomFactor)); floor 913 Source/core/rendering/RenderTheme.cpp tickRect.setY(floor(rect.y() + rect.height() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); floor 917 Source/core/rendering/RenderTheme.cpp tickRect.setWidth(floor(tickSize.height() * zoomFactor)); floor 918 Source/core/rendering/RenderTheme.cpp tickRect.setHeight(floor(tickSize.width() * zoomFactor)); floor 919 Source/core/rendering/RenderTheme.cpp tickRect.setX(floor(rect.x() + rect.width() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); floor 1099 Source/core/svg/animation/SVGSMILElement.cpp percent = percent - floor(percent); floor 102 Source/core/timing/MemoryInfo.cpp size_t nextPowerOfTen = static_cast<size_t>(pow(10, floor(log10(sizeOfNextBucket)) + 1) + 0.5); floor 662 Source/core/xml/XPathFunctions.cpp return floor(arg(0)->evaluate().toNumber()); floor 676 Source/core/xml/XPathFunctions.cpp val = floor(val + 0.5); floor 256 Source/modules/webaudio/AudioBufferSourceNode.cpp if (pitchRate == 1 && virtualReadIndex == floor(virtualReadIndex) floor 257 Source/modules/webaudio/AudioBufferSourceNode.cpp && virtualDeltaFrames == floor(virtualDeltaFrames) floor 258 Source/modules/webaudio/AudioBufferSourceNode.cpp && virtualEndFrame == floor(virtualEndFrame)) { floor 323 Source/modules/webaudio/OscillatorNode.cpp virtualReadIndex -= floor(virtualReadIndex * invPeriodicWaveSize) * periodicWaveSize; floor 496 Source/platform/DateComponents.cpp double value = floor(msInDay / msPerSecond); floor 498 Source/platform/DateComponents.cpp value = floor(value / secondsPerMinute); floor 898 Source/platform/Decimal.cpp return quotient.isSpecial() ? quotient : *this - (quotient.isNegative() ? quotient.ceiling() : quotient.floor()) * rhs; floor 137 Source/platform/Decimal.h Decimal floor() const; floor 570 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), Decimal(1).floor()); floor 571 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(0), encode(1, -10, Positive).floor()); floor 572 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), encode(11, -1, Positive).floor()); floor 573 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), encode(13, -1, Positive).floor()); floor 574 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), encode(15, -1, Positive).floor()); floor 575 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), encode(19, -1, Positive).floor()); floor 576 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), encode(193332, -5, Positive).floor()); floor 577 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(12), encode(12002, -3, Positive).floor()); floor 579 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-1), Decimal(-1).floor()); floor 580 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-1), encode(1, -10, Negative).floor()); floor 581 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(11, -1, Negative).floor()); floor 582 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(13, -1, Negative).floor()); floor 583 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(15, -1, Negative).floor()); floor 584 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(19, -1, Negative).floor()); floor 585 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(193332, -5, Negative).floor()); floor 586 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-13), encode(12002, -3, Negative).floor()); floor 591 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, 1000, Positive), encode(1, 1000, Positive).floor()); floor 592 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, 1000, Negative), encode(1, 1000, Negative).floor()); floor 597 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(0, 0, Positive), encode(1, -1000, Positive).floor()); floor 598 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1, 0, Negative), encode(1, -1000, Negative).floor()); floor 603 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::infinity(Positive), Decimal::infinity(Positive).floor()); floor 604 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::infinity(Negative), Decimal::infinity(Negative).floor()); floor 605 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::nan(), Decimal::nan().floor()); floor 153 Source/platform/LayoutUnit.h int floor() const floor 778 Source/platform/LayoutUnit.h return value.floor(); floor 234 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0).floor(), 0); floor 235 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.1).floor(), 0); floor 236 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.5).floor(), 0); floor 237 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.9).floor(), 0); floor 238 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(1.0).floor(), 1); floor 239 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(1.1).floor(), 1); floor 241 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-0.1).floor(), -1); floor 242 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-0.5).floor(), -1); floor 243 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-0.9).floor(), -1); floor 244 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1.0).floor(), -1); floor 246 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMaxForLayoutUnit).floor(), intMaxForLayoutUnit); floor 248 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).floor(), intMinForLayoutUnit); floor 249 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(intMinForLayoutUnit) + LayoutUnit(0.5)).floor(), intMinForLayoutUnit); floor 250 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(intMinForLayoutUnit) + LayoutUnit(1)).floor(), intMinForLayoutUnit + 1); floor 97 Source/platform/animation/TimingFunction.cpp return std::min(1.0, floor((m_steps * fraction) + startOffset) / m_steps); floor 153 Source/platform/geometry/LayoutPoint.h return IntPoint(point.x().floor(), point.y().floor()); floor 179 Source/platform/geometry/LayoutSize.h return IntSize(s.width().floor(), s.height().floor()); floor 638 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp unsigned scaleNumerator = static_cast<unsigned>(floor(sqrt( floor 154 Source/wtf/DateMath.cpp const double yearsToAddBy4Rule = floor(yearMinusOne / 4.0) - leapDaysBefore1971By4Rule; floor 155 Source/wtf/DateMath.cpp const double yearsToExcludeBy100Rule = floor(yearMinusOne / 100.0) - excludedLeapDaysBefore1971By100Rule; floor 156 Source/wtf/DateMath.cpp const double yearsToAddBy400Rule = floor(yearMinusOne / 400.0) - leapDaysBefore1971By400Rule; floor 163 Source/wtf/DateMath.cpp return floor(ms / msPerDay); floor 176 Source/wtf/DateMath.cpp int approxYear = static_cast<int>(floor(ms / (msPerDay * 365.2425)) + 1970); floor 200 Source/wtf/DateMath.cpp double result = fmod(floor(ms / msPerMinute), minutesPerHour); floor 208 Source/wtf/DateMath.cpp double result = fmod(floor(ms/msPerHour), hoursPerDay); floor 300 Source/wtf/DateMath.cpp double yearday = floor(daysFrom1970ToYear(year)); floor 315 Source/wtf/DateMath.cpp return floor(WTF::currentTimeMS()); floor 469 Source/wtf/DateMath.cpp + floor(1461 * (year + 4800.0 + (mon - 14) / 12) / 4) floor 471 Source/wtf/DateMath.cpp - floor(3 * ((year + 4900.0 + (mon - 14) / 12) / 100) / 4) floor 100 Source/wtf/MathExtras.h inline double trunc(double num) { return num > 0 ? floor(num) : ceil(num); }