Lines Matching refs:UnitTypes
51 static CSSPrimitiveValue::UnitCategory unitCategory(CSSPrimitiveValue::UnitTypes type)
129 CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitTypes type)
136 CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitTypes type)
412 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
425 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result);
429 CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::canonicalUnitTypeForCategory(UnitCategory category)
451 bool CSSPrimitiveValue::getDoubleValueInternal(UnitTypes requestedUnitType, double* result) const
460 UnitTypes sourceUnitType = static_cast<UnitTypes>(m_type);
464 UnitTypes targetUnitType = requestedUnitType;