Lines Matching defs:Length
26 #include "Length.h"
39 static Length parseLength(const UChar* data, unsigned length)
42 return Length(1, Relative);
66 return Length(r, Percent);
67 return Length(1, Relative);
72 return Length(r, Relative);
73 return Length(1, Relative);
76 return Length(r, Fixed);
77 return Length(0, Relative);
88 PassOwnArrayPtr<Length> newCoordsArray(const String& string, int& len)
105 OwnArrayPtr<Length> r = adoptArrayPtr(new Length[len]);
122 PassOwnArrayPtr<Length> newLengthArray(const String& string, int& len)
131 OwnArrayPtr<Length> r = adoptArrayPtr(new Length[len]);
198 Length::Length(PassRefPtr<CalculationValue> calc)
206 Length Length::blendMixedTypes(const Length& from, double progress) const
215 return Length(CalculationValue::create(blend.release(), CalculationRangeAll));
218 PassRefPtr<CalculationValue> Length::calculationValue() const
224 void Length::incrementCalculatedRef() const
230 void Length::decrementCalculatedRef() const
239 float Length::nonNanCalculatedValue(int maxValue) const
248 bool Length::isCalculatedEqual(const Length& o) const
257 COMPILE_ASSERT(sizeof(Length) == sizeof(SameSizeAsLength), length_should_stay_small);