Searched refs:toLength (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DShadowList.cpp84 size_t toLength = to ? to->shadows().size() : 0; local
85 if (!fromLength && !toLength)
93 size_t maxLength = std::max(fromLength, toLength);
96 const ShadowData* toShadow = i < toLength ? &to->shadows()[i] : 0;
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAnimatedLength.cpp79 SVGLength& toLength = to->length(); local
81 toLength.setValue(toLength.value(lengthContext) + fromLength.value(lengthContext), lengthContext, ASSERT_NO_EXCEPTION);
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableLengthTest.cpp172 EXPECT_EQ(Length(-5, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom1));
173 EXPECT_EQ(Length(-15, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom3));
174 EXPECT_EQ(Length(0, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom1, NonNegativeValues));
175 EXPECT_EQ(Length(0, WebCore::Fixed), create(-5, CSSPrimitiveValue::CSS_PX)->toLength(conversionDataZoom3, NonNegativeValues));
177 EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1));
178 EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3));
179 EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1, NonNegativeValues));
180 EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom3, NonNegativeValues));
189 create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom1));
197 create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDataZoom
[all...]
H A DAnimatableLength.h76 Length toLength(const CSSToLengthConversionData&, NumberRange = AllValues) const;
H A DAnimatableLength.cpp82 Length AnimatableLength::toLength(const CSSToLengthConversionData& conversionData, NumberRange range) const function in class:WebCore::AnimatableLength
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
H A DCSSPropertyAnimation.cpp208 size_t toLength = to.size(); local
211 if (!toLength)
215 if (fromLength != toLength) {
216 if (!(fromLength % toLength))
218 else if (!(toLength % fromLength))
219 resultLength = toLength;
221 resultLength = fromLength * toLength;
225 result[i] = to[i % toLength].blend(from[i % fromLength], narrowPrecisionToFloat(progress));
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DAnimatedStyleBuilder.cpp69 return toAnimatableLength(value)->toLength(state.cssToLengthConversionData(), range);
78 return BorderImageLength(toAnimatableLength(value)->toLength(state.cssToLengthConversionData(), NonNegativeValues));
/external/icu4c/i18n/
H A Ducurr.cpp1895 int32_t toLength = 0; local
1896 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2055 int32_t toLength = 0; local
2057 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2179 int32_t toLength = 0; local
2181 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
/external/chromium_org/third_party/icu/source/i18n/
H A Ducurr.cpp1890 int32_t toLength = 0; local
1892 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);
2014 int32_t toLength = 0; local
2016 const int32_t *toArray = ures_getIntVector(toRes, &toLength, &localStatus);

Completed in 528 milliseconds