Searched refs:toDouble (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableDoubleTest.cpp54 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 DAnimatableDouble.h52 double toDouble() const { return m_number; } function in class:WebCore::FINAL
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DAnimatedStyleBuilder.cpp81 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 Dmath-fround.js43 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 DFuncSum.java59 sum += s.toDouble();
H A DFunctionDef1Arg.java126 return str.toDouble();
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DLayoutRect.cpp128 printf("Rect (in pixels): [x=%lf y=%lf maxX=%lf maxY=%lf]\n", x().toDouble(), y().toDouble(), maxX().toDouble(), maxY().toDouble());
H A DTransformState.cpp56 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 DXNodeSet.java151 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 DXRTreeFrag.java157 return s.toDouble();
H A DXString.java104 return toDouble();
114 public double toDouble() method in class:XString
/external/chromium_org/third_party/WebKit/Source/platform/
H A DLayoutUnit.h97 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 DDecimalTest.cpp1050 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 DDecimal.h141 double toDouble() const;
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DBaseDateAndTimeInputType.cpp63 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 DXMLString.java688 public double toDouble(); method in interface:XMLString
H A DXMLStringDefault.java808 public double toDouble() method in class:XMLStringDefault
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathValue.cpp102 // 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 DMediaFragmentURIParser.cpp275 fraction = digits.toDouble();
313 fraction = collectFraction(timeString, length, offset).toDouble();
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
H A DSVGSMILElement.cpp363 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 DMediaControlElements.cpp406 double time = value().toDouble();
478 double volume = value().toDouble();
501 if (value().toDouble() != volume)
H A DSliderThumbElement.cpp175 double percentageOffset = sliderPosition(input).toDouble();
299 double closestFraction = stepRange.proportionFromValue(closest).toDouble();
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DHTTPParsers.cpp185 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 DFilterEffectRenderer.cpp324 absoluteTransform.translate(filterBoxRect.x().toDouble(), filterBoxRect.y().toDouble());
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DAtomicString.h133 double toDouble(bool* ok = 0) const { return m_string.toDouble(ok); } function in class:WTF::AtomicString

Completed in 692 milliseconds

12