/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 32 DecimalFormat df = new DecimalFormat("0E0"); in test_exponentSeparator() local 33 assertEquals("1E4", df.format(12345.)); in test_exponentSeparator() 35 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols(); in test_exponentSeparator() 37 df.setDecimalFormatSymbols(dfs); in test_exponentSeparator() 38 assertEquals("1-useless-api-4", df.format(12345.)); in test_exponentSeparator() 42 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_setMaximumFractionDigitsAffectsRoundingMode() local 43 df.setMaximumFractionDigits(0); in test_setMaximumFractionDigitsAffectsRoundingMode() 44 df.setRoundingMode(RoundingMode.HALF_UP); in test_setMaximumFractionDigitsAffectsRoundingMode() 45 assertEquals("-0", df.format(-0.2)); in test_setMaximumFractionDigitsAffectsRoundingMode() 46 df.setMaximumFractionDigits(1); in test_setMaximumFractionDigitsAffectsRoundingMode() [all …]
|
D | OldDateFormatTest.java | 164 DateFormat df = DateFormat.getInstance(); in test_isLenient() local 165 Calendar c = df.getCalendar(); in test_isLenient() 166 if (df.isLenient()) { in test_isLenient() 375 DateFormat df = DateFormat.getInstance(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() local 381 Date result = (Date) df.parseObject(df.format(current), pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 395 char[] cur = df.format(current).toCharArray(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 398 result = (Date) df.parseObject(partialCorrect, pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 405 char[] curDate = df.format(current).toCharArray(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 410 result = (Date) df.parseObject(new String(newArray), pp); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() 422 df.parseObject(df.format(current), null); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 48 DecimalFormat df = new DecimalFormat(); in test_setNan_emptyString() local 49 df.setDecimalFormatSymbols(dfs); in test_setNan_emptyString() 50 df.format(Double.NaN); in test_setNan_emptyString() 339 DecimalFormat df = new DecimalFormat(); in test_parse_returnType() local 341 Number nb = df.parse("" + Long.MIN_VALUE, pos); in test_parse_returnType() 347 df = new DecimalFormat(); in test_parse_returnType() 349 nb = df.parse("" + Long.MAX_VALUE, pos); in test_parse_returnType() 356 df = new DecimalFormat(); in test_parse_returnType() 358 nb = df.parse("invalid", pos); in test_parse_returnType() 658 DecimalFormat df = new DecimalFormat(); in test_getNegativePrefix() local [all …]
|
D | ParseExceptionTest.java | 30 DateFormat df = DateFormat.getInstance(); in test_ConstructorLjava_lang_StringI() local 31 df.parse("HelloWorld"); in test_ConstructorLjava_lang_StringI() 43 DateFormat df = DateFormat.getInstance(); in test_getErrorOffset() local 44 df.parse("1999HelloWorld"); in test_getErrorOffset()
|
D | SimpleDateFormatTest.java | 221 SimpleDateFormat df = new SimpleDateFormat(); in test_equals_afterFormat() local 222 df.format(new Date()); in test_equals_afterFormat() 223 assertEquals(df, new SimpleDateFormat()); in test_equals_afterFormat() 520 SimpleDateFormat df = (SimpleDateFormat) DateFormat.getInstance(); in test_getDateFormatSymbols() local 521 DateFormatSymbols dfs = df.getDateFormatSymbols(); in test_getDateFormatSymbols() 522 assertTrue("Symbols identical", dfs != df.getDateFormatSymbols()); in test_getDateFormatSymbols() 633 SimpleDateFormat df = new SimpleDateFormat("", new Locale("en", "US")); in test_parseLjava_lang_StringLjava_text_ParsePosition() local 634 df.setTimeZone(TimeZone.getTimeZone("EST")); in test_parseLjava_lang_StringLjava_text_ParsePosition() 636 df.applyPattern("dd MMMM yyyy EEEE"); in test_parseLjava_lang_StringLjava_text_ParsePosition() 637 String output = df.format(d); in test_parseLjava_lang_StringLjava_text_ParsePosition() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 32 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeNewDateFormatTimeInstance() local 33 df.format(System.currentTimeMillis()); in timeNewDateFormatTimeInstance() 38 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeClonedDateFormatTimeInstance() local 40 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance() 45 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeReusedDateFormatTimeInstance() local 47 synchronized (df) { in timeReusedDateFormatTimeInstance() 48 df.format(System.currentTimeMillis()); in timeReusedDateFormatTimeInstance()
|
/libcore/luni/src/main/files/cacerts/ |
D | 7d3cd826.0 | 36 ab:5d:df:36:71:14:99:8f:dc:c2:92:f1:e7:60:92: 44 56:bb:02:58:84:67:08:2c:df:1f:db:7b:49:33:f5:d3:67:9d: 47 45:ae:3c:8a:a9:b0:71:33:5d:c8:c5:57:df:af:a8:35:b3:7f: 49 c9:91:cf:2a:81:3e:ed:c6:39:df:c0:3e:19:9c:19:cc:13:4d:
|
D | 895cad1a.0 | 38 e3:9a:6e:37:e1:87:2c:dc:b9:0c:5a:ba:88:55:df: 39 fd:aa:db:1f:31:ea:01:f1:df:39:01:c1:13:fd:48: 40 52:21:c4:55:df:da:d8:b3:54:76:ba:74:b1:b7:7d: 41 d7:c0:e8:f6:59:c5:4d:c8:bd:ad:1f:14:da:df:58: 67 4b:35:ee:cc:e4:ae:bf:c3:6e:ad:9f:95:3b:4b:3f:5b:1e:df: 76 6a:93:a3:e7:cb:6e:e5:df:ea:21:55:89:9c:7d:7d:7f:98:f5:
|
D | 4fbd6bfa.0 | 42 00:df:ee:58:10:a2:2b:6e:55:c4:8e:bf:2e:46:09: 56 0b:ca:e9:56:6d:f5:ef:df:78:be:61:ba:b2:a5:ae: 81 09:c8:2c:a3:8f:df:02:e4:e0:71:3a:f1:b4:23:72:a0:aa:01: 82 df:df:98:3e:14:50:a0:31:26:bd:28:e9:5a:30:26:75:f9:7b: 83 60:1c:8d:f3:cd:50:26:6d:04:27:9a:df:d5:0d:45:47:29:6b:
|
D | 7672ac4b.0 | 53 1f:70:df:55:2f:4e:ed:c7:71:6f:09:72:2e:ed:d5: 57 96:a7:36:5b:e1:cd:df:23:70:d8:5d:4c:a5:08:83: 64 b8:ae:2e:20:93:d3:e4:61:df:71:e1:76:67:97:3f: 65 b6:df:6a:73:5a:64:22:e5:42:db:cf:81:03:93:d8: 70 23:d7:f4:f5:bc:de:e4:df:cd:80:bf:91:88:7d:a7: 76 8e:58:82:2b:4c:22:d4:5e:a0:e7:7d:26:27:48:df: 81 f5:89:df 121 86:df:8f:01:19:1a:e5:bb:82:63:ff:be:0b:76:16:5e:37:37:
|
D | 12d55845.0 | 36 00:df:af:e9:97:50:08:83:57:b4:cc:62:65:f6:90: 43 65:df:b7:51:63:83:c8:e2:88:61:ea:4b:61:81:ec: 45 8e:3e:17:2e:1e:dd:20:df:5b:c6:2a:8a:ab:2e:bd: 48 92:1e:3d:64:b3:8c:c6:df:bf:c9:41:70:ec:16:72: 50 eb:d5:9a:9b:8d:1d:ba:da:25:b9:c6:d8:df:c1:15:
|
D | b0ed035a.0 | 51 02:df:50:f6:55:af:66:0e:cb:e0:47:60:2f:2b:32: 73 f8:2b:74:b4:00:04:3c:df:b8:14:8e:e8:df:a9:8d: 90 ea:14:1b:6c:21:00:c0:6c:42:19:7e:9f:69:5b:20:42:df:a2: 96 06:7a:6f:d5:df:10:df:81:4e:21:65:b1:b6:e1:17:79:95:45: 102 93:51:ed:40:90:07:df:64:63:24:cb:4e:71:05:a1:d7:94:1a:
|
D | 69105f4f.0 | 43 3c:a8:a2:ef:6a:fb:21:f2:52:61:df:9f:20:d7:1f: 68 a2:0e:bc:df:e2:ed:f0:e3:72:73:7a:64:94:bf:f7:72:66:d8: 71 69:1a:a8:47:ea:56:c6:79:ab:12:d8:67:81:84:df:7f:09:3c: 73 1f:e9:65:ef:87:e0:df:c1:67:49:b3:5d:eb:b2:09:2a:eb:26: 78 46:60:83:d7:27:04:be:4b:ce:97:be:c3:67:2a:68:11:df:80:
|
D | 1df5a75f.0 | 44 3e:0a:df:46:55:8b:27:6d:c3:10:4d:0d:91:52:43: 52 94:da:50:9a:f1:ff:a5:2b:66:31:a4:c9:38:a0:df: 75 7f:97:db:30:c8:df:a4:9c:7d:21:7a:80:70:ce:14:12:69:88: 80 7f:d4:df:b0:98:02:ac:6f:6b:6b:2c:25:24:72:a1:65:ee:25: 81 5a:e5:e6:32:e7:f2:df:ab:49:fa:f3:90:69:23:db:04:d9:e7:
|
D | 9772ca32.0 | 38 42:53:2d:df:f6:84:08:20:61:d6:01:59:6a:9c:44: 48 1e:47:02:e6:9d:60:e2:36:97:01:df:ce:35:92:df: 53 58:fa:9c:84:b7:36:af:c2:df:ac:d2:f4:10:06:70:
|
D | c7e2a638.0 | 49 80:bb:61:63:6c:5b:17:7e:df:40:94:1e:ab:0d:c2: 67 2d:c5:13:cf:56:80:7b:7a:78:bd:9f:ae:2c:99:e7:ef:da:df: 69 4a:f1:64:d3:39:df:25:34:d4:c1:cd:4e:81:f0:0f:04:c4:24: 70 b3:34:96:c6:a6:aa:30:df:68:61:73:d7:f9:8e:85:89:ef:0e:
|
D | b7db1890.0 | 63 3c:d5:77:3d:da:df:89:ba:87:0c:08:54:6a:20:50:92:be:b0: 71 1e:7a:72:5a:83:b3:79:6f:ef:b4:fc:d0:0a:a5:58:4f:46:df: 74 3b:8a:73:dc:df:c6:09:4c:df:ec:da:ff:d4:53:42:a1:c9:f2:
|
D | 17b51fe6.0 | 46 24:84:de:b1:ec:e9:58:4e:fe:4e:df:5a:be:41:ad: 50 15:fc:94:33:58:41:38:74:c4:e1:8f:8b:df:26:ac: 72 a7:54:cf:88:44:19:cb:df:d4:7f:00:df:56:33:62:b5:f7:51:
|
D | bda4cc84.0 | 38 a2:70:9a:c6:50:b2:7e:a5:df:68:4d:1b:7c:0f:b6: 48 72:c5:92:25:1e:f8:90:4a:18:78:47:df:7e:30:37: 76 9d:9b:88:2b:10:20:dd:a5:b8:32:9f:8d:e0:29:df:21:74:86: 79 c2:77:7f:63:f2:e0:7d:1a:be:fc:e0:df:d7:c7:a7:6c:b0:f9:
|
D | 67495436.0 | 45 dd:e4:df:fc:61:9c:e2:73:b2:22:95:11:43:18:5f: 48 02:f8:1b:14:6b:42:df:6f:5f:ba:6b:82:a2:9d:5b: 69 5d:78:de:fa:24:91:bb:e7:44:51:df:c6:16:34:0a:ef:6a:44: 72 1b:df:3b:4c:c0:33:34:5b:41:88:bf:6b:2b:65:af:28:ef:b2:
|
D | ab5346f4.0 | 37 14:45:a4:e7:90:16:d1:df:57:d2:21:10:a4:17:fd: 38 df:ac:d6:1f:a7:e4:db:7c:f7:ec:df:b8:03:da:94: 73 d9:6b:d3:f7:11:ed:25:df:f8:e7:f9:a4:fa:72:97:84:53:0d:
|
D | 6fcc125d.0 | 47 4d:a8:f2:60:8f:db:0e:25:3c:9f:73:71:cf:94:df: 48 4a:ea:db:df:72:38:8c:f3:96:bd:f1:17:bc:d2:ba: 78 df:df:33:9c:cf:e3:ad:ae:8e:d4:8e:e6:4f:51:af:16:92:e0:
|
D | 10531352.0 | 46 53:83:da:84:74:14:c3:67:9e:04:68:3a:df:8e:40: 49 59:02:2b:80:cc:34:47:df:b9:de:90:65:6d:02:cf: 51 a9:b5:ee:34:2e:ba:0d:03:b8:33:df:47:eb:b1:6b: 54 54:df:87:2f:c7:22:b2:26:cc:9f:59:54:68:9f:fc:
|
D | 1f58a078.0 | 51 d5:95:1e:12:cb:e6:14:84:04:c1:df:36:b3:16:9f: 61 68:7b:ec:53:a6:e9:14:35:a3:df:cd:80:9f:0c:48: 73 31:df:7a:21:6e:b8:32:08:7d:1d:32:91:15:4a:62: 78 f9:35:f4:df:88:c5:60:35:92:c0:7c:69:1c:61:95: 91 91:df:80:3f:43:09:7e:71:c2:f7:eb:b3:88:8f:e1:51:b2:bc: 110 f1:df:a9:26:0f:d6:48:c7:b3:a6:22:f5:33:37:5a:95:47:9f:
|
D | f80cc7f6.0 | 77 df:30:f4:37:a2:43:22:79:d2:10:6c:df:bb:e6:13: 98 b4:5d:bb:4c:1a:ca:92:0d:df:47:24:1e:b3:24:da:91:88:e9: 99 83:70:dd:93:d7:e9:ba:b3:df:16:5a:3e:de:e0:c8:fb:d3:fd: 107 a8:bb:16:f3:a9:12:5f:74:b5:87:98:f2:95:26:df:34:ef:8a: 115 df:85:3c:d3:0d:e0:a2:18:12:cc:55:2f:47:b7:a7:9b:02:fe:
|