Home
last modified time | relevance | path

Searched refs:UnitTypes (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValue.h69 enum UnitTypes { enum
151 static UnitCategory unitCategory(CSSPrimitiveValue::UnitTypes);
205 …static PassRefPtr<CSSPrimitiveValue> create(double value, UnitTypes type) { return adoptRef(new CS… in create()
206 …static PassRefPtr<CSSPrimitiveValue> create(const String& value, UnitTypes type) { return adoptRef… in create()
218 static PassRefPtr<CSSPrimitiveValue> createAllowingMarginQuirk(double value, UnitTypes type) in createAllowingMarginQuirk()
325 static UnitTypes canonicalUnitTypeForCategory(UnitCategory);
340 CSSPrimitiveValue(const String&, UnitTypes);
341 CSSPrimitiveValue(double, UnitTypes);
367 bool getDoubleValueInternal(UnitTypes targetUnitType, double* result) const;
DCSSCalculationValue.cpp50 static CalculationCategory unitCategory(CSSPrimitiveValue::UnitTypes type) in unitCategory()
76 static bool hasDoubleValue(CSSPrimitiveValue::UnitTypes type) in hasDoubleValue()
199 …static PassRefPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitTypes type, b… in create()
286 virtual CSSPrimitiveValue::UnitTypes primitiveType() const in primitiveType()
288 return CSSPrimitiveValue::UnitTypes(m_value->primitiveType()); in primitiveType()
293 …: CSSCalcExpressionNode(unitCategory((CSSPrimitiveValue::UnitTypes)value->primitiveType()), isInte… in CSSCalcPrimitiveValue()
371 …CSSPrimitiveValue::UnitTypes evaluationType = isInteger ? CSSPrimitiveValue::CSS_PARSER_INTEGER : … in createSimplified()
378 CSSPrimitiveValue::UnitTypes leftType = leftSide->primitiveType(); in createSimplified()
380 CSSPrimitiveValue::UnitTypes rightType = rightSide->primitiveType(); in createSimplified()
385 …CSSPrimitiveValue::UnitTypes canonicalType = CSSPrimitiveValue::canonicalUnitTypeForCategory(leftU… in createSimplified()
[all …]
DCSSPrimitiveValue.cpp53 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType) in isValidCSSUnitTypeForDoubleConversion()
116 CSSPrimitiveValue::UnitCategory CSSPrimitiveValue::unitCategory(CSSPrimitiveValue::UnitTypes type) in unitCategory()
252 CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitTypes type) in CSSPrimitiveValue()
260 CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitTypes type) in CSSPrimitiveValue()
424 switch (static_cast<UnitTypes>(m_primitiveUnitType)) { in cleanup()
685 bool success = getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); in getDoubleValue()
697 getDoubleValueInternal(static_cast<UnitTypes>(unitType), &result); in getDoubleValue()
706 CSSPrimitiveValue::UnitTypes CSSPrimitiveValue::canonicalUnitTypeForCategory(UnitCategory category) in canonicalUnitTypeForCategory()
732 bool CSSPrimitiveValue::getDoubleValueInternal(UnitTypes requestedUnitType, double* result) const in getDoubleValueInternal()
734 …if (!isValidCSSUnitTypeForDoubleConversion(static_cast<UnitTypes>(m_primitiveUnitType)) || !isVali… in getDoubleValueInternal()
[all …]
DCSSValuePool.h53 PassRefPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitTypes);
54 …PassRefPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitTypes type) … in createValue()
DSVGCSSParser.cpp274 …parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); in parseSVGValue()
311 …parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); in parseSVGValue()
313 …parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); in parseSVGValue()
343 … ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit)); in parseSVGStrokeDasharray()
DCSSParserValues.cpp102 CSSPrimitiveValue::UnitTypes primitiveUnit = static_cast<CSSPrimitiveValue::UnitTypes>(unit); in createCSSValue()
DMediaQueryExp.cpp223 … cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); in create()
226 … cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit); in create()
DCSSValue.idl26 // UnitTypes
DCSSValuePool.cpp89 PassRefPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitTypes in createValue()
DCSSCalculationValue.h79 virtual CSSPrimitiveValue::UnitTypes primitiveType() const = 0;
DCSSPrimitiveValue.idl23 // UnitTypes
DCSSParser-in.cpp398 …h(const CharacterType* characters, unsigned& length, CSSPrimitiveValue::UnitTypes& unit, double& n… in parseSimpleLength()
427 CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; in parseSimpleLengthValue()
990 CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; in parseTransformTranslateArguments()
1510 …return cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->… in createPrimitiveNumericValue()
2266 static_cast<CSSPrimitiveValue::UnitTypes>(value->unit)); in parseValue()
5872 …ng, const CharacterType* end, const char terminator, CSSPrimitiveValue::UnitTypes& expect, int& va… in parseColorIntOrPercentage()
6031 CSSPrimitiveValue::UnitTypes expect = CSSPrimitiveValue::CSS_UNKNOWN; in fastParseColorInternal()
7223 …result = cssValuePool().createValue(a->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(a->unit)); in parseDeprecatedGradientPoint()
8741 …append(cssValuePool().createValue(amount, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); in parseBuiltinFilterArguments()
8755 …cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitTypes>(value->unit))); in parseBuiltinFilterArguments()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableLengthTest.cpp59 PassRefPtr<AnimatableLength> create(double value, CSSPrimitiveValue::UnitTypes type) in create()
64 …reate(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValu… in create()
69 …eCalc(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValu… in createCalc()
DAnimatableLength.cpp157 …itiveValue::create(clampedNumber(range), static_cast<CSSPrimitiveValue::UnitTypes>(numberTypeToPri… in toCSSPrimitiveValue()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.h254 …bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes, bool import…
536 …ttributeStyle(MutableStylePropertySet*, CSSPropertyID, double value, CSSPrimitiveValue::UnitTypes);
DElement.cpp3519 …tyleProperty(CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit, bool impor… in setInlineStyleProperty()
3577 …StylePropertySet* style, CSSPropertyID propertyID, double value, CSSPrimitiveValue::UnitTypes unit) in addPropertyToPresentationAttributeStyle()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp361 CSSPrimitiveValue::UnitTypes cssType = CSSPrimitiveValue::CSS_UNKNOWN; in toCSSPrimitiveValue()
/external/chromium_org/tools/deep_memory_profiler/tests/data/heap.01234.symmap/
Dchrome.abcdef.nm424 000000000327e470 t WebCore::CSSPrimitiveValue::create(double, WebCore::CSSPrimitiveValue::UnitTypes
431 00000000032a2e20 t WebCore::CSSValuePool::createValue(double, WebCore::CSSPrimitiveValue::UnitTypes