Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSGrammar.y895 $$.setFromNumber($1 * $2);
899 $$.setFromNumber(0);
901 $$.setFromNumber(100);
1636 INTEGER { $$.setFromNumber($1); $$.isInt = true; }
1637 | FLOATTOKEN { $$.setFromNumber($1); }
1638 | PERCENTAGE { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PERCENTAGE); }
1639 | PXS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PX); }
1640 | CMS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_CM); }
1641 | MMS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_MM); }
1642 | INS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_IN); }
[all …]
DCSSParserValuesTest.cpp92 value.setFromNumber(3); in TEST()
DCSSParserValues.h158 inline void setFromNumber(double value, int unit = CSSPrimitiveValue::CSS_NUMBER);
259 inline void CSSParserValue::setFromNumber(double value, int unit) in setFromNumber() function
DMediaQueryParser.cpp242 value.setFromNumber(token.numericValue(), token.unitType()); in addParserValue()