unitType 48 Source/core/animation/AnimatableLength.cpp NumberUnitType unitType; unitType 49 Source/core/animation/AnimatableLength.cpp bool isPrimitiveLength = primitiveUnitToNumberType(primitiveValue->primitiveType(), unitType); unitType 52 Source/core/animation/AnimatableLength.cpp return create(primitiveValue->getDoubleValue() * scale, unitType, primitiveValue); unitType 70 Source/core/animation/AnimatableLength.cpp NumberUnitType unitType; unitType 72 Source/core/animation/AnimatableLength.cpp return primitiveUnitToNumberType(primitiveValue->primitiveType(), unitType); unitType 67 Source/core/animation/AnimatableLength.h static PassRefPtrWillBeRawPtr<AnimatableLength> create(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue = 0) unitType 69 Source/core/animation/AnimatableLength.h return adoptRefWillBeNoop(new AnimatableLength(number, unitType, cssPrimitiveValue)); unitType 86 Source/core/animation/AnimatableLength.h AnimatableLength(double number, NumberUnitType unitType, CSSPrimitiveValue* cssPrimitiveValue) unitType 88 Source/core/animation/AnimatableLength.h , m_unitType(unitType) unitType 53 Source/core/css/CSSPrimitiveValue.cpp static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType) unitType 55 Source/core/css/CSSPrimitiveValue.cpp switch (unitType) { unitType 686 Source/core/css/CSSPrimitiveValue.cpp double CSSPrimitiveValue::conversionToCanonicalUnitsScaleFactor(unsigned short unitType) unitType 690 Source/core/css/CSSPrimitiveValue.cpp switch (unitType) { unitType 738 Source/core/css/CSSPrimitiveValue.cpp double CSSPrimitiveValue::getDoubleValue(unsigned short unitType, ExceptionState& exceptionState) const unitType 741 Source/core/css/CSSPrimitiveValue.cpp bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); unitType 750 Source/core/css/CSSPrimitiveValue.cpp double CSSPrimitiveValue::getDoubleValue(unsigned short unitType) const unitType 753 Source/core/css/CSSPrimitiveValue.cpp getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); unitType 291 Source/core/css/CSSPrimitiveValue.h double getDoubleValue(unsigned short unitType, ExceptionState&) const; unitType 292 Source/core/css/CSSPrimitiveValue.h double getDoubleValue(unsigned short unitType) const; unitType 295 Source/core/css/CSSPrimitiveValue.h void setFloatValue(unsigned short unitType, double floatValue, ExceptionState&); unitType 296 Source/core/css/CSSPrimitiveValue.h float getFloatValue(unsigned short unitType, ExceptionState& exceptionState) const { return getValue<float>(unitType, exceptionState); } unitType 297 Source/core/css/CSSPrimitiveValue.h float getFloatValue(unsigned short unitType) const { return getValue<float>(unitType); } unitType 300 Source/core/css/CSSPrimitiveValue.h int getIntValue(unsigned short unitType, ExceptionState& exceptionState) const { return getValue<int>(unitType, exceptionState); } unitType 301 Source/core/css/CSSPrimitiveValue.h int getIntValue(unsigned short unitType) const { return getValue<int>(unitType); } unitType 304 Source/core/css/CSSPrimitiveValue.h template<typename T> inline T getValue(unsigned short unitType, ExceptionState& exceptionState) const { return clampTo<T>(getDoubleValue(unitType, exceptionState)); } unitType 305 Source/core/css/CSSPrimitiveValue.h template<typename T> inline T getValue(unsigned short unitType) const { return clampTo<T>(getDoubleValue(unitType)); } unitType 348 Source/core/css/CSSPrimitiveValue.h static double conversionToCanonicalUnitsScaleFactor(unsigned short unitType); unitType 5263 Source/core/css/parser/CSSPropertyParser.cpp Units unitType = FUnknown; unitType 5266 Source/core/css/parser/CSSPropertyParser.cpp unitType = FInteger; unitType 5268 Source/core/css/parser/CSSPropertyParser.cpp unitType = FPercent; unitType 5278 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, unitType, HTMLStandardMode)) unitType 120 Source/core/css/parser/MediaQueryParser.cpp if (type == DimensionToken && token->unitType() == CSSPrimitiveValue::CSS_UNKNOWN) { unitType 259 Source/core/css/parser/MediaQueryParser.cpp value.setFromNumber(token.numericValue(), token.unitType()); unitType 62 Source/core/css/parser/MediaQueryToken.h CSSPrimitiveValue::UnitTypes unitType() const { return m_unit; } unitType 177 Source/core/rendering/svg/SVGRenderTreeAsText.cpp static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) unitType 179 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << SVGEnumerationToString<SVGUnitTypes::SVGUnitType>(unitType); unitType 42 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp if (baselineShiftValueLength->unitType() == LengthTypePercentage) unitType 90 Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp if (kerningLength->unitType() == LengthTypePercentage) unitType 49 Source/core/svg/GradientAttributes.h void setGradientUnits(SVGUnitTypes::SVGUnitType unitType) unitType 51 Source/core/svg/GradientAttributes.h m_gradientUnits = unitType; unitType 89 Source/core/svg/SVGAngle.cpp SVGAngle::SVGAngle(SVGAngleType unitType, float valueInSpecifiedUnits, SVGMarkerOrientType orientType) unitType 91 Source/core/svg/SVGAngle.cpp , m_unitType(unitType) unitType 214 Source/core/svg/SVGAngle.cpp static bool parseValue(const String& value, float& valueInSpecifiedUnits, SVGAngle::SVGAngleType& unitType) unitType 222 Source/core/svg/SVGAngle.cpp unitType = stringToAngleType(ptr, end); unitType 223 Source/core/svg/SVGAngle.cpp if (unitType == SVGAngle::SVG_ANGLETYPE_UNKNOWN) unitType 243 Source/core/svg/SVGAngle.cpp SVGAngleType unitType = SVG_ANGLETYPE_UNKNOWN; unitType 245 Source/core/svg/SVGAngle.cpp bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType) unitType 246 Source/core/svg/SVGAngle.cpp : parseValue<UChar>(value, valueInSpecifiedUnits, unitType); unitType 253 Source/core/svg/SVGAngle.cpp m_unitType = unitType; unitType 257 Source/core/svg/SVGAngle.cpp void SVGAngle::newValueSpecifiedUnits(SVGAngleType unitType, float valueInSpecifiedUnits) unitType 260 Source/core/svg/SVGAngle.cpp m_unitType = unitType; unitType 264 Source/core/svg/SVGAngle.cpp void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType, ExceptionState& exceptionState) unitType 271 Source/core/svg/SVGAngle.cpp if (unitType == m_unitType) unitType 276 Source/core/svg/SVGAngle.cpp switch (unitType) { unitType 291 Source/core/svg/SVGAngle.cpp switch (unitType) { unitType 308 Source/core/svg/SVGAngle.cpp switch (unitType) { unitType 328 Source/core/svg/SVGAngle.cpp m_unitType = unitType; unitType 361 Source/core/svg/SVGAngle.cpp newValueSpecifiedUnits(fromAngle->unitType(), fromAngle->valueInSpecifiedUnits()); unitType 80 Source/core/svg/SVGAngle.h SVGAngleType unitType() const { return m_unitType; } unitType 88 Source/core/svg/SVGAngle.h void newValueSpecifiedUnits(SVGAngleType unitType, float valueInSpecifiedUnits); unitType 89 Source/core/svg/SVGAngle.h void convertToSpecifiedUnits(SVGAngleType unitType, ExceptionState&); unitType 71 Source/core/svg/SVGAngleTearOff.cpp void SVGAngleTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) unitType 78 Source/core/svg/SVGAngleTearOff.cpp if (unitType == SVGAngle::SVG_ANGLETYPE_UNKNOWN || unitType > SVGAngle::SVG_ANGLETYPE_GRAD) { unitType 79 Source/core/svg/SVGAngleTearOff.cpp exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ")."); unitType 83 Source/core/svg/SVGAngleTearOff.cpp target()->newValueSpecifiedUnits(static_cast<SVGAngle::SVGAngleType>(unitType), valueInSpecifiedUnits); unitType 87 Source/core/svg/SVGAngleTearOff.cpp void SVGAngleTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) unitType 94 Source/core/svg/SVGAngleTearOff.cpp if (unitType == SVGAngle::SVG_ANGLETYPE_UNKNOWN || unitType > SVGAngle::SVG_ANGLETYPE_GRAD) { unitType 95 Source/core/svg/SVGAngleTearOff.cpp exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units (" + String::number(unitType) + ")."); unitType 99 Source/core/svg/SVGAngleTearOff.cpp target()->convertToSpecifiedUnits(static_cast<SVGAngle::SVGAngleType>(unitType), exceptionState); unitType 57 Source/core/svg/SVGAngleTearOff.h unsigned short unitType() { return target()->unitType(); } unitType 65 Source/core/svg/SVGAngleTearOff.h void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&); unitType 66 Source/core/svg/SVGAngleTearOff.h void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&); unitType 155 Source/core/svg/SVGLength.cpp return context.convertValueToUserUnits(m_valueInSpecifiedUnits, unitMode(), unitType(), es); unitType 164 Source/core/svg/SVGLength.cpp float convertedValue = context.convertValueFromUserUnits(value, unitMode(), unitType(), es); unitType 229 Source/core/svg/SVGLength.cpp return String::number(m_valueInSpecifiedUnits) + lengthTypeToString(unitType()); unitType 246 Source/core/svg/SVGLength.cpp SVGLengthType originalType = unitType(); unitType 311 Source/core/svg/SVGLength.cpp switch (length->unitType()) { unitType 390 Source/core/svg/SVGLength.cpp SVGLengthType toType = unitType(); unitType 391 Source/core/svg/SVGLength.cpp SVGLengthType fromType = from->unitType(); unitType 455 Source/core/svg/SVGLength.cpp m_unitType = percentage < 0.5 ? fromLength->unitType() : toLength->unitType(); unitType 55 Source/core/svg/SVGLength.h SVGLengthType unitType() const { return static_cast<SVGLengthType>(m_unitType); } unitType 181 Source/core/svg/SVGLengthList.cpp SVGLengthType unitType = toList->at(i)->unitType(); unitType 185 Source/core/svg/SVGLengthList.cpp unitType = fromList->at(i)->unitType(); unitType 192 Source/core/svg/SVGLengthList.cpp at(i)->setUnitType(unitType); unitType 52 Source/core/svg/SVGLengthTearOff.cpp return target()->unitType(); unitType 109 Source/core/svg/SVGLengthTearOff.cpp void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) unitType 116 Source/core/svg/SVGLengthTearOff.cpp if (unitType == LengthTypeUnknown || unitType > LengthTypePC) { unitType 117 Source/core/svg/SVGLengthTearOff.cpp exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ")."); unitType 121 Source/core/svg/SVGLengthTearOff.cpp target()->newValueSpecifiedUnits(toSVGLengthType(unitType), valueInSpecifiedUnits); unitType 125 Source/core/svg/SVGLengthTearOff.cpp void SVGLengthTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) unitType 132 Source/core/svg/SVGLengthTearOff.cpp if (unitType == LengthTypeUnknown || unitType > LengthTypePC) { unitType 133 Source/core/svg/SVGLengthTearOff.cpp exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units (" + String::number(unitType) + ")."); unitType 138 Source/core/svg/SVGLengthTearOff.cpp target()->convertToSpecifiedUnits(toSVGLengthType(unitType), lengthContext, exceptionState); unitType 62 Source/core/svg/SVGLengthTearOff.h SVGLengthType unitType(); unitType 70 Source/core/svg/SVGLengthTearOff.h void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&); unitType 71 Source/core/svg/SVGLengthTearOff.h void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&); unitType 161 Source/core/svg/SVGMarkerElement.cpp m_orientAngle->baseValue()->newValueSpecifiedUnits(target->unitType(), target->valueInSpecifiedUnits()); unitType 700 Source/core/svg/SVGSVGElement.cpp if (m_width->currentValue()->unitType() == LengthTypePercentage) unitType 714 Source/core/svg/SVGSVGElement.cpp if (m_height->currentValue()->unitType() == LengthTypePercentage)