/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 47 public long toNanos(long d) { return d; } in toNanos() argument 48 public long toMicros(long d) { return d/(C1/C0); } in toMicros() argument 49 public long toMillis(long d) { return d/(C2/C0); } in toMillis() argument 50 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds() argument 51 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes() argument 52 public long toHours(long d) { return d/(C5/C0); } in toHours() argument 53 public long toDays(long d) { return d/(C6/C0); } in toDays() argument 54 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() argument 55 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos() argument 62 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos() argument [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | MathBenchmark.java | 28 private final double d = 1.2; field in MathBenchmark 39 double result = d; in timeAbsD() 41 result = Math.abs(d); in timeAbsD() 71 double result = d; in timeAcos() 73 result = Math.acos(d); in timeAcos() 79 double result = d; in timeAsin() 81 result = Math.asin(d); in timeAsin() 87 double result = d; in timeAtan() 89 result = Math.atan(d); in timeAtan() 95 double result = d; in timeAtan2() [all …]
|
D | StrictMathBenchmark.java | 28 private final double d = 1.2; field in StrictMathBenchmark 35 StrictMath.abs(d); in timeAbsD() 59 StrictMath.acos(d); in timeAcos() 65 StrictMath.asin(d); in timeAsin() 71 StrictMath.atan(d); in timeAtan() 83 StrictMath.cbrt(d); in timeCbrt() 89 StrictMath.ceil(d); in timeCeil() 95 StrictMath.copySign(d, d); in timeCopySignD() 107 StrictMath.cos(d); in timeCos() 113 StrictMath.cosh(d); in timeCosh() [all …]
|
/libcore/luni/src/main/java/java/lang/ |
D | Math.java | 59 public static double abs(double d) { in abs() argument 60 return Double.longBitsToDouble(Double.doubleToRawLongBits(d) & 0x7fffffffffffffffL); in abs() 112 public static native double acos(double d); in acos() argument 130 public static native double asin(double d); in asin() argument 150 public static native double atan(double d); in atan() argument 209 public static native double cbrt(double d); in cbrt() argument 225 public static native double ceil(double d); in ceil() argument 243 public static native double cos(double d); in cos() argument 261 public static native double cosh(double d); in cosh() argument 279 public static native double exp(double d); in exp() argument [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 203 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDate() local 205 assertEquals("Returned incorrect date", 13, d.getDate()); in test_getDate() 213 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDay() local 215 assertEquals("Returned incorrect day", 2, d.getDay()); in test_getDay() 223 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getHours() local 225 assertEquals("Returned incorrect hours", 19, d.getHours()); in test_getHours() 233 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMinutes() local 235 assertEquals("Returned incorrect minutes", 9, d.getMinutes()); in test_getMinutes() 243 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMonth() local 245 assertEquals("Returned incorrect month", 9, d.getMonth()); in test_getMonth() [all …]
|
/libcore/luni/src/main/files/cacerts/ |
D | 40dc992e.0 | 40 00:a9:53:00:e3:2e:a6:f6:8e:fa:60:d8:2d:95:3e: 41 f8:2c:2a:54:4e:cd:b9:84:61:94:58:4f:8f:3d:8b: 42 e4:43:f3:75:89:8d:51:e4:c3:37:d2:8a:88:4d:79: 44 3a:29:44:35:b8:07:f6:68:1d:55:cd:38:51:f0:8c: 45 24:31:85:af:83:c9:7d:e9:77:af:ed:1a:7b:9d:17: 46 f9:b3:9d:38:50:0f:a6:5a:79:91:80:af:37:ae:a6: 47 d3:31:fb:b5:26:09:9d:3c:5a:ef:51:c5:2b:df:96: 48 5d:eb:32:1e:02:da:70:49:ec:6e:0c:c8:9a:37:8d: 49 f7:f1:36:60:4b:26:2c:82:9e:d0:78:f3:0d:0f:63: 51 b0:59:37:7d:be:ee:f3:20:51:42:5a:83:ef:93:ba: [all …]
|
D | 9d6523ce.0 | 38 15:c8:bd:65:47:5c:af:b8:97:00:5e:e4:06:d2:bc:9d 49 00:e1:25:0f:ee:8d:db:88:33:75:67:cd:ad:1f:7d: 50 3a:4e:6d:9d:d3:2f:14:f3:63:74:cb:01:21:6a:37: 54 c1:a7:4c:6d:22:70:21:8a:31:f2:97:74:89:09:12: 57 02:58:7d:98:58:4b:60:bc:cd:d7:0d:9a:13:33:53: 58 d1:61:f9:7a:d5:d7:78:b3:9a:33:f7:00:86:ce:1d: 59 4d:94:38:af:a8:ec:78:51:70:8a:5c:10:83:51:21: 60 f7:11:3d:34:86:5e:e5:48:cd:97:81:82:35:4c:19: 64 49:7f:37:2a:f9:77:78:cf:54:ed:5b:46:9d:a3:80: 65 0e:91:43:c1:d6:5b:5f:14:ba:9f:a6:8d:24:47:40: [all …]
|
D | 52b525c7.0 | 48 31:ca:dc:2d:e4:11:a9:04:3c:1b:55:c1:e7:58:30: 49 1d:24:b4:c3:ef:85:de:8c:2c:e1:c1:3d:df:82:e6: 51 ac:7f:82:9a:86:ec:3d:03:99:52:01:d2:35:9e:ac: 53 02:46:af:a4:1c:e3:f8:73:58:76:b7:f6:0e:90:0d: 54 b5:f0:cf:cc:fa:f9:c6:4c:e5:c3:86:30:0a:8d:17: 55 7e:35:eb:c5:df:bb:0e:9c:c0:8d:87:e3:88:38:85: 58 a3:8b:5d:2a:21:e0:fc:39:aa:53:da:7d:7e:cf:1a: 59 09:53:bc:5d:05:04:cf:a1:4a:8f:8b:76:82:0d:a1: 64 5e:04:c1:f5:90:bd:30:3d:c4:ef:a8:69:bc:38:9b: 67 e9:2a:78:8d:51:3d:3a:15:ee:a2:59:8e:a9:5c:de: [all …]
|
D | a2c66da8.0 | 48 00:bf:e6:90:73:68:de:bb:e4:5d:4a:3c:30:22:30: 49 69:33:ec:c2:a7:25:2e:c9:21:3d:f2:8a:d8:59:c2: 50 e1:29:a7:3d:58:ab:76:9a:cd:ae:7b:1b:84:0d:c4: 51 30:1f:f3:1b:a4:38:16:eb:56:c6:97:6d:1d:ab:b2: 55 df:82:f3:07:84:e6:74:3b:6d:71:e2:2d:0c:1b:ee: 56 20:d5:c9:20:1d:63:29:2d:ce:ec:5e:4e:c8:93:f8: 60 7b:5d:e3:ad:c9:4f:5e:e5:35:e7:31:cb:da:93:5e: 62 b1:c4:b5:6a:18:38:03:10:8d:d8:d4:37:a4:2e:05: 63 7d:88:f5:82:3e:10:91:70:ab:55:82:41:32:d7:db: 65 5d:78:66:d9:3a:31:44:9a:33:40:bf:08:d7:5a:49: [all …]
|
D | 4be590e0.0 | 48 e4:f2:3f:8a:3b:7a:4a:2c:31:2a:8c:8d:b0:a9:c3: 49 31:6b:a8:77:76:84:26:b6:ac:81:42:0d:08:eb:55: 50 58:bb:7a:f8:bc:65:7d:f2:a0:6d:8b:a8:47:e9:62: 53 e1:3b:4b:c2:2d:9d:e4:a1:9b:ec:1a:3a:1e:f0:08: 54 b3:d0:e4:24:35:07:9f:9c:b4:c9:52:6d:db:07:ca: 55 8f:b5:5b:f0:83:f3:4f:c7:2d:a5:c8:ad:cb:95:20: 56 a4:31:28:57:58:5a:e4:8d:1b:9a:ab:9e:0d:0c:f2: 58 84:cb:36:20:81:59:2d:9a:6f:6d:48:48:61:ca:4c: 60 80:da:06:33:1b:5d:c8:da:63:c6:4d:cd:ac:66:31: 64 3e:06:0f:7b:f0:11:4b:37:a0:44:6d:7b:cb:a8:8c: [all …]
|
D | 63a2c897.0 | 46 00:c2:be:eb:27:f0:21:a3:f3:69:26:55:7e:9d:c5: 47 55:16:91:5c:fd:ef:21:bf:53:80:7a:2d:d2:91:8c: 48 63:31:f0:ec:24:f0:c3:a5:d2:72:7c:10:6d:f4:37: 50 dc:65:75:ec:2a:4d:5f:c1:87:f5:20:65:2b:81:a8: 52 ae:bf:45:67:b1:37:1b:06:2a:fe:de:f9:ac:7d:83: 53 fb:5e:ba:e4:8f:97:67:be:4b:8e:8d:64:07:57:38: 54 55:69:34:36:3d:13:48:ef:4f:e2:d3:66:1e:a4:cf: 56 00:45:f5:8c:5d:e8:23:bc:7e:fe:35:e1:ed:50:7b: 57 a9:30:8d:19:d3:09:8e:68:67:5d:bf:3c:97:18:53: 58 bb:29:62:c5:ca:5e:72:c1:c7:96:d4:db:2d:a0:b4: [all …]
|
D | c7e2a638.0 | 40 00:dc:e2:5e:62:58:1d:33:57:39:32:33:fa:eb:cb: 45 06:44:d5:c9:eb:72:10:7d:e4:31:28:fb:1c:61:e6: 46 28:07:44:73:92:22:69:a7:03:88:6c:9d:63:c8:52: 48 5d:33:f3:03:11:ec:6a:d0:53:e2:d1:ba:36:60:94: 49 80:bb:61:63:6c:5b:17:7e:df:40:94:1e:ab:0d:c2: 51 7d:ef:bf:94:48:de:b7:1d:dd:70:8d:05:5f:88:a5: 52 9b:f2:c2:ee:ea:d1:40:41:6d:62:38:1d:56:06:c5: 54 5f:77:be:3e:49:01:53:3d:98:25:03:76:24:5a:1d: 56 06:ac:6a:8e:c1:d0:f6:05:1d:7d:e6:42:86:e3:a5: 67 2d:c5:13:cf:56:80:7b:7a:78:bd:9f:ae:2c:99:e7:ef:da:df: [all …]
|
D | 9282e51c.0 | 47 00:d7:5d:6b:cd:10:3f:1f:05:59:d5:05:4d:37:b1: 48 0e:ec:98:2b:8e:15:1d:fa:93:4b:17:82:21:71:10: 49 52:d7:51:64:70:16:c2:55:69:4d:8e:15:6d:9f:bf: 52 e9:5d:3d:ee:a1:2f:a3:f7:2a:3c:c9:23:1d:6a:ab: 53 1d:a1:a7:f1:f3:ec:a0:d5:44:cf:15:cf:72:2f:1d: 55 2e:49:df:90:cd:b8:5f:be:3f:de:a1:ca:4d:20:d4: 57 a9:2d:41:3f:b1:f1:18:29:ee:16:59:2c:34:49:1a: 58 a8:06:d7:a8:88:d2:03:72:7a:32:e2:ea:68:4d:6e: 61 cc:26:9e:f1:72:5d:50:65:59:8f:69:b3:87:5e:32: 63 36:e1:ef:67:d1:39:d3:97:5b:73:62:19:48:2d:87: [all …]
|
D | 76579174.0 | 30 50:94:6c:ec:18:ea:d5:9c:4d:d5:97:ef:75:8f:a0:ad 42 0b:69:f3:b6:4e:a8:2c:2e:21:1d:5c:44:df:21:5d: 44 16:e2:9b:5b:d9:67:74:6b:5d:80:8f:29:9d:86:1b: 45 d9:9c:0d:98:6d:76:10:28:58:e4:65:b0:7f:4a:98: 47 d0:cb:a2:86:36:60:a4:d5:30:82:6d:d9:6e:d0:0f: 48 12:04:33:97:5f:4f:61:5a:f0:e4:f9:91:ab:e7:1d: 49 3b:bc:e8:cf:f4:6b:2d:34:7c:e2:48:61:1c:8e:f3: 50 61:44:cc:6f:a0:4a:a9:94:b0:4d:da:e7:a9:34:7a: 51 72:38:a8:41:cc:3c:94:11:7d:eb:c8:a6:8c:b7:86: 52 cb:ca:33:3b:d9:3d:37:8b:fb:7a:3e:86:2c:e7:73: [all …]
|
D | 9f533518.0 | 57 b6:19:8b:37:41:18:95:52:47:eb:17:9d:29:88:8e: 58 35:6c:06:32:2e:47:62:f3:49:04:bf:7d:44:36:b1: 60 5e:36:8e:70:d1:5c:71:43:1d:d9:da:ef:5c:d2:fb: 61 1b:bd:3a:b5:cb:ad:a3:cc:44:a7:0d:ae:21:15:3f: 65 99:8f:c2:0c:d0:40:b2:98:dc:0d:a8:4e:a3:b9:0a: 68 e8:27:90:35:1d:4c:33:ad:97:fc:97:2e:98:84:bf: 71 84:8f:65:34:d8:00:4c:7d:b7:31:17:5a:29:7a:0a: 72 18:24:30:a3:37:b5:7a:a9:01:7d:26:d6:f9:0e:8e: 74 c0:3d:a5:9f:9f:1f:43:50:c9:bb:bc:6c:7a:97:98: 76 6b:ac:7d:90:66:e8:d7:5d:3a:0d:b0:d5:c2:8d:d5: [all …]
|
D | 7a819ef2.0 | 48 00:9a:18:ca:4b:94:0d:00:2d:af:03:29:8a:f0:0f: 49 81:c8:ae:4c:19:85:1d:08:9f:ab:29:44:85:f3:2f: 51 18:3a:5c:9c:60:17:2a:3a:74:83:33:30:7d:61:54: 53 0b:2d:fd:e9:3e:ef:0a:c6:b3:10:e9:dc:c2:46:17: 54 f8:5d:fd:a4:da:ff:9e:49:5a:9c:e6:33:e6:24:96: 56 8b:6d:28:60:2b:ef:d7:60:c3:c7:93:bc:8d:36:91: 62 d4:5c:02:2b:4c:39:e1:b2:95:95:2d:42:87:d7:d5: 64 75:f5:92:c3:91:d5:8a:88:d0:90:ec:dc:6d:de:89: 65 c2:65:71:96:8b:0d:03:fd:9c:bf:5b:16:ac:92:db: 70 dc:67:c1:0e:61:60:88:b3:3e:d1:a8:fc:a3:da:1d: [all …]
|
D | d18e9066.0 | 47 00:a7:50:19:de:3f:99:3d:d4:33:46:f1:6f:51:61: 48 82:b2:a9:4f:8f:67:89:5d:84:d9:53:dd:0c:28:d9: 49 d7:f0:ff:ae:95:43:72:99:f9:b5:5d:7c:8a:c1:42: 50 e1:31:50:74:d1:81:0d:7c:cd:9b:21:ab:43:e2:ac: 54 c2:f6:02:97:8d:d9:62:2b:bf:24:1f:62:8d:df:c3: 58 ef:ae:3f:40:f5:6d:5a:04:fd:ce:34:ca:24:dc:74: 59 23:1b:5d:33:13:12:5d:c4:01:25:f6:30:dd:02:5d: 64 fb:ab:a5:60:9d:c4:9d:f9:52:b0:8b:bd:87:f9:8f: 68 c9:3d:fb:0f:18:7d:8b:3b:c1:13:c2:4d:8f:c9:4f: 70 2c:c8:25:38:f4:fa:4b:a7:89:5c:9c:d2:e3:0d:39: [all …]
|
D | 961f5451.0 | 48 00:bd:ca:8d:ac:b8:91:15:56:97:7b:6b:5c:7a:c2: 50 3e:d9:a6:29:6f:16:3d:e0:6b:f8:b8:40:5f:db:39: 51 a8:00:7a:8b:a0:4d:54:7d:c2:22:78:fc:8e:09:b8: 53 89:ae:49:28:44:1a:10:99:32:0f:25:88:53:a4:0d: 55 67:68:c4:05:5d:0a:0e:5d:70:d7:d8:97:a0:bc:53: 56 41:9a:91:8d:f4:9e:36:66:7a:7e:56:c1:90:5f:e6: 58 b5:be:de:ed:8f:f8:9d:d3:bb:01:30:e6:f2:f3:0e: 61 0c:c7:5c:1d:0b:7e:05:32:be:5e:b0:09:2a:42:d5: 62 c9:4e:90:b3:59:0d:bb:7a:7e:cd:d5:08:5a:b4:7f: 65 b2:67:1a:bb:a3:4f:77:a0:be:5d:ff:fc:56:0b:43: [all …]
|
D | 3c9a4d3b.0 | 64 f1:01:72:84:b0:7d:db:4d:80:cd:fc:d3:6f:c9:f8: 65 da:b6:0e:82:d2:45:85:a8:1b:68:a8:3d:e8:f4:44: 67 c0:e3:22:0a:e8:e9:37:a7:18:4c:b1:09:0d:23:56: 68 7f:04:4d:d9:17:84:18:a5:c8:da:40:94:73:eb:ce: 69 0e:57:3c:03:81:3a:9d:0a:a1:57:43:69:ac:57:6d: 70 79:90:78:e5:b5:b4:3b:d8:bc:4c:8d:28:a1:a7:a3: 72 0f:30:28:54:95:7f:e0:ee:ce:0a:66:9d:d1:40:2d: 73 6e:22:af:9d:1a:c1:05:19:d2:6f:c0:f2:9f:f8:7b: 74 b3:02:42:fb:50:a9:1d:2d:93:0f:23:ab:c6:c1:0f: 80 aa:a4:c6:42:eb:41:a2:e3:95:43:d3:01:85:6d:8e: [all …]
|
D | 00673b5b.0 | 30 34:4e:d5:57:20:d5:ed:ec:49:f4:2f:ce:37:db:2b:6d 41 00:ac:a0:f0:fb:80:59:d4:9c:c7:a4:cf:9d:a1:59: 42 73:09:10:45:0c:0d:2c:6e:68:f1:6c:5b:48:68:49: 43 59:37:fc:0b:33:19:c2:77:7f:cc:10:2d:95:34:1c: 44 e6:eb:4d:09:a7:1c:d2:b8:c9:97:36:02:b7:89:d4: 45 24:5f:06:c0:cc:44:94:94:8d:02:62:6f:eb:5a:dd: 46 11:8d:28:9a:5c:84:90:10:7a:0d:bd:74:66:2f:6a: 47 38:a0:e2:d5:54:44:eb:1d:07:9f:07:ba:6f:ee:e9: 49 89:a4:e8:a1:d8:71:65:0d:a3:51:7b:ee:bc:d2:22: 50 60:0d:b9:5b:9d:df:ba:fc:51:5b:0b:af:98:b2:e9: [all …]
|
D | 35105088.0 | 39 01:fd:6d:30:fc:a3:ca:51:a8:1b:bc:64:0e:35:03:2d 50 00:80:12:65:17:36:0e:c3:db:08:b3:d0:ac:57:0d: 51 76:ed:cd:27:d3:4c:ad:50:83:61:e2:aa:20:4d:09: 52 2d:64:09:dc:ce:89:9f:cc:3d:a9:ec:f6:cf:c1:dc: 54 19:b4:5f:a6:bd:7d:9d:a3:63:42:b6:76:f2:a9:3b: 59 fe:7e:6c:9c:ff:16:9d:18:bd:51:8e:35:a6:a7:66: 62 ff:ce:f9:3d:b7:2c:b6:f6:54:dd:c8:e7:12:3a:4d: 63 ae:4c:8a:b7:5c:9a:b4:b7:20:3d:ca:7f:22:34:ae: 67 ae:cc:93:3b:51:78:95:67:8b:ee:3d:56:fe:0c:d0: 68 69:0f:1b:0f:f3:25:26:6b:33:6d:f7:6e:47:fa:73: [all …]
|
D | 82223c44.0 | 47 69:e4:ee:32:01:db:a3:86:1f:e4:59:0d:ba:e7:75: 48 83:52:eb:ea:1c:61:15:48:bb:1d:07:ca:8c:ae:b0: 49 dc:96:9d:ea:c3:60:92:86:82:28:73:9c:56:06:ff: 52 60:f9:d3:f1:9d:92:74:8a:e4:1c:96:ac:5b:80:e9: 55 af:54:06:6c:d8:06:13:8d:5b:ff:e1:26:19:59:c0: 59 07:3d:dc:14:8a:94:0a:a4:ea:73:fb:0b:51:e8:13: 60 07:18:fa:0e:f1:2b:d1:54:15:7d:3c:e1:f7:b4:19: 63 25:e7:df:6b:0a:db:0f:4d:93:4e:a8:a0:cd:7b:2e: 64 f2:59:01:6a:b7:0d:b8:07:81:7e:8b:38:1b:38:e6: 65 0a:57:99:3d:ee:21:e8:a3:f5:0c:16:dd:8b:ec:34: [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | DoubleTest.java | 200 Double d = new Double(dd); in test_toString() local 201 assertEquals(answer, Double.toString(d.doubleValue())); in test_toString() 202 assertEquals(answer, d.toString()); in test_toString() 209 Double d = new Double(39089.88888888888888888888888888888888); in test_ConstructorD() local 210 assertEquals("Created incorrect double", 39089.88888888888888888888888888888888, d in test_ConstructorD() 218 Double d = new Double("39089.88888888888888888888888888888888"); in test_ConstructorLjava_lang_String() local 219 assertEquals("Created incorrect double", 39089.88888888888888888888888888888888, d in test_ConstructorLjava_lang_String() 224 d = new Double("1E+-20"); in test_ConstructorLjava_lang_String() 231 …d = Double.parseDouble("-1.23399999999999996511673809963093681727585202138420992908181304283780288… in test_ConstructorLjava_lang_String() 232 assertEquals("Failed to parse long string", -1.234E-112D, d.doubleValue(), 0D); in test_ConstructorLjava_lang_String() [all …]
|
/libcore/luni/src/main/native/ |
D | java_lang_Double.cpp | 29 double d; member 33 Double d; in Double_doubleToRawLongBits() local 34 d.d = val; in Double_doubleToRawLongBits() 35 return d.bits; in Double_doubleToRawLongBits() 39 Double d; in Double_longBitsToDouble() local 40 d.bits = val; in Double_longBitsToDouble() 41 return d.d; in Double_longBitsToDouble()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderTest.java | 166 Document d; in testNewDocument() local 169 d = dbf.newDocumentBuilder().newDocument(); in testNewDocument() 174 assertNotNull(d); in testNewDocument() 175 assertNull(d.getDoctype()); in testNewDocument() 176 assertNull(d.getDocumentElement()); in testNewDocument() 177 assertNull(d.getNamespaceURI()); in testNewDocument() 181 DOMImplementation d; in testGetImplementation() local 184 d = dbf.newDocumentBuilder().getDOMImplementation(); in testGetImplementation() 189 assertNotNull(d); in testGetImplementation() 226 Document d = db.parse(f); in testGetBaseURI() local [all …]
|