toDouble 54 Source/core/animation/AnimatableDouble.h double toDouble() const { return m_number; } toDouble 64 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(5.9, AnimatableDouble::create(5.9)->toDouble()); toDouble 65 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(-10, AnimatableDouble::create(-10)->toDouble()); toDouble 73 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(5, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), -0.5).get())->toDouble()); toDouble 74 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(10, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0).get())->toDouble()); toDouble 75 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(14, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.4).get())->toDouble()); toDouble 76 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(15, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.5).get())->toDouble()); toDouble 77 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(16, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 0.6).get())->toDouble()); toDouble 78 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(20, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1).get())->toDouble()); toDouble 79 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(25, toAnimatableDouble(AnimatableValue::interpolate(from10.get(), to20.get(), 1.5).get())->toDouble()); toDouble 84 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(-10, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(-2).get(), AnimatableDouble::create(-8).get()).get())->toDouble()); toDouble 85 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(0, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(50).get(), AnimatableDouble::create(-50).get()).get())->toDouble()); toDouble 86 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(10, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(4).get(), AnimatableDouble::create(6).get()).get())->toDouble()); toDouble 87 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(20, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(0).get(), AnimatableDouble::create(20).get()).get())->toDouble()); toDouble 88 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_EQ(30, toAnimatableDouble(AnimatableValue::add(AnimatableDouble::create(30).get(), AnimatableDouble::create(0).get()).get())->toDouble()); toDouble 424 Source/core/animation/CompositorAnimations.cpp blink::WebFloatKeyframe floatKeyframe(keyframes[i]->offset(), toAnimatableDouble(value)->toDouble()); toDouble 81 Source/core/css/resolver/AnimatedStyleBuilder.cpp return BorderImageLength(clampTo<double>(toAnimatableDouble(value)->toDouble(), 0)); toDouble 90 Source/core/css/resolver/AnimatedStyleBuilder.cpp return clampTo<T>(round(toAnimatableDouble(value)->toDouble()), min, max); toDouble 231 Source/core/css/resolver/AnimatedStyleBuilder.cpp int index = round(toAnimatableDouble(value)->toDouble() / 100) - 1; toDouble 349 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setFillOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); toDouble 358 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setFlexGrow(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); toDouble 361 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setFlexShrink(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); toDouble 370 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setFloodOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); toDouble 373 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setFontSize(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0)); toDouble 394 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setLineHeight(Length(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0), Percent)); toDouble 400 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setLetterSpacing(clampTo<float>(toAnimatableDouble(value)->toDouble())); toDouble 431 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, nextafterf(1, 0))); toDouble 468 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setStopOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); toDouble 477 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setStrokeMiterLimit(clampTo<float>(toAnimatableDouble(value)->toDouble(), 1)); toDouble 480 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setStrokeOpacity(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); toDouble 517 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setColumnGap(clampTo(toAnimatableDouble(value)->toDouble(), 0)); toDouble 524 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setColumnWidth(clampTo(toAnimatableDouble(value)->toDouble(), std::numeric_limits<float>::epsilon())); toDouble 558 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setPerspective(clampTo<float>(toAnimatableDouble(value)->toDouble())); toDouble 582 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setShapeImageThreshold(clampTo<float>(toAnimatableDouble(value)->toDouble(), 0, 1)); toDouble 599 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setTransformOriginZ(clampTo<float>(toAnimatableDouble(animatableLengthPoint3D->z())->toDouble())); toDouble 612 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setTransformOriginZ(toAnimatableDouble(value)->toDouble()); toDouble 621 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setWordSpacing(clampTo<float>(toAnimatableDouble(value)->toDouble())); toDouble 630 Source/core/css/resolver/AnimatedStyleBuilder.cpp style->setZoom(clampTo<float>(toAnimatableDouble(value)->toDouble(), std::numeric_limits<float>::denorm_min())); toDouble 1833 Source/core/html/HTMLInputElement.cpp parameters.step = stepRange.step().toDouble(); toDouble 1834 Source/core/html/HTMLInputElement.cpp parameters.stepBase = stepRange.stepBase().toDouble(); toDouble 1850 Source/core/html/HTMLInputElement.cpp suggestion.value = m_inputType->parseToNumber(option->value(), Decimal::nan()).toDouble(); toDouble 275 Source/core/html/MediaFragmentURIParser.cpp fraction = digits.toDouble(); toDouble 313 Source/core/html/MediaFragmentURIParser.cpp fraction = collectFraction(timeString, length, offset).toDouble(); toDouble 64 Source/core/html/forms/BaseDateAndTimeInputType.cpp return value.isFinite() ? value.toDouble() : DateComponents::invalidMilliseconds(); toDouble 131 Source/core/html/forms/BaseDateAndTimeInputType.cpp if (!setMillisecondToDateComponents(value.toDouble(), &date)) toDouble 505 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp setMillisecondToDateComponents(layoutParameters.stepRange.minimum().toDouble(), &date); toDouble 293 Source/core/html/forms/InputType.cpp return createStepRange(RejectAny).minimum().toDouble(); toDouble 298 Source/core/html/forms/InputType.cpp return createStepRange(RejectAny).maximum().toDouble(); toDouble 126 Source/core/html/parser/HTMLParserIdioms.cpp double value = string.toDouble(&valid); toDouble 430 Source/core/html/shadow/DateTimeEditElement.cpp step.step = static_cast<int>((stepMilliseconds / msPerFieldUnitDecimal).toDouble()); toDouble 431 Source/core/html/shadow/DateTimeEditElement.cpp step.stepBase = static_cast<int>((stepRange().stepBase() / msPerFieldUnitDecimal).floor().remainder(msPerFieldSizeDecimal / msPerFieldUnitDecimal).toDouble()); toDouble 365 Source/core/html/shadow/MediaControlElements.cpp double time = value().toDouble(); toDouble 432 Source/core/html/shadow/MediaControlElements.cpp double volume = value().toDouble(); toDouble 455 Source/core/html/shadow/MediaControlElements.cpp if (value().toDouble() != volume) toDouble 170 Source/core/html/shadow/SliderThumbElement.cpp double percentageOffset = sliderPosition(input).toDouble(); toDouble 289 Source/core/html/shadow/SliderThumbElement.cpp double closestFraction = stepRange.proportionFromValue(closest).toDouble(); toDouble 226 Source/core/page/WindowFeatures.cpp double parsedNumber = it->value.toDouble(&ok); toDouble 331 Source/core/rendering/FilterEffectRenderer.cpp absoluteTransform.translate(filterBoxRect.x().toDouble(), filterBoxRect.y().toDouble()); toDouble 360 Source/core/svg/animation/SVGSMILElement.cpp result = parse.left(parse.length() - 1).toDouble(&ok) * 60 * 60; toDouble 362 Source/core/svg/animation/SVGSMILElement.cpp result = parse.left(parse.length() - 3).toDouble(&ok) * 60; toDouble 364 Source/core/svg/animation/SVGSMILElement.cpp result = parse.left(parse.length() - 2).toDouble(&ok) / 1000; toDouble 366 Source/core/svg/animation/SVGSMILElement.cpp result = parse.left(parse.length() - 1).toDouble(&ok); toDouble 368 Source/core/svg/animation/SVGSMILElement.cpp result = parse.toDouble(&ok); toDouble 396 Source/core/svg/animation/SVGSMILElement.cpp result += parse.substring(6).toDouble(&ok); toDouble 401 Source/core/svg/animation/SVGSMILElement.cpp result += parse.substring(3).toDouble(&ok); toDouble 763 Source/core/svg/animation/SVGSMILElement.cpp double result = value.string().toDouble(&ok); toDouble 358 Source/core/xml/XPathGrammar.y $$ = new Number($1->toDouble()); toDouble 103 Source/core/xml/XPathValue.cpp double value = str.toDouble(&canConvert); toDouble 926 Source/platform/Decimal.cpp const double doubleValue = toString().toDouble(&valid); toDouble 141 Source/platform/Decimal.h double toDouble() const; toDouble 1050 Source/platform/DecimalTest.cpp EXPECT_EQ(0.0, encode(0, 0, Positive).toDouble()); toDouble 1051 Source/platform/DecimalTest.cpp EXPECT_EQ(-0.0, encode(0, 0, Negative).toDouble()); toDouble 1053 Source/platform/DecimalTest.cpp EXPECT_EQ(1.0, encode(1, 0, Positive).toDouble()); toDouble 1054 Source/platform/DecimalTest.cpp EXPECT_EQ(-1.0, encode(1, 0, Negative).toDouble()); toDouble 1056 Source/platform/DecimalTest.cpp EXPECT_EQ(0.1, encode(1, -1, Positive).toDouble()); toDouble 1057 Source/platform/DecimalTest.cpp EXPECT_EQ(-0.1, encode(1, -1, Negative).toDouble()); toDouble 1058 Source/platform/DecimalTest.cpp EXPECT_EQ(0.3, encode(3, -1, Positive).toDouble()); toDouble 1059 Source/platform/DecimalTest.cpp EXPECT_EQ(-0.3, encode(3, -1, Negative).toDouble()); toDouble 1060 Source/platform/DecimalTest.cpp EXPECT_EQ(0.6, encode(6, -1, Positive).toDouble()); toDouble 1061 Source/platform/DecimalTest.cpp EXPECT_EQ(-0.6, encode(6, -1, Negative).toDouble()); toDouble 1062 Source/platform/DecimalTest.cpp EXPECT_EQ(0.7, encode(7, -1, Positive).toDouble()); toDouble 1063 Source/platform/DecimalTest.cpp EXPECT_EQ(-0.7, encode(7, -1, Negative).toDouble()); toDouble 1065 Source/platform/DecimalTest.cpp EXPECT_EQ(0.01, encode(1, -2, Positive).toDouble()); toDouble 1066 Source/platform/DecimalTest.cpp EXPECT_EQ(0.001, encode(1, -3, Positive).toDouble()); toDouble 1067 Source/platform/DecimalTest.cpp EXPECT_EQ(0.0001, encode(1, -4, Positive).toDouble()); toDouble 1068 Source/platform/DecimalTest.cpp EXPECT_EQ(0.00001, encode(1, -5, Positive).toDouble()); toDouble 1070 Source/platform/DecimalTest.cpp EXPECT_EQ(1e+308, encode(1, 308, Positive).toDouble()); toDouble 1071 Source/platform/DecimalTest.cpp EXPECT_EQ(1e-307, encode(1, -307, Positive).toDouble()); toDouble 1073 Source/platform/DecimalTest.cpp EXPECT_TRUE(std::isinf(encode(1, 1000, Positive).toDouble())); toDouble 1074 Source/platform/DecimalTest.cpp EXPECT_EQ(0.0, encode(1, -1000, Positive).toDouble()); toDouble 1079 Source/platform/DecimalTest.cpp EXPECT_TRUE(std::isinf(Decimal::infinity(Decimal::Positive).toDouble())); toDouble 1080 Source/platform/DecimalTest.cpp EXPECT_TRUE(std::isinf(Decimal::infinity(Decimal::Negative).toDouble())); toDouble 1081 Source/platform/DecimalTest.cpp EXPECT_TRUE(std::isnan(Decimal::nan().toDouble())); toDouble 96 Source/platform/LayoutUnit.h double toDouble() const { return static_cast<double>(m_value) / kFixedPointDenominator; } toDouble 110 Source/platform/LayoutUnit.h operator double() const { return toDouble(); } toDouble 313 Source/platform/LayoutUnit.h return a.toDouble() < b; toDouble 333 Source/platform/LayoutUnit.h return a.toDouble() > b; toDouble 358 Source/platform/LayoutUnit.h return a > b.toDouble(); toDouble 429 Source/platform/LayoutUnit.h return a.toDouble() * b; toDouble 494 Source/platform/LayoutUnit.h return a * b.toDouble(); toDouble 512 Source/platform/LayoutUnit.h return a.toDouble() / b; toDouble 547 Source/platform/LayoutUnit.h return a / b.toDouble(); toDouble 594 Source/platform/LayoutUnit.h return a.toDouble() + b; toDouble 609 Source/platform/LayoutUnit.h return a + b.toDouble(); toDouble 56 Source/platform/geometry/TransformState.cpp m_accumulatedTransform->translateRight(offset.width().toDouble(), offset.height().toDouble()); toDouble 58 Source/platform/geometry/TransformState.cpp m_accumulatedTransform->translate(offset.width().toDouble(), offset.height().toDouble()); toDouble 184 Source/platform/network/HTTPParsers.cpp delay = refresh.stripWhiteSpace().toDouble(&ok); toDouble 188 Source/platform/network/HTTPParsers.cpp delay = refresh.left(pos).stripWhiteSpace().toDouble(&ok); toDouble 364 Source/platform/network/ResourceResponse.cpp double maxAge = directives[i].second.toDouble(&ok); toDouble 448 Source/platform/network/ResourceResponse.cpp m_age = headerValue.toDouble(&ok); toDouble 133 Source/wtf/text/AtomicString.h double toDouble(bool* ok = 0) const { return m_string.toDouble(ok); } toDouble 340 Source/wtf/text/StringImpl.h double toDouble(bool* ok = 0); toDouble 657 Source/wtf/text/WTFString.cpp return m_impl->toDouble(ok); toDouble 377 Source/wtf/text/WTFString.h double toDouble(bool* ok = 0) const;