Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/animation/
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()
231 int index = round(toAnimatableDouble(value)->toDouble() / 100) - 1; in animatableValueToFontWeight()
349 style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); in applyProperty()
359 style->setFlexGrow(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
362 style->setFlexShrink(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
371 style->setFloodOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); in applyProperty()
374 style->setFontSize(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); in applyProperty()
392 … style->setLineHeight(Length(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0), Percent)); in applyProperty()
398 style->setLetterSpacing(clampTo<float>(toAnimatableDouble(value)->toDouble())); in applyProperty()
[all …]
/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/
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()
DLayoutRect.cpp128 …ls): [x=%lf y=%lf maxX=%lf maxY=%lf]\n", x().toDouble(), y().toDouble(), maxX().toDouble(), maxY()… in show()
/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(); }
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() + 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/v8/test/mjsunit/es6/
Dmath-fround.js43 ieee754float.prototype.toDouble = function() { method in ieee754float
84 assertEquals(pi.toSingle(), Math.fround(pi.toDouble()));
90 assertEquals(float.toSingle(), Math.fround(float.toDouble()));
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseDateAndTimeInputType.cpp63 return value.isFinite() ? value.toDouble() : DateComponents::invalidMilliseconds(); in valueAsDouble()
130 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.cpp363 result = parse.left(parse.length() - 1).toDouble(&ok) * 60 * 60; in parseOffsetValue()
365 result = parse.left(parse.length() - 3).toDouble(&ok) * 60; in parseOffsetValue()
367 result = parse.left(parse.length() - 2).toDouble(&ok) / 1000; in parseOffsetValue()
369 result = parse.left(parse.length() - 1).toDouble(&ok); in parseOffsetValue()
371 result = parse.toDouble(&ok); in parseOffsetValue()
399 result += parse.substring(6).toDouble(&ok); in parseClockValue()
404 result += parse.substring(3).toDouble(&ok); in parseClockValue()
768 double result = value.string().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.cpp406 double time = value().toDouble(); in defaultEventHandler()
478 double volume = value().toDouble(); in defaultEventHandler()
501 if (value().toDouble() != volume) in setVolume()
DSliderThumbElement.cpp175 double percentageOffset = sliderPosition(input).toDouble(); in layout()
299 double closestFraction = stepRange.proportionFromValue(closest).toDouble(); in setPositionFromPoint()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFilterEffectRenderer.cpp324 absoluteTransform.translate(filterBoxRect.x().toDouble(), filterBoxRect.y().toDouble()); in prepareFilterEffect()
/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()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DAtomicString.h133 double toDouble(bool* ok = 0) const { return m_string.toDouble(ok); }

12