round 90 Source/core/css/resolver/AnimatedStyleBuilder.cpp return clampTo<T>(round(toAnimatableDouble(value)->toDouble()), min, max); round 231 Source/core/css/resolver/AnimatedStyleBuilder.cpp int index = round(toAnimatableDouble(value)->toDouble() / 100) - 1; round 558 Source/core/dom/Element.cpp return adjustLayoutUnitForAbsoluteZoom(renderer->fixedOffsetWidth(), *renderer).round(); round 563 Source/core/dom/Element.cpp return adjustLayoutUnitForAbsoluteZoom(renderer->pixelSnappedOffsetWidth(), *renderer).round(); round 571 Source/core/dom/Element.cpp return adjustLayoutUnitForAbsoluteZoom(renderer->pixelSnappedOffsetHeight(), *renderer).round(); round 625 Source/core/dom/Element.cpp return adjustLayoutUnitForAbsoluteZoom(renderer->pixelSnappedClientWidth(), *renderer).round(); round 646 Source/core/dom/Element.cpp return adjustLayoutUnitForAbsoluteZoom(renderer->pixelSnappedClientHeight(), *renderer).round(); round 124 Source/core/html/forms/StepRange.cpp step = max(step.round(), Decimal(1)); round 130 Source/core/html/forms/StepRange.cpp step = max(step.round(), Decimal(1)); round 142 Source/core/html/forms/StepRange.cpp return base + ((value - base) / m_step).round() * m_step; round 163 Source/core/html/forms/StepRange.cpp const Decimal remainder = (value - m_step * (value / m_step).round()).abs(); round 807 Source/core/rendering/RenderBoxModelObject.cpp int resolvedWidth = static_cast<int>(round(positioningAreaSize.width() * intrinsicWidth.percent() / 100)); round 808 Source/core/rendering/RenderBoxModelObject.cpp int resolvedHeight = static_cast<int>(round(positioningAreaSize.height() * intrinsicHeight.percent() / 100)); round 411 Source/core/rendering/RenderReplaced.cpp return computeReplacedLogicalWidthRespectingMinMaxWidth(roundToInt(round(logicalHeight * intrinsicRatio)), shouldComputePreferred); round 483 Source/core/rendering/RenderReplaced.cpp return computeReplacedLogicalHeightRespectingMinMaxHeight(roundToInt(round(availableLogicalWidth() / intrinsicRatio))); round 666 Source/core/rendering/RenderTableSection.cpp m_rowPos[r + 1] = max(m_rowPos[r] + minimumValueForLength(m_grid[r].logicalHeight, 0).round(), 0); round 935 Source/core/rendering/RenderTheme.cpp double tickPosition = round(tickRegionSideMargin + tickRegionWidth * tickRatio); round 762 Source/core/rendering/RootInlineBox.cpp verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection)).round(); round 229 Source/core/xml/XPathFunctions.cpp static double round(double); round 518 Source/core/xml/XPathFunctions.cpp long pos = static_cast<long>(FunRound::round(doublePos)); round 525 Source/core/xml/XPathFunctions.cpp len = static_cast<long>(FunRound::round(doubleLen)); round 683 Source/core/xml/XPathFunctions.cpp return round(arg(0)->evaluate().toNumber()); round 517 Source/platform/DateComponents.cpp if (!setMillisecondsSinceEpochForDateInternal(round(ms))) round 530 Source/platform/DateComponents.cpp ms = round(ms); round 554 Source/platform/DateComponents.cpp if (!setMillisecondsSinceEpochForDateInternal(round(ms))) round 567 Source/platform/DateComponents.cpp setMillisecondsSinceMidnightInternal(positiveFmod(round(ms), msPerDay)); round 576 Source/platform/DateComponents.cpp months = round(months); round 606 Source/platform/DateComponents.cpp ms = round(ms); round 139 Source/platform/Decimal.h Decimal round() const; round 71 Source/platform/DecimalTest.cpp const Decimal result = minimum + ((value - minimum) / step).round() * step; round 966 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), (Decimal(9) / Decimal(10)).round()); round 967 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(25), (Decimal(5) / fromString("0.200")).round()); round 968 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(3), (Decimal(5) / Decimal(2)).round()); round 969 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(1), (Decimal(2) / Decimal(3)).round()); round 970 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(3), (Decimal(10) / Decimal(3)).round()); round 971 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(3), (Decimal(1) / fromString("0.3")).round()); round 972 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(10), (Decimal(1) / fromString("0.1")).round()); round 973 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(5), (Decimal(1) / fromString("0.2")).round()); round 974 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(10), (fromString("10.2") / 1).round()); round 975 Source/platform/DecimalTest.cpp EXPECT_EQ(encode(1234, 100, Positive), encode(1234, 100, Positive).round()); round 977 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(2), encode(190002, -5, Positive).round()); round 978 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(2), encode(150002, -5, Positive).round()); round 979 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(2), encode(150000, -5, Positive).round()); round 980 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(12), encode(12492, -3, Positive).round()); round 981 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(13), encode(12502, -3, Positive).round()); round 983 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(190002, -5, Negative).round()); round 984 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(150002, -5, Negative).round()); round 985 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-2), encode(150000, -5, Negative).round()); round 986 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-12), encode(12492, -3, Negative).round()); round 987 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal(-13), encode(12502, -3, Negative).round()); round 992 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::infinity(Positive), Decimal::infinity(Positive).round()); round 993 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::infinity(Negative), Decimal::infinity(Negative).round()); round 994 Source/platform/DecimalTest.cpp EXPECT_EQ(Decimal::nan(), Decimal::nan().round()); round 146 Source/platform/LayoutUnit.h int round() const round 768 Source/platform/LayoutUnit.h return (fraction + size).round() - fraction.round(); round 773 Source/platform/LayoutUnit.h return value.round(); round 84 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1.9f).round(), -2); round 85 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1.6f).round(), -2); round 86 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-1.51f).round(), -2); round 87 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-1.5f).round(), -1); round 88 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-1.49f).round(), -1); round 89 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1.0f).round(), -1); round 90 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-0.99f).round(), -1); round 91 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-0.51f).round(), -1); round 92 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-0.50f).round(), 0); round 93 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(-0.49f).round(), 0); round 94 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-0.1f).round(), 0); round 95 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.0f).round(), 0); round 96 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.1f).round(), 0); round 97 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(0.49f).round(), 0); round 98 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(0.50f).round(), 1); round 99 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(0.51f).round(), 1); round 100 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0.99f).round(), 1); round 101 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(1.0f).round(), 1); round 102 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(1.49f).round(), 1); round 103 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(1.5f).round(), 2); round 104 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit::fromFloatRound(1.51f).round(), 2); round 152 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(100) * LayoutUnit(3.33)).round(), 333); round 153 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) * LayoutUnit(3.33)).round(), -333); round 154 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) * LayoutUnit(-3.33)).round(), 333); round 97 Source/platform/LengthFunctions.cpp return static_cast<LayoutUnit>(round(maximumValue * length.percent() / 100.0f)); round 48 Source/platform/animation/AnimationUtilities.h return clampTo<T>(round(to > from ? from + (to - from) * progress : from - (from - to) * progress)); round 60 Source/platform/audio/AudioUtilities.cpp return static_cast<size_t>(round(time * sampleRate)); round 45 Source/platform/fonts/mac/ComplexTextController.cpp return static_cast<CGFloat>(round(f)); round 215 Source/platform/fonts/skia/SimpleFontDataSkia.cpp bounds.round(&ir); round 158 Source/platform/geometry/LayoutPoint.h return IntPoint(point.x().round(), point.y().round()); round 163 Source/platform/geometry/LayoutPoint.h return IntPoint(size.width().round(), size.height().round()); round 72 Source/platform/geometry/LayoutRect.h int pixelSnappedX() const { return x().round(); } round 73 Source/platform/geometry/LayoutRect.h int pixelSnappedY() const { return y().round(); } round 76 Source/platform/geometry/LayoutRect.h int pixelSnappedMaxX() const { return (m_location.x() + m_size.width()).round(); } round 77 Source/platform/geometry/LayoutRect.h int pixelSnappedMaxY() const { return (m_location.y() + m_size.height()).round(); } round 215 Source/platform/geometry/LayoutRect.h return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, top)); round 220 Source/platform/geometry/LayoutRect.h return IntRect(left.round(), top.round(), snapSizeToPixel(right - left, left), snapSizeToPixel(bottom - top, top)); round 184 Source/platform/geometry/LayoutSize.h return IntSize(s.width().round(), s.height().round()); round 52 Source/platform/graphics/ColorSpace.cpp linearRgbLUT[i] = static_cast<uint8_t>(round(color * 255)); round 69 Source/platform/graphics/ColorSpace.cpp deviceRgbLUT[i] = static_cast<uint8_t>(round(color * 255)); round 271 Source/platform/scroll/ScrollbarTheme.cpp int length = round(proportion * trackLen); round 79 Source/platform/scroll/ScrollbarThemeOverlay.cpp return round(proportion * trackLen); round 90 Source/platform/scroll/ScrollbarThemeOverlay.cpp int length = round(proportion * trackLen); round 197 Source/web/PopupContainer.cpp int popupX = round((popupInitialCoordinate.x() + rightOffset) * pageScaleFactor); round 198 Source/web/PopupContainer.cpp int popupY = round((popupInitialCoordinate.y() + verticalForRTLOffset) * pageScaleFactor); round 96 Source/wtf/MathExtras.h inline long long llround(double num) { return static_cast<long long>(round(num)); } round 98 Source/wtf/MathExtras.h inline long lround(double num) { return static_cast<long>(round(num)); } round 188 Source/wtf/MathExtras.h double rounded = round(flt);