/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | AnimatableDoubleTest.cpp | 54 EXPECT_EQ(5.9, AnimatableDouble::create(5.9)->toDouble()); 55 EXPECT_EQ(-10, AnimatableDouble::create(-10)->toDouble()); 63 EXPECT_EQ(5, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble()); 64 EXPECT_EQ(10, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble()); 65 EXPECT_EQ(14, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())->toDouble()); 66 EXPECT_EQ(15, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.5).get())->toDouble()); 67 EXPECT_EQ(16, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.6).get())->toDouble()); 68 EXPECT_EQ(20, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1).get())->toDouble()); 69 EXPECT_EQ(25, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())->toDouble());
|
H A D | AnimatableDouble.h | 52 double toDouble() const { return m_number; } function in class:WebCore::FINAL
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | AnimatedStyleBuilder.cpp | 81 return BorderImageLength(clampTo<double>(toAnimatableDouble(value)->toDouble(), 0)); 90 return clampTo<T>(round(toAnimatableDouble(value)->toDouble()), min, max); 231 int index = round(toAnimatableDouble(value)->toDouble() / 100) - 1; 349 style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); 359 style->setFlexGrow(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); 362 style->setFlexShrink(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); 371 style->setFloodOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); 374 style->setFontSize(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); 392 style->setLineHeight(Length(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0), Percent)); 398 style->setLetterSpacing(clampTo<float>(toAnimatableDouble(value)->toDouble())); [all...] |
/external/chromium_org/v8/test/mjsunit/es6/ |
H A D | math-fround.js | 43 ieee754float.prototype.toDouble = function() { 84 assertEquals(pi.toSingle(), Math.fround(pi.toDouble())); 90 assertEquals(float.toSingle(), Math.fround(float.toDouble()));
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncSum.java | 59 sum += s.toDouble();
|
H A D | FunctionDef1Arg.java | 126 return str.toDouble();
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | LayoutRect.cpp | 128 printf("Rect (in pixels): [x=%lf y=%lf maxX=%lf maxY=%lf]\n", x().toDouble(), y().toDouble(), maxX().toDouble(), maxY().toDouble());
|
H A D | TransformState.cpp | 56 m_accumulatedTransform->translateRight(offset.width().toDouble(), offset.height().toDouble()); 58 m_accumulatedTransform->translate(offset.width().toDouble(), offset.height().toDouble());
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
H A D | XNodeSet.java | 151 return xstr.toDouble(); 774 return (s1.toDouble() < s2.toDouble()); 810 return (s1.toDouble() <= s2.toDouble()); 846 return (s1.toDouble() > s2.toDouble()); 882 return (s1.toDouble() >= s2.toDouble());
|
H A D | XRTreeFrag.java | 157 return s.toDouble();
|
H A D | XString.java | 104 return toDouble(); 114 public double toDouble() method in class:XString
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LayoutUnit.h | 97 double toDouble() const { return static_cast<double>(m_value) / kFixedPointDenominator; } function in class:WebCore::LayoutUnit 111 operator double() const { return toDouble(); } 310 return a.toDouble() < b; 330 return a.toDouble() > b; 355 return a > b.toDouble(); 426 return a.toDouble() * b; 491 return a * b.toDouble(); 509 return a.toDouble() / b; 544 return a / b.toDouble(); 591 return a.toDouble() [all...] |
H A D | DecimalTest.cpp | 1050 EXPECT_EQ(0.0, encode(0, 0, Positive).toDouble()); 1051 EXPECT_EQ(-0.0, encode(0, 0, Negative).toDouble()); 1053 EXPECT_EQ(1.0, encode(1, 0, Positive).toDouble()); 1054 EXPECT_EQ(-1.0, encode(1, 0, Negative).toDouble()); 1056 EXPECT_EQ(0.1, encode(1, -1, Positive).toDouble()); 1057 EXPECT_EQ(-0.1, encode(1, -1, Negative).toDouble()); 1058 EXPECT_EQ(0.3, encode(3, -1, Positive).toDouble()); 1059 EXPECT_EQ(-0.3, encode(3, -1, Negative).toDouble()); 1060 EXPECT_EQ(0.6, encode(6, -1, Positive).toDouble()); 1061 EXPECT_EQ(-0.6, encode(6, -1, Negative).toDouble()); [all...] |
H A D | Decimal.h | 141 double toDouble() const;
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | BaseDateAndTimeInputType.cpp | 63 return value.isFinite() ? value.toDouble() : DateComponents::invalidMilliseconds(); 130 if (!setMillisecondToDateComponents(value.toDouble(), &date))
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | XMLString.java | 688 public double toDouble(); method in interface:XMLString
|
H A D | XMLStringDefault.java | 808 public double toDouble() method in class:XMLStringDefault
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
H A D | XPathValue.cpp | 102 // String::toDouble() supports exponential notation, which is not 112 double value = str.toDouble(&canConvert);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | MediaFragmentURIParser.cpp | 275 fraction = digits.toDouble(); 313 fraction = collectFraction(timeString, length, offset).toDouble();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/ |
H A D | SVGSMILElement.cpp | 363 result = parse.left(parse.length() - 1).toDouble(&ok) * 60 * 60; 365 result = parse.left(parse.length() - 3).toDouble(&ok) * 60; 367 result = parse.left(parse.length() - 2).toDouble(&ok) / 1000; 369 result = parse.left(parse.length() - 1).toDouble(&ok); 371 result = parse.toDouble(&ok); 399 result += parse.substring(6).toDouble(&ok); 404 result += parse.substring(3).toDouble(&ok); 768 double result = value.string().toDouble(&ok);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | MediaControlElements.cpp | 406 double time = value().toDouble(); 478 double volume = value().toDouble(); 501 if (value().toDouble() != volume)
|
H A D | SliderThumbElement.cpp | 175 double percentageOffset = sliderPosition(input).toDouble(); 299 double closestFraction = stepRange.proportionFromValue(closest).toDouble();
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
H A D | HTTPParsers.cpp | 185 delay = refresh.stripWhiteSpace().toDouble(&ok); 189 delay = refresh.left(pos).stripWhiteSpace().toDouble(&ok); 838 double maxAge = directives[i].second.toDouble(&ok);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | FilterEffectRenderer.cpp | 324 absoluteTransform.translate(filterBoxRect.x().toDouble(), filterBoxRect.y().toDouble());
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | AtomicString.h | 133 double toDouble(bool* ok = 0) const { return m_string.toDouble(ok); } function in class:WTF::AtomicString
|