Home
last modified time | relevance | path

Searched refs:clampToFloat (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtrasTest.cpp129 TEST(MathExtrasTest, clampToFloat) in TEST() argument
139 EXPECT_EQ(maxFloat, clampToFloat(maxFloat)); in TEST()
140 EXPECT_EQ(minFloat, clampToFloat(minFloat)); in TEST()
142 EXPECT_EQ(maxFloat, clampToFloat(overflowFloat)); in TEST()
143 EXPECT_EQ(minFloat, clampToFloat(underflowFloat)); in TEST()
145 EXPECT_EQ(maxFloat, clampToFloat(std::numeric_limits<float>::infinity())); in TEST()
146 EXPECT_EQ(minFloat, clampToFloat(-std::numeric_limits<float>::infinity())); in TEST()
DMathExtras.h251 inline float clampToFloat(double value) in clampToFloat() function
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontDescription.h169 void setComputedSize(float s) { m_computedSize = clampToFloat(s); } in setComputedSize()
170 void setSpecifiedSize(float s) { m_specifiedSize = clampToFloat(s); } in setSpecifiedSize()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSPropertyParser.cpp5585 …addProperty(CSSPropertyFlexGrow, cssValuePool().createValue(clampToFloat(flexGrow), CSSPrimitiveVa… in parseFlex()
5586 …addProperty(CSSPropertyFlexShrink, cssValuePool().createValue(clampToFloat(flexShrink), CSSPrimiti… in parseFlex()