UnitTypes 164 Source/core/animation/AnimatableLength.cpp m_cachedCSSPrimitiveValue = CSSPrimitiveValue::create(clampedNumber(range), static_cast<CSSPrimitiveValue::UnitTypes>(numberTypeToPrimitiveUnit(m_unitType))); UnitTypes 59 Source/core/animation/AnimatableLengthTest.cpp PassRefPtrWillBeRawPtr<AnimatableLength> create(double value, CSSPrimitiveValue::UnitTypes type) UnitTypes 64 Source/core/animation/AnimatableLengthTest.cpp PassRefPtrWillBeRawPtr<AnimatableLength> create(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight) UnitTypes 69 Source/core/animation/AnimatableLengthTest.cpp PassRefPtrWillBeRawPtr<CSSCalcValue> createCalc(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight) UnitTypes 50 Source/core/css/CSSCalculationValue.cpp static CalculationCategory unitCategory(CSSPrimitiveValue::UnitTypes type) UnitTypes 78 Source/core/css/CSSCalculationValue.cpp static bool hasDoubleValue(CSSPrimitiveValue::UnitTypes type) UnitTypes 188 Source/core/css/CSSCalculationValue.cpp static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitTypes type, bool isInteger) UnitTypes 259 Source/core/css/CSSCalculationValue.cpp virtual CSSPrimitiveValue::UnitTypes primitiveType() const OVERRIDE UnitTypes 261 Source/core/css/CSSCalculationValue.cpp return CSSPrimitiveValue::UnitTypes(m_value->primitiveType()); UnitTypes 273 Source/core/css/CSSCalculationValue.cpp : CSSCalcExpressionNode(unitCategory((CSSPrimitiveValue::UnitTypes)value->primitiveType()), isInteger) UnitTypes 347 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes evaluationType = isInteger ? CSSPrimitiveValue::CSS_PARSER_INTEGER : CSSPrimitiveValue::CSS_NUMBER; UnitTypes 354 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes leftType = leftSide->primitiveType(); UnitTypes 356 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes rightType = rightSide->primitiveType(); UnitTypes 361 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes canonicalType = CSSPrimitiveValue::canonicalUnitTypeForCategory(leftUnitCategory); UnitTypes 386 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes otherType = otherSide->primitiveType(); UnitTypes 454 Source/core/css/CSSCalculationValue.cpp virtual CSSPrimitiveValue::UnitTypes primitiveType() const OVERRIDE UnitTypes 468 Source/core/css/CSSCalculationValue.cpp CSSPrimitiveValue::UnitTypes leftType = m_leftSide->primitiveType(); UnitTypes 76 Source/core/css/CSSCalculationValue.h virtual CSSPrimitiveValue::UnitTypes primitiveType() const = 0; UnitTypes 99 Source/core/css/CSSParserValues.cpp CSSPrimitiveValue::UnitTypes primitiveUnit = static_cast<CSSPrimitiveValue::UnitTypes>(unit); UnitTypes 53 Source/core/css/CSSPrimitiveValue.cpp static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType) UnitTypes 143 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::fromName(const String& unit) UnitTypes 149 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::UnitCategory CSSPrimitiveValue::unitCategory(CSSPrimitiveValue::UnitTypes type) UnitTypes 271 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::CSSPrimitiveValue(int parserOperator, UnitTypes type) UnitTypes 279 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitTypes type) UnitTypes 287 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitTypes type) UnitTypes 301 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::CSSPrimitiveValue(RGBA32 color, UnitTypes type) UnitTypes 448 Source/core/css/CSSPrimitiveValue.cpp switch (static_cast<UnitTypes>(m_primitiveUnitType)) { UnitTypes 741 Source/core/css/CSSPrimitiveValue.cpp bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); UnitTypes 753 Source/core/css/CSSPrimitiveValue.cpp getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); UnitTypes 762 Source/core/css/CSSPrimitiveValue.cpp CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::canonicalUnitTypeForCategory(UnitCategory category) UnitTypes 786 Source/core/css/CSSPrimitiveValue.cpp bool CSSPrimitiveValue::getDoubleValueInternal(UnitTypes requestedUnitType, double* result) const UnitTypes 788 Source/core/css/CSSPrimitiveValue.cpp if (!isValidCSSUnitTypeForDoubleConversion(static_cast<UnitTypes>(m_primitiveUnitType)) || !isValidCSSUnitTypeForDoubleConversion(requestedUnitType)) UnitTypes 791 Source/core/css/CSSPrimitiveValue.cpp UnitTypes sourceUnitType = static_cast<UnitTypes>(primitiveType()); UnitTypes 800 Source/core/css/CSSPrimitiveValue.cpp UnitTypes targetUnitType = requestedUnitType; UnitTypes 1153 Source/core/css/CSSPrimitiveValue.cpp result = CSSPrimitiveValue::create(m_value.string, static_cast<UnitTypes>(m_primitiveUnitType)); UnitTypes 1205 Source/core/css/CSSPrimitiveValue.cpp result = CSSPrimitiveValue::create(m_value.num, static_cast<UnitTypes>(m_primitiveUnitType)); UnitTypes 154 Source/core/css/CSSPrimitiveValue.h static UnitCategory unitCategory(CSSPrimitiveValue::UnitTypes); UnitTypes 156 Source/core/css/CSSPrimitiveValue.h typedef HashMap<String, CSSPrimitiveValue::UnitTypes> UnitTable; UnitTypes 157 Source/core/css/CSSPrimitiveValue.h static UnitTypes fromName(const String& unit); UnitTypes 222 Source/core/css/CSSPrimitiveValue.h static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(double value, UnitTypes type) UnitTypes 226 Source/core/css/CSSPrimitiveValue.h static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> create(const String& value, UnitTypes type) UnitTypes 247 Source/core/css/CSSPrimitiveValue.h static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createAllowingMarginQuirk(double value, UnitTypes type) UnitTypes 347 Source/core/css/CSSPrimitiveValue.h static UnitTypes canonicalUnitTypeForCategory(UnitCategory); UnitTypes 354 Source/core/css/CSSPrimitiveValue.h CSSPrimitiveValue(int parserOperator, UnitTypes); UnitTypes 355 Source/core/css/CSSPrimitiveValue.h CSSPrimitiveValue(unsigned color, UnitTypes); // RGB value UnitTypes 363 Source/core/css/CSSPrimitiveValue.h CSSPrimitiveValue(const String&, UnitTypes); UnitTypes 364 Source/core/css/CSSPrimitiveValue.h CSSPrimitiveValue(double, UnitTypes); UnitTypes 391 Source/core/css/CSSPrimitiveValue.h bool getDoubleValueInternal(UnitTypes targetUnitType, double* result) const; UnitTypes 98 Source/core/css/CSSValuePool.cpp PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitTypes type) UnitTypes 53 Source/core/css/CSSValuePool.h PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitTypes); UnitTypes 54 Source/core/css/CSSValuePool.h PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitTypes type) { return CSSPrimitiveValue::create(value, type); } UnitTypes 235 Source/core/css/MediaQueryExp.cpp cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); UnitTypes 238 Source/core/css/MediaQueryExp.cpp cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); UnitTypes 311 Source/core/css/parser/BisonCSSParser-in.cpp static inline bool parseSimpleLength(const CharacterType* characters, unsigned length, CSSPrimitiveValue::UnitTypes& unit, double& number) UnitTypes 340 Source/core/css/parser/BisonCSSParser-in.cpp CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; UnitTypes 889 Source/core/css/parser/BisonCSSParser-in.cpp CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; UnitTypes 357 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit)); UnitTypes 4973 Source/core/css/parser/CSSPropertyParser.cpp static bool parseColorIntOrPercentage(const CharacterType*& string, const CharacterType* end, const char terminator, CSSPrimitiveValue::UnitTypes& expect, int& value) UnitTypes 5132 Source/core/css/parser/CSSPropertyParser.cpp CSSPrimitiveValue::UnitTypes expect = CSSPrimitiveValue::CSS_UNKNOWN; UnitTypes 6322 Source/core/css/parser/CSSPropertyParser.cpp result = cssValuePool().createValue(a->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(a->unit)); UnitTypes 7285 Source/core/css/parser/CSSPropertyParser.cpp filterValue->append(cssValuePool().createValue(amount, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); UnitTypes 7299 Source/core/css/parser/CSSPropertyParser.cpp filterValue->append(cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); UnitTypes 8322 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); UnitTypes 8358 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); UnitTypes 8360 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); UnitTypes 8390 Source/core/css/parser/CSSPropertyParser.cpp ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit)); UnitTypes 62 Source/core/css/parser/MediaQueryToken.h CSSPrimitiveValue::UnitTypes unitType() const { return m_unit; } UnitTypes 72 Source/core/css/parser/MediaQueryToken.h CSSPrimitiveValue::UnitTypes m_unit; UnitTypes 3253 Source/core/dom/Element.cpp bool Element::setInlineStyleProperty(CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit, bool important) UnitTypes 3304 Source/core/dom/Element.cpp void Element::addPropertyToPresentationAttributeStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit) UnitTypes 271 Source/core/dom/Element.h bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes, bool important = false); UnitTypes 522 Source/core/dom/Element.h void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes); UnitTypes 310 Source/core/svg/SVGLength.cpp CSSPrimitiveValue::UnitTypes cssType = CSSPrimitiveValue::CSS_UNKNOWN;