Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 25 of 52) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
DAnimatableDoubleTest.cpp54 EXPECT_EQ(5.9, AnimatableDouble::create(5.9)->toDouble()); in TEST()
55 EXPECT_EQ(-10, AnimatableDouble::create(-10)->toDouble()); in TEST()
63 …oAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble()); in TEST()
64 …, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble()); in TEST()
65 …toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())->toDouble()); in TEST()
66 …toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.5).get())->toDouble()); in TEST()
67 …toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.6).get())->toDouble()); in TEST()
68 …, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1).get())->toDouble()); in TEST()
69 …toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())->toDouble()); in TEST()
DAnimatableDouble.h52 double toDouble() const { return m_number; } in toDouble() function
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DAnimatedStyleBuilder.cpp81 return BorderImageLength(clampTo<double>(toAnimatableDouble(value)->toDouble(), 0)); in animatableValueToBorderImageLength()
90 return clampTo<T>(round(toAnimatableDouble(value)->toDouble()), min, max); in animatableValueRoundClampTo()
214 unsigned index = round(toAnimatableDouble(value)->toDouble()) - 1; in animatableValueToFontStretch()
233 int index = round(toAnimatableDouble(value)->toDouble() / 100) - 1; in animatableValueToFontWeight()
350 style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); in applyProperty()
360 style->setFlexGrow(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
363 style->setFlexShrink(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
372 style->setFloodOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); in applyProperty()
375 style->setFontSize(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
396 … style->setLineHeight(Length(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0), Percent)); in applyProperty()
[all …]
/external/chromium_org/v8/test/mjsunit/es6/
Dmath-fround.js61 ieee754float.prototype.toDouble = function() { method in ieee754float
102 assertEquals(pi.toSingle(), opt(pi.toDouble()));
103 assertEquals(pi.toSingle(), unopt(pi.toDouble()));
110 assertEquals(float.toSingle(), unopt(float.toDouble()));
111 assertEquals(float.toSingle(), opt(float.toDouble()));
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNodeSet.java151 return xstr.toDouble(); in getNumberFromNode()
774 return (s1.toDouble() < s2.toDouble()); in compareStrings()
810 return (s1.toDouble() <= s2.toDouble()); in compareStrings()
846 return (s1.toDouble() > s2.toDouble()); in compareStrings()
882 return (s1.toDouble() >= s2.toDouble()); in compareStrings()
DXString.java104 return toDouble(); in num()
114 public double toDouble() in toDouble() method in XString
DXRTreeFrag.java157 return s.toDouble(); in num()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutRect.cpp128 …ls): [x=%lf y=%lf maxX=%lf maxY=%lf]\n", x().toDouble(), y().toDouble(), maxX().toDouble(), maxY()… in show()
DTransformState.cpp56 … m_accumulatedTransform->translateRight(offset.width().toDouble(), offset.height().toDouble()); in translateTransform()
58 m_accumulatedTransform->translate(offset.width().toDouble(), offset.height().toDouble()); in translateTransform()
/external/chromium_org/third_party/WebKit/Source/platform/
DLayoutUnit.h97 double toDouble() const { return static_cast<double>(m_value) / kFixedPointDenominator; } in toDouble() function
111 operator double() const { return toDouble(); }
303 return a.toDouble() < b;
323 return a.toDouble() > b;
348 return a > b.toDouble();
419 return a.toDouble() * b;
484 return a * b.toDouble();
502 return a.toDouble() / b;
537 return a / b.toDouble();
584 return a.toDouble() + b;
[all …]
DDecimalTest.cpp1050 EXPECT_EQ(0.0, encode(0, 0, Positive).toDouble()); in TEST_F()
1051 EXPECT_EQ(-0.0, encode(0, 0, Negative).toDouble()); in TEST_F()
1053 EXPECT_EQ(1.0, encode(1, 0, Positive).toDouble()); in TEST_F()
1054 EXPECT_EQ(-1.0, encode(1, 0, Negative).toDouble()); in TEST_F()
1056 EXPECT_EQ(0.1, encode(1, -1, Positive).toDouble()); in TEST_F()
1057 EXPECT_EQ(-0.1, encode(1, -1, Negative).toDouble()); in TEST_F()
1058 EXPECT_EQ(0.3, encode(3, -1, Positive).toDouble()); in TEST_F()
1059 EXPECT_EQ(-0.3, encode(3, -1, Negative).toDouble()); in TEST_F()
1060 EXPECT_EQ(0.6, encode(6, -1, Positive).toDouble()); in TEST_F()
1061 EXPECT_EQ(-0.6, encode(6, -1, Negative).toDouble()); in TEST_F()
[all …]
DDecimal.h141 double toDouble() const;
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseDateAndTimeInputType.cpp63 return value.isFinite() ? value.toDouble() : DateComponents::invalidMilliseconds(); in valueAsDouble()
126 if (!setMillisecondToDateComponents(value.toDouble(), &date)) in serialize()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncSum.java59 sum += s.toDouble(); in execute()
DFunctionDef1Arg.java126 return str.toDouble(); in getArg0AsNumber()
/external/chromium_org/third_party/WebKit/Source/core/html/
DMediaFragmentURIParser.cpp275 fraction = digits.toDouble(); in parseNPTTime()
313 fraction = collectFraction(timeString, length, offset).toDouble(); in parseNPTTime()
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
DSVGSMILElement.cpp368 result = parse.left(parse.length() - 1).toDouble(&ok) * 60 * 60; in parseOffsetValue()
370 result = parse.left(parse.length() - 3).toDouble(&ok) * 60; in parseOffsetValue()
372 result = parse.left(parse.length() - 2).toDouble(&ok) / 1000; in parseOffsetValue()
374 result = parse.left(parse.length() - 1).toDouble(&ok); in parseOffsetValue()
376 result = parse.toDouble(&ok); in parseOffsetValue()
404 result += parse.substring(6).toDouble(&ok); in parseClockValue()
409 result += parse.substring(3).toDouble(&ok); in parseClockValue()
777 double result = value.toDouble(&ok); in repeatCount()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLString.java688 public double toDouble(); in toDouble() method
DXMLStringDefault.java808 public double toDouble() in toDouble() method in XMLStringDefault
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathValue.cpp112 double value = str.toDouble(&canConvert); in toNumber()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControlElements.cpp417 double time = value().toDouble(); in defaultEventHandler()
488 double volume = value().toDouble(); in defaultEventHandler()
511 if (value().toDouble() != volume) in setVolume()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderSliderContainer.cpp130 double percentageOffset = sliderPosition(input).toDouble(); in layout()
DFilterEffectRenderer.cpp321 absoluteTransform.translate(filterBoxRect.x().toDouble(), filterBoxRect.y().toDouble()); in prepareFilterEffect()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DAtomicString.h122 double toDouble(bool* ok = 0) const { return m_string.toDouble(ok); }
/external/chromium_org/third_party/WebKit/Source/platform/network/
DHTTPParsers.cpp185 delay = refresh.stripWhiteSpace().toDouble(&ok); in parseHTTPRefresh()
189 delay = refresh.left(pos).stripWhiteSpace().toDouble(&ok); in parseHTTPRefresh()
838 double maxAge = directives[i].second.toDouble(&ok); in parseCacheControlDirectives()

123