clampToInteger 3189 Source/core/css/parser/CSSPropertyParser.cpp numSteps = clampToInteger(v->fValue); clampToInteger 6287 Source/core/css/parser/CSSPropertyParser.cpp i = clampToInteger(val->fValue); clampToInteger 7809 Source/core/css/parser/CSSPropertyParser.cpp tagValue = clampToInteger(value->fValue); clampToInteger 1297 Source/core/rendering/RenderText.cpp curr->setLineBreakPos(clampToInteger(curr->lineBreakPos() + delta)); clampToInteger 71 Source/core/rendering/style/CounterDirectives.h m_incrementValue = clampToInteger((double)m_incrementValue + value); clampToInteger 76 Source/platform/LayoutUnit.h v.m_value = clampToInteger(ceilf(value * kFixedPointDenominator)); clampToInteger 83 Source/platform/LayoutUnit.h v.m_value = clampToInteger(floorf(value * kFixedPointDenominator)); clampToInteger 208 Source/platform/geometry/FloatPoint.h return IntPoint(clampToInteger(roundf(p.x())), clampToInteger(roundf(p.y()))); clampToInteger 213 Source/platform/geometry/FloatPoint.h return IntPoint(clampToInteger(floorf(p.x())), clampToInteger(floorf(p.y()))); clampToInteger 218 Source/platform/geometry/FloatPoint.h return IntPoint(clampToInteger(ceilf(p.x())), clampToInteger(ceilf(p.y()))); clampToInteger 223 Source/platform/geometry/FloatPoint.h return IntSize(clampToInteger(floorf(p.x())), clampToInteger(floorf(p.y()))); clampToInteger 169 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height()))); clampToInteger 174 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height()))); clampToInteger 179 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(ceilf(p.width())), clampToInteger(ceilf(p.height()))); clampToInteger 184 Source/platform/geometry/FloatSize.h return IntPoint(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height()))); clampToInteger 38 Source/platform/geometry/IntRect.cpp : m_location(clampToInteger(r.x()), clampToInteger(r.y())) clampToInteger 39 Source/platform/geometry/IntRect.cpp , m_size(clampToInteger(r.width()), clampToInteger(r.height())) clampToInteger 211 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize scaledImageSize = SkISize::Make(clampToInteger(roundf(imageSize.width() * scaleX)), clampToInteger 212 Source/platform/graphics/skia/NativeImageSkia.cpp clampToInteger(roundf(imageSize.height() * scaleY))); clampToInteger 105 Source/wtf/MathExtrasTest.cpp EXPECT_NEAR(clampToInteger(maxInt), maxInt, 1); clampToInteger 106 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(minInt), minInt); clampToInteger 108 Source/wtf/MathExtrasTest.cpp EXPECT_NEAR(clampToInteger(overflowInt), maxInt, 1); clampToInteger 109 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(underflowInt), minInt); clampToInteger 122 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(maxInt), maxInt); clampToInteger 123 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(minInt), minInt); clampToInteger 125 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(overflowInt), maxInt); clampToInteger 126 Source/wtf/MathExtrasTest.cpp EXPECT_EQ(clampToInteger(underflowInt), minInt);