/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 44 public long toNanos(long d) { return d; } in toNanos() argument 45 public long toMicros(long d) { return d/(C1/C0); } in toMicros() argument 46 public long toMillis(long d) { return d/(C2/C0); } in toMillis() argument 47 public long toSeconds(long d) { return d/(C3/C0); } in toSeconds() argument 48 public long toMinutes(long d) { return d/(C4/C0); } in toMinutes() argument 49 public long toHours(long d) { return d/(C5/C0); } in toHours() argument 50 public long toDays(long d) { return d/(C6/C0); } in toDays() argument 51 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() argument 52 int excessNanos(long d, long m) { return (int)(d - (m*C2)); } in excessNanos() argument 55 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 | StrictMath.java | 66 public static double abs(double d) { in abs() argument 67 return Math.abs(d); in abs() 120 public static native double acos(double d); in acos() argument 137 public static native double asin(double d); in asin() argument 156 public static native double atan(double d); in atan() argument 214 public static native double cbrt(double d); in cbrt() argument 230 public static native double ceil(double d); in ceil() argument 248 public static native double cosh(double d); in cosh() argument 264 public static native double cos(double d); in cos() argument 281 public static native double exp(double d); in exp() argument [all …]
|
D | Math.java | 57 public static double abs(double d) { in abs() argument 58 return Double.longBitsToDouble(Double.doubleToRawLongBits(d) & 0x7fffffffffffffffL); in abs() 110 public static native double acos(double d); in acos() argument 128 public static native double asin(double d); in asin() argument 148 public static native double atan(double d); in atan() argument 207 public static native double cbrt(double d); in cbrt() argument 223 public static native double ceil(double d); in ceil() argument 241 public static native double cos(double d); in cos() argument 259 public static native double cosh(double d); in cosh() argument 277 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 | 202 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDate() local 204 assertEquals("Returned incorrect date", 13, d.getDate()); in test_getDate() 212 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getDay() local 214 assertEquals("Returned incorrect day", 2, d.getDay()); in test_getDay() 222 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getHours() local 224 assertEquals("Returned incorrect hours", 19, d.getHours()); in test_getHours() 232 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMinutes() local 234 assertEquals("Returned incorrect minutes", 9, d.getMinutes()); in test_getMinutes() 242 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) in test_getMonth() local 244 assertEquals("Returned incorrect month", 9, d.getMonth()); in test_getMonth() [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/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 | 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 | 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 | 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 | 2d9dafe4.0 | 46 00:a5:da:0a:95:16:50:e3:95:f2:5e:9d:76:31:06: 49 2f:de:38:3d:d6:e0:a8:e9:1c:2c:db:78:11:e9:8e: 50 68:51:15:72:c7:f3:33:87:e4:a0:5d:0b:5c:e0:57: 51 07:2a:30:f5:cd:c4:37:77:28:4d:18:91:e6:bf:d5: 52 52:fd:71:2d:70:3e:e7:c6:c4:8a:e3:f0:28:0b:f4: 54 22:e3:a8:4f:2a:ef:60:bb:3d:b7:39:c3:0e:01:47: 55 99:5d:12:4f:db:43:fa:57:a1:ed:f9:9d:be:11:47: 56 26:5b:13:98:ab:5d:16:8a:b0:37:1c:57:9d:45:ff: 58 d6:5d:6c:0c:f1:b3:6e:39:e2:6b:31:2e:39:00:27: 59 14:de:38:c0:ec:19:66:86:12:e8:9d:72:16:13:64: [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 …]
|
D | e775ed2d.0 | 46 00:a6:15:55:a0:a3:c6:e0:1f:8c:9d:21:50:d7:c1: 48 61:c9:14:1d:45:82:ab:c6:1d:80:d6:3d:eb:10:9c: 49 3a:af:6d:24:f8:bc:71:01:9e:06:f5:7c:5f:1e:c1: 51 37:8d:f4:4a:9a:72:66:3e:ad:95:c0:e0:16:00:e0: 52 10:1f:2b:31:0e:d7:94:54:d3:42:33:a0:34:1d:1e: 54 c7:9c:f0:f2:a9:2e:10:a9:92:e6:3d:58:3d:a9:16: 58 42:f1:35:fa:6a:ee:7e:2b:25:cc:3a:11:e4:6d:af: 59 73:b2:76:1d:ad:d0:b2:78:67:1a:a4:39:1c:51:0b: 60 67:56:83:fd:38:5d:0d:ce:dd:f0:bb:2b:96:1f:de: 61 7b:32:52:fd:1d:bb:b5:06:a1:b2:21:5e:a5:d6:95: [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 …]
|