• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/

Lines Matching defs:Length

45 struct Length {
48 Length(LengthType = Auto);
50 Length(int value, LengthType, bool hasQuirk = false);
51 Length(LayoutUnit value, LengthType, bool hasQuirk = false);
52 Length(float value, LengthType, bool hasQuirk = false);
53 Length(double value, LengthType, bool hasQuirk = false);
55 explicit Length(PassRef<CalculationValue>);
57 Length(const Length&);
58 Length(Length&&);
59 Length& operator=(const Length&);
60 Length& operator=(Length&&);
62 ~Length();
67 Length& operator*=(float);
71 bool operator==(const Length&) const;
72 bool operator!=(const Length&) const;
93 // FIXME calc: https://bugs.webkit.org/show_bug.cgi?id=80357. A calculated Length
110 Length blend(const Length& from, double progress) const;
117 bool isCalculatedEqual(const Length&) const;
118 Length blendMixedTypes(const Length& from, double progress) const;
133 std::unique_ptr<Length[]> newCoordsArray(const String&, int& length);
134 std::unique_ptr<Length[]> newLengthArray(const String&, int& length);
136 inline Length::Length(LengthType type)
142 inline Length::Length(int value, LengthType type, bool hasQuirk)
148 inline Length::Length(LayoutUnit value, LengthType type, bool hasQuirk)
154 inline Length::Length(float value, LengthType type, bool hasQuirk)
160 inline Length::Length(double value, LengthType type, bool hasQuirk)
166 inline Length::Length(const Length& other)
171 memcpy(this, &other, sizeof(Length));
174 inline Length::Length(Length&& other)
176 memcpy(this, &other, sizeof(Length));
180 inline Length& Length::operator=(const Length& other)
187 memcpy(this, &other, sizeof(Length));
191 inline Length& Length::operator=(Length&& other)
199 memcpy(this, &other, sizeof(Length));
204 inline Length::~Length()
210 inline bool Length::operator==(const Length& other) const
222 inline bool Length::operator!=(const Length& other) const
227 inline Length& Length::operator*=(float value)
241 inline float Length::value() const
248 inline int Length::intValue() const
258 inline float Length::percent() const
264 inline LengthType Length::type() const
269 inline bool Length::hasQuirk() const
274 inline void Length::setHasQuirk(bool hasQuirk)
279 inline void Length::setValue(LengthType type, int value)
288 inline void Length::setValue(LengthType type, float value)
297 inline void Length::setValue(LengthType type, LayoutUnit value)
306 inline bool Length::isAuto() const
311 inline bool Length::isFixed() const
316 inline bool Length::isMaxContent() const
321 inline bool Length::isMinContent() const
326 inline bool Length::isNegative() const
333 inline bool Length::isPercentNotCalculated() const
338 inline bool Length::isRelative() const
343 inline bool Length::isUndefined() const
348 inline bool Length::isPercent() const
353 inline bool Length::isPositive() const
362 inline bool Length::isZero() const
370 inline bool Length::isCalculated() const
375 inline bool Length::isLegacyIntrinsic() const
380 inline bool Length::isIntrinsic() const
385 inline bool Length::isIntrinsicOrAuto() const
390 inline bool Length::isSpecified() const
395 inline bool Length::isSpecifiedOrIntrinsic() const
401 inline Length Length::blend(const Length& from, double progress) const
419 return Length(WebCore::blend(fromPercent, toPercent, progress), Percent);
424 return Length(WebCore::blend(fromValue, toValue, progress), resultType);