/libcore/luni/src/test/java/libcore/java/lang/ |
D | DoubleTest.java | 34 assertEquals(Double.NaN, Double.parseDouble("NaN")); in testNamedDoubles() 35 assertEquals(Double.NaN, Double.parseDouble("-NaN")); in testNamedDoubles() 36 assertEquals(Double.NaN, Double.parseDouble("+NaN")); in testNamedDoubles() 38 Double.parseDouble("NNaN"); in testNamedDoubles() 43 Double.parseDouble("NaNN"); in testNamedDoubles() 48 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("+Infinity")); in testNamedDoubles() 49 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("Infinity")); in testNamedDoubles() 50 assertEquals(Double.NEGATIVE_INFINITY, Double.parseDouble("-Infinity")); in testNamedDoubles() 52 Double.parseDouble("IInfinity"); in testNamedDoubles() 57 Double.parseDouble("Infinityy"); in testNamedDoubles() [all …]
|
D | OldDoubleTest.java | 73 double actual = Double.parseDouble("9e551027"); in test_parseDouble_LString_AndroidRegression()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | DoubleTest.java | 190 result = Double.parseDouble(originalDoubleString); in doTestCompareRawBits() 231 …d = Double.parseDouble("-1.23399999999999996511673809963093681727585202138420992908181304283780288… in test_ConstructorLjava_lang_String() 430 .parseDouble("2.4703282292062327208828439643411e-324"), 0.0); in test_parseDoubleLjava_lang_String() 432 .parseDouble("2.4703282292062327208828439643412e-324") == Double.MIN_VALUE); in test_parseDoubleLjava_lang_String() 435 Double.parseDouble("3.4e-" + i); in test_parseDoubleLjava_lang_String() 438 Double.parseDouble("1.2e" + i); in test_parseDoubleLjava_lang_String() 589 Double.parseDouble("0.0p0D"); in test_parseDouble_LString_Illegal() 596 Double.parseDouble("+0x.p1d"); in test_parseDouble_LString_Illegal() 603 Double.parseDouble("0Xg.gp1D"); in test_parseDouble_LString_Illegal() 610 Double.parseDouble("-0x1.1p"); in test_parseDouble_LString_Illegal() [all …]
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | CSVTest.java | 67 double expectedOutput = Double.parseDouble(testCase[1]); in runTest() 68 double input = Double.parseDouble(testCase[2]); in runTest() 71 double input2 = Double.parseDouble(testCase[3]); in runTest()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Double.java | 502 return new Double(parseDouble(s)); in valueOf() 537 public static double parseDouble(String s) throws NumberFormatException { in parseDouble() method in Double 538 return FloatingDecimal.parseDouble(s); in parseDouble() 608 value = parseDouble(s); in Double()
|
/libcore/json/src/main/java/org/json/ |
D | JSON.java | 65 return (int) Double.parseDouble((String) value); in toInteger() 79 return (long) Double.parseDouble((String) value); in toLong()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringToRealBenchmark.java | 42 Double.parseDouble(string); in timeDouble_parseDouble()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Double.java | 60 public static double parseDouble(java.lang.String s) throws java.lang.NumberFormatException { in parseDouble() method in Double
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 45 public static double parseDouble(@libcore.util.NonNull java.lang.String s) throws java.lang.NumberF… in parseDouble() method in Double
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlSerializeBenchmark.java | 91 dataset[i] = Double.parseDouble(splitted[i]); in setUp()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FloatingDecimal.java | 53 public static double parseDouble(java.lang.String s) throws java.lang.NumberFormatException { in parseDouble() method in FloatingDecimal
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | DoubleBufferTest.java | 212 double negativeZero = Double.parseDouble("-0"); 213 double positiveZero = Double.parseDouble("+0");
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 212 startValue = Double.parseDouble(segments[0].toString()); in applyPattern()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleMatcher.java | 268 w = Double.parseDouble(range.substring(index)); in parse()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 620 result = Double.parseDouble(value); in getDouble()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Scanner.java | 2394 typeCache = Double.valueOf(Double.parseDouble(s)); in hasNextDouble() 2440 return Double.parseDouble(processFloatToken(next(floatPattern()))); in nextDouble()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 509 resDouble = Double.parseDouble(result.getString(name)); in func()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 1648 d, Double.parseDouble(Double.toString(d))); in assertDecimalFormatIsLossless() 1657 double doubleParsed = Double.parseDouble(result); in assertDecimalFormatIsLossless()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FloatingDecimal.java | 109 public static double parseDouble(String s) throws NumberFormatException { in parseDouble() method in FloatingDecimal
|