/libcore/luni/src/test/java/libcore/java/lang/ |
DoubleTest.java | 34 assertEquals(Double.NaN, Double.parseDouble("NaN")); 35 assertEquals(Double.NaN, Double.parseDouble("-NaN")); 36 assertEquals(Double.NaN, Double.parseDouble("+NaN")); 38 Double.parseDouble("NNaN"); 43 Double.parseDouble("NaNN"); 48 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("+Infinity")); 49 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("Infinity")); 50 assertEquals(Double.NEGATIVE_INFINITY, Double.parseDouble("-Infinity")); 52 Double.parseDouble("IInfinity"); 57 Double.parseDouble("Infinityy") [all...] |
OldDoubleTest.java | 73 double actual = Double.parseDouble("9e551027");
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
dtoa.h | 50 WTF_EXPORT double parseDouble(const LChar* string, size_t length, size_t& parsedLength); 51 WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength); 57 inline double parseDouble(const LChar* string, size_t length, size_t& parsedLength) 62 inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength) 70 return parseDouble(conversionBuffer, length, parsedLength); 80 using WTF::parseDouble;
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
ScalableTimeout.java | 20 sTimeoutScale = Double.parseDouble(new String(data));
|
/external/objenesis/main/src/org/objenesis/ |
ObjenesisException.java | 29 private static final boolean jdk14 = (Double.parseDouble(System
|
/libcore/benchmarks/src/benchmarks/regression/ |
StringToRealBenchmark.java | 44 Double.parseDouble(string);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
DoubleTest.java | 190 result = Double.parseDouble(originalDoubleString); 231 d = Double.parseDouble("-1.233999999999999965116738099630936817275852021384209929081813042837802886790127428328465579708849276001782791006814286802871737087810957327493372866733334925806221045495205250590286471187577636646208155890426896101636282423463443661040209738873506655844025580428394216030152374941053494694642722606658935546875E-112"); 410 * @tests java.lang.Double#parseDouble(java.lang.String) 414 .parseDouble("2.4703282292062327208828439643411e-324"), 0.0); 416 .parseDouble("2.4703282292062327208828439643412e-324") == Double.MIN_VALUE); 419 Double.parseDouble("3.4e-" + i); 422 Double.parseDouble("1.2e" + i); [all...] |
/frameworks/base/media/java/android/media/ |
ExifInterface.java | 169 double denom = Double.parseDouble(value.substring(index + 1)); 171 double num = Double.parseDouble(value.substring(0, index)); 397 double degrees = Double.parseDouble(pair[0].trim()) 398 / Double.parseDouble(pair[1].trim()); 401 double minutes = Double.parseDouble(pair[0].trim()) 402 / Double.parseDouble(pair[1].trim()); 405 double seconds = Double.parseDouble(pair[0].trim()) 406 / Double.parseDouble(pair[1].trim());
|
/external/smack/src/org/xbill/DNS/ |
GPOSRecord.java | 136 return Double.parseDouble(getLongitudeString()); 152 return Double.parseDouble(getLatitudeString()); 168 return Double.parseDouble(getAltitudeString());
|
LOCRecord.java | 135 parseDouble(Tokenizer st, String type, boolean required, long min, long max, 164 altitude = parseDouble(st, "altitude", true, 166 size = parseDouble(st, "size", false, 0, 9000000000L, 100); 167 hPrecision = parseDouble(st, "horizontal precision", false, 169 vPrecision = parseDouble(st, "vertical precision", false,
|
/libcore/luni/src/main/java/java/lang/ |
Double.java | 133 * @see #parseDouble(String) 136 this(parseDouble(string)); 294 public static double parseDouble(String string) throws NumberFormatException { 295 return StringToReal.parseDouble(string); 329 * @see #parseDouble(String) 332 return parseDouble(string);
|
StringToReal.java | 243 public static double parseDouble(String s) { 260 return HexStringParser.parseDouble(s);
|
/external/oauth/core/src/main/java/net/oauth/ |
SimpleOAuthValidator.java | 42 this(DEFAULT_TIMESTAMP_WINDOW, Double.parseDouble(OAuth.VERSION_1_0)); 76 double version = Double.parseDouble(versionString);
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 65 return (int) Double.parseDouble((String) value); 79 return (long) Double.parseDouble((String) value);
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
Coordinate.java | 79 minsDecMins = Double.parseDouble(form.format((Math.abs(decCoordinate) - Math.abs(deg)) * 60)); 81 minsDecMins = Double.parseDouble(form.format((decCoordinate - deg) * 60));
|
MapModel2D.java | 357 mp = Double.parseDouble(form.format(mp)); 361 guessMP = Double.parseDouble(form.format(guessMP));
|
MapModel3D.java | 378 mp = Double.parseDouble(form.format(mp)); 382 guessMP = Double.parseDouble(form.format(guessMP));
|
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 424 * parse it as a double using {@link Double#parseDouble(String)}. 434 double result = Double.parseDouble(value); 459 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 490 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException [all...] |
/frameworks/base/core/java/android/util/ |
JsonReader.java | 453 * parse it as a double using {@link Double#parseDouble(String)}. 463 double result = Double.parseDouble(value); 488 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException 519 double asDouble = Double.parseDouble(value); // don't catch this NumberFormatException [all...] |
/cts/tools/dasm/src/dasm/ |
Utils.java | 56 double x = Double.parseDouble(str);
|
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ |
CtsHostJankTest.java | 109 results.put(parts[0], Double.parseDouble(parts[1]));
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPUtils.java | 415 return Double.parseDouble(rawValue);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
LocationManagerTest.java | 116 double minutes = Double.parseDouble(loc5b);
|
/external/smali/smali/src/main/java/org/jf/smali/ |
LiteralTools.java | 329 public static double parseDouble(String doubleString) { 343 return Double.parseDouble(doubleString);
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldStmtTest.java | 307 assertTrue(Double.compare(input, Double.parseDouble(row0[0])) == 0); 310 assertFalse(Double.compare(maxVal, Double.parseDouble(row1[0])) == 0); 311 assertTrue(Double.compare(maxVal, Double.parseDouble(row1[0])) < 0); 312 assertTrue(Double.isInfinite(Double.parseDouble(row1[0]))); 315 assertTrue(Double.compare(minVal, Double.parseDouble(row2[0])) == 0);
|