/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/ |
D | JSONTest.kt | 62 assertEquals(12e32, map["double"].toDouble()) in parseSample() 93 assertEquals(-0.0, parser.parse(values[0]).toDouble()) in testDoubles() 94 assertEquals(1.0, parser.parse(values[1]).toDouble()) in testDoubles() 95 assertEquals(1.7976931348613157, parser.parse(values[2]).toDouble()) in testDoubles() 96 assertEquals(0.0, parser.parse(values[3]).toDouble()) in testDoubles() 97 assertEquals(-0.5, parser.parse(values[4]).toDouble()) in testDoubles() 98 assertEquals(3.141592653589793, parser.parse(values[5]).toDouble()) in testDoubles() 99 assertEquals(2.718281828459045e-3, parser.parse(values[6]).toDouble()) in testDoubles() 100 assertEquals(2.2250738585072014E-308, parser.parse(values[7]).toDouble()) in testDoubles() 101 assertEquals(4.9E-15, parser.parse(values[8]).toDouble()) in testDoubles() [all …]
|
D | FlexBuffersTest.kt | 228 assertEquals(12.3, map[1]["bfloat"].toDouble()) in <lambda>() 249 assertEquals(12.3, map["float"].toDouble()) in <lambda>()
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 263 public fun toDouble(): Double = resolve { pos: Int, width: ByteWidth -> in toDouble() method in com.google.flatbuffers.kotlin.Reference 266 T_INT -> buffer.readInt(pos, width).toDouble() in toDouble() 267 T_UINT, T_BOOL -> buffer.readUInt(pos, width).toDouble() in toDouble() 268 T_INDIRECT_INT -> buffer.readInt(pos, width).toDouble() in toDouble() 269 T_INDIRECT_UINT -> buffer.readUInt(pos, width).toDouble() in toDouble() 271 T_STRING -> toString().toDouble() in toDouble() 272 T_VECTOR -> toVector().size.toDouble() in toDouble() 300 T_FLOAT -> toDouble().toString() in toString() 446 T_VECTOR_FLOAT -> DoubleArray(vec.size) { vec[it].toDouble() } in toDoubleArray() 447 T_VECTOR_INT -> DoubleArray(vec.size) { vec[it].toDouble() } in toDoubleArray() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 170 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble() 173 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 176 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 199 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 173 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble() 176 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 179 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 202 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
|
/third_party/flutter/flutter/dev/devicelab/lib/tasks/ |
D | build_benchmarks.dart | 78 allResults['first_build_debug_millis'] = initialBuildMilliseconds.toDouble(); 79 allResults['second_build_debug_millis'] = secondBuildMilliseconds.toDouble(); 80 allResults['after_config_change_build_debug_millis'] = thirdBuildMilliseconds.toDouble();
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/ |
D | scene.dart | 19 final double screenWidth = html.window.innerWidth.toDouble(); 20 final double screenHeight = html.window.innerHeight.toDouble();
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | encoding_test.dart | 68 final double width = _kWidth.toDouble(); 69 final double radius = _kRadius.toDouble(); 70 final double innerWidth = (_kWidth - 2 * _kRadius).toDouble();
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | edge_insets.dart | 542 (left ~/ other).toDouble(), 543 (top ~/ other).toDouble(), 544 (right ~/ other).toDouble(), 545 (bottom ~/ other).toDouble(), 763 (start ~/ other).toDouble(), 764 (top ~/ other).toDouble(), 765 (end ~/ other).toDouble(), 766 (bottom ~/ other).toDouble(), 889 (_left ~/ other).toDouble(), 890 (_right ~/ other).toDouble(), [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 80 d, fq.toDouble()); in checkDoubleBehavior() 281 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble() 283 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble() 285 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble() 413 double actual = q.toDouble(); in testToDouble() 431 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits() 593 double actualDouble = dq.toDouble(); in testScientificAndCompactSuppressedExponent()
|
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/lib/src/ |
D | common.dart | 133 rect['left'].toDouble(), 134 rect['top'].toDouble(), 135 rect['right'].toDouble(), 136 rect['bottom'].toDouble(),
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_usageprefs.cpp | 168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
/third_party/icu/icu4c/source/i18n/ |
D | number_usageprefs.cpp | 168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_usageprefs.cpp | 168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | tab_controller.dart | 99 value: initialIndex.toDouble(), 163 .animateTo(_index.toDouble(), duration: duration, curve: curve) 170 _animationController.value = _index.toDouble(); 223 double get offset => _animationController.value - _index.toDouble(); 230 _animationController.value = value + _index.toDouble();
|
/third_party/flutter/flutter/packages/flutter_driver/lib/src/driver/ |
D | timeline_summary.dart | 175 …old<double>(0.0, (double t, Duration duration) => t + duration.inMicroseconds.toDouble() / 1000.0); 183 … = durations.map<double>((Duration duration) => duration.inMicroseconds.toDouble() / 1000.0).toLis… 193 .map<double>((Duration duration) => duration.inMicroseconds.toDouble() / 1000.0)
|
/third_party/flutter/flutter/dev/benchmarks/macrobenchmarks/lib/src/ |
D | cull_opacity.dart | 33 top: (200 * i).toDouble() + _offsetY.value,
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity.java | 166 public double toDouble(); in toDouble() method
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalQuantity.java | 168 public double toDouble(); in toDouble() method
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | numparse_parsednumber.cpp | 80 return quantity.toDouble(); in getDouble()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | list_view_with_inherited_test.dart | 17 style: TextStyle(fontSize: 2.0 + items.length.toDouble()),
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/transformations/ |
D | transformations_demo_board.dart | 281 q.toDouble(), 282 r.toDouble(), 283 (-q - r).toDouble(),
|