Home
last modified time | relevance | path

Searched refs:computeLength (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleBuilderConverter.cpp141 int x = item->x->computeLength<int>(state.cssToLengthConversionData()); in convertShadow()
142 int y = item->y->computeLength<int>(state.cssToLengthConversionData()); in convertShadow()
143 … int blur = item->blur ? item->blur->computeLength<int>(state.cssToLengthConversionData()) : 0; in convertShadow()
144 …int spread = item->spread ? item->spread->computeLength<int>(state.cssToLengthConversionData()) : … in convertShadow()
165 …return primitiveValue->computeLength<float>(state.cssToLengthConversionData().copyWithAdjustedZoom… in convertSpacing()
166 return primitiveValue->computeLength<float>(state.cssToLengthConversionData()); in convertSpacing()
DStyleBuilderConverter.h62 return toCSSPrimitiveValue(value)->computeLength<T>(state.cssToLengthConversionData()); in convertComputedLength()
81 T result = primitiveValue->computeLength<T>(state.cssToLengthConversionData()); in convertLineWidth()
83 …T originalLength = primitiveValue->computeLength<T>(state.cssToLengthConversionData().copyWithAdju… in convertLineWidth()
DFilterOperationResolver.cpp481 …IntPoint location(item->x->computeLength<int>(conversionData), item->y->computeLength<int>(convers… in createFilterOperations()
482 int blur = item->blur ? item->blur->computeLength<int>(conversionData) : 0; in createFilterOperations()
DViewportStyleResolver.cpp187 …return primitiveValue->computeLength<Length>(CSSToLengthConversionData(m_document->renderStyle(), … in viewportLengthValue()
DStyleBuilderCustom.cpp278 …lineHeight = primitiveValue->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjus… in applyValueCSSPropertyLineHeight()
438 … width = first->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0)); in applyValueCSSPropertySize()
439 …height = second->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0)… in applyValueCSSPropertySize()
457 …width = height = primitiveValue->computeLength<Length>(state.cssToLengthConversionData().copyWithA… in applyValueCSSPropertySize()
1443 …width = CSSPrimitiveValue::create(result, CSSPrimitiveValue::CSS_EMS)->computeLength<float>(state.… in oldApplyProperty()
1447 width = primitiveValue->computeLength<float>(state.cssToLengthConversionData()); in oldApplyProperty()
1473 … perspectiveValue = primitiveValue->computeLength<float>(state.cssToLengthConversionData()); in oldApplyProperty()
1476 …:create(primitiveValue->getDoubleValue(), CSSPrimitiveValue::CSS_PX)->computeLength<float>(state.c… in oldApplyProperty()
DFontBuilder.cpp328 …size = primitiveValue->computeLength<float>(CSSToLengthConversionData(parentStyle, rootElementStyl… in setFontSizeValue()
DCSSToStyleMap.cpp605 return value.computeLength<Length>(conversionData); in toBorderImageLength()
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryEvaluator.cpp338 static bool computeLength(CSSValue* value, bool strict, RenderStyle* initialStyle, int& result) in computeLength() function
353 …result = primitiveValue->computeLength<int>(CSSToLengthConversionData(initialStyle, initialStyle, … in computeLength()
364 if (!computeLength(value, !frame->document()->inQuirksMode(), style, length)) in deviceHeightMediaFeatureEval()
380 if (!computeLength(value, !frame->document()->inQuirksMode(), style, length)) in deviceWidthMediaFeatureEval()
401 …return computeLength(value, !frame->document()->inQuirksMode(), style, length) && compareValue(hei… in heightMediaFeatureEval()
416 …return computeLength(value, !frame->document()->inQuirksMode(), style, length) && compareValue(wid… in widthMediaFeatureEval()
DCSSPrimitiveValue.cpp520 template<> int CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) in computeLength() function in WebCore::CSSPrimitiveValue
525 template<> unsigned CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionDat… in computeLength() function in WebCore::CSSPrimitiveValue
530 template<> Length CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) in computeLength() function in WebCore::CSSPrimitiveValue
535 template<> short CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) in computeLength() function in WebCore::CSSPrimitiveValue
540 template<> unsigned short CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& convers… in computeLength() function in WebCore::CSSPrimitiveValue
545 template<> float CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) in computeLength() function in WebCore::CSSPrimitiveValue
550 template<> double CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) in computeLength() function in WebCore::CSSPrimitiveValue
DCSSCalculationValue.cpp232 …return adoptPtr(new CalcExpressionLength(Length(m_value->computeLength<float>(conversionData), Web… in toCalcValue()
262 return m_value->computeLength<double>(conversionData); in computeLengthPx()
DCSSGradientValue.cpp188 length = stop.m_position->computeLength<float>(conversionData); in addStops()
420 return value->computeLength<float>(conversionData); in positionFromValue()
894 result = radius->computeLength<float>(conversionData); in resolveRadius()
DCSSPrimitiveValue.h257 template<typename T> T computeLength(const CSSToLengthConversionData&);
DCSSPrimitiveValueMappings.h4448 return computeLength<Length>(conversionData); in convertToLength()
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
DStyleBuilderFunctions.cpp.tmpl146 …{{ set_value(property) }}(primitiveValue->computeLength<{{property.type_name}}>(state.cssToLengthC…