Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 25 of 156) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java75 SimpleDateFormat f2 = (SimpleDateFormat) DateFormat.getDateInstance(); in test_getDateInstance() local
76 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class); in test_getDateInstance()
77 assertTrue("Wrong default", f2.equals(DateFormat.getDateInstance( in test_getDateInstance()
79 assertTrue("Wrong symbols", f2.getDateFormatSymbols().equals( in test_getDateInstance()
82 f2.format(new Date()).getClass() == String.class); in test_getDateInstance()
92 SimpleDateFormat f2 = (SimpleDateFormat) DateFormat in test_getDateInstanceI() local
94 assertTrue("Wrong class1", f2.getClass() == SimpleDateFormat.class); in test_getDateInstanceI()
95 assertTrue("Wrong default1", f2.equals(DateFormat.getDateInstance( in test_getDateInstanceI()
97 assertTrue("Wrong symbols1", f2.getDateFormatSymbols().equals( in test_getDateInstanceI()
100 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI()
[all …]
DSimpleDateFormatTest.java54 SimpleDateFormat f2 = new SimpleDateFormat(); in test_Constructor() local
55 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class); in test_Constructor()
56 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_Constructor()
58 assertTrue("Wrong symbols", f2.getDateFormatSymbols().equals(new DateFormatSymbols())); in test_Constructor()
59 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class); in test_Constructor()
64 SimpleDateFormat f2 = new SimpleDateFormat("yyyy"); in test_ConstructorLjava_lang_String() local
65 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class); in test_ConstructorLjava_lang_String()
66 assertEquals("Wrong pattern", "yyyy", f2.toPattern()); in test_ConstructorLjava_lang_String()
67 assertTrue("Wrong locale", f2.equals(new SimpleDateFormat("yyyy", Locale.getDefault()))); in test_ConstructorLjava_lang_String()
68 assertTrue("Wrong symbols", f2.getDateFormatSymbols().equals(new DateFormatSymbols())); in test_ConstructorLjava_lang_String()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DFieldTest.java33 Field f2 = FieldTestHelper.class.getField("a"); in testEqualConstructorEqualsAndHashCode() local
34 assertEquals(f1, f2); in testEqualConstructorEqualsAndHashCode()
35 assertEquals(f1.hashCode(), f2.hashCode()); in testEqualConstructorEqualsAndHashCode()
45 Field f2 = FieldTestHelper.class.getField("b"); in testDifferentConstructorEqualsAndHashCode() local
46 assertFalse(f1.equals(f2)); in testDifferentConstructorEqualsAndHashCode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java155 File f2 = new File("a/"); in test_ConstructorLjava_io_FileLjava_lang_String6() local
156 assertEquals("Trailing slash file name is incorrect", f1, f2); in test_ConstructorLjava_io_FileLjava_lang_String6()
333 File f2 = new File("thisFile.file"); in test_compareToLjava_io_File() local
336 .compareTo(f2)); in test_compareToLjava_io_File()
390 File f2 = new File(dir, "tempfile.tst"); in test_createNewFile() local
392 f2.deleteOnExit(); in test_createNewFile()
397 assertTrue("File Should Exist.", f2.isFile()); in test_createNewFile()
409 f2.createNewFile()); in test_createNewFile()
452 File f2 = null; in test_createTempFileLjava_lang_StringLjava_lang_String() local
455 f2 = File.createTempFile("harmony-test-FileTest_tempFile_tf", null); in test_createTempFileLjava_lang_StringLjava_lang_String()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java123 Float f2 = new Float(90.8f); in test_byteValue() local
124 assertTrue("Returned incorrect byte value", f.byteValue() == 0 && f2.byteValue() == 90); in test_byteValue()
141 float f2 = values[j]; in test_compare() local
142 assertTrue("compare() " + f1 + " should be less " + f2, in test_compare()
143 Float.compare(f1, f2) == -1); in test_compare()
144 assertTrue("compare() " + f2 + " should be greater " + f1, Float in test_compare()
145 .compare(f2, f1) == 1); in test_compare()
146 Float F2 = new Float(f2); in test_compare()
147 assertTrue("compareTo() " + f1 + " should be less " + f2, in test_compare()
149 assertTrue("compareTo() " + f2 + " should be greater " + f1, in test_compare()
[all …]
/libcore/luni/src/main/java/java/lang/
DStrictMath.java474 public static float max(float f1, float f2) { in max() argument
475 if (f1 > f2) in max()
477 if (f1 < f2) in max()
478 return f2; in max()
480 if (f1 != f2) in max()
484 && ((Float.floatToIntBits(f1) & Float.floatToIntBits(f2)) & 0x80000000) == 0) in max()
544 public static float min(float f1, float f2) { in min() argument
545 if (f1 > f2) in min()
546 return f2; in min()
547 if (f1 < f2) in min()
[all …]
DMath.java483 public static float max(float f1, float f2) { in max() argument
484 if (f1 > f2) { in max()
487 if (f1 < f2) { in max()
488 return f2; in max()
491 if (f1 != f2) { in max()
497 return f2; in max()
561 public static float min(float f1, float f2) { in min() argument
562 if (f1 > f2) { in min()
563 return f2; in min()
565 if (f1 < f2) { in min()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorCompletionServiceTest.java107 Future f2 = ecs.take(); in testTake2() local
108 assertSame(f1, f2); in testTake2()
181 Future f2 = ecs.take(); in testNewTaskForCallable() local
182 assertSame("submit and take must return same objects", f1, f2); in testNewTaskForCallable()
213 Future f2 = ecs.take(); in testNewTaskForRunnable() local
214 assertSame("submit and take must return same objects", f1, f2); in testNewTaskForRunnable()
/libcore/luni/src/main/files/cacerts/
D1f58a078.036 44:57:34:24:5b:81:89:9b:35:f2:ce:b8:2b:3b:5b:a7:26:f0:75:28
53 f0:d2:b4:d5:4d:09:72:49:f9:f2:87:e3:a9:da:7d:
55 dc:a6:73:91:90:61:a6:03:14:20:f2:e7:87:a3:88:
63 fe:41:9a:b3:83:5d:f2:84:56:ef:a5:57:43:ce:29:
66 b2:cd:1e:22:6e:2a:f8:41:d4:f2:ca:14:07:8d:8a:
80 48:f2:59:b6:16:f2:3c:0d:90:02:c6:70:2e:01:ad:
100 c0:f2:78:02:24:54:93:af:89:87:88:c9:4a:80:1d:ea:d0:6e:
106 5e:97:53:f2:32:02:09:30:a3:58:f0:0d:01:d5:72:c6:b1:7c:
116 48:a6:50:5f:88:20:30:6e:f2:82:43:ab:3d:97:84:e7:53:fb:
Dab5346f4.042 f3:0d:b6:93:8f:a9:d4:d8:36:f2:b0:fc:8a:ca:2c:
43 a1:15:33:95:31:da:c0:1b:f2:ee:62:99:86:63:3f:
45 8f:22:e7:2e:1a:f2:95:09:b2:05:b5:44:4e:77:a1:
46 20:bd:a9:f2:4e:0a:7d:50:ad:f5:05:0d:45:4f:46:
48 cf:3b:b0:31:9a:35:6e:c8:8b:06:d3:00:91:f2:94:
77 d6:ba:03:f2
Da2df7ad7.042 6e:f4:39:cb:a1:b9:6f:f2:7e:f9:5d:87:26:61:9e:
48 46:50:b0:f8:11:f2:fe:38:79:f7:07:39:fe:51:92:
50 d1:ff:dc:7d:f2:84:da:ba:77:ad:dc:80:08:c7:a7:
53 48:90:d0:30:1c:cf:80:f9:60:fe:79:e4:88:f2:dd:
77 6b:32:7b:f2:9f:f0:b6:fd:df:f0:28:18:48:f0:c6:bc:d0:bf:
84 e7:ce:5f:5d:fa:d8:aa:b1:33:2d:d9:76:f2:4e:3a:33:0c:2b:
D2d9dafe4.046 00:a5:da:0a:95:16:50:e3:95:f2:5e:9d:76:31:06:
91 e2:34:90:b8:a1:6f:76:fa:16:16:a4:48:37:2c:e9:90:c2:f2:
93 f6:c8:0b:f2:bc:6a:f8:93:ac:b2:07:c2:5f:9f:db:cc:c8:8a:
96 b8:80:1e:a9:cc:11:a5:3c:f2:16:b3:47:9d:fc:d2:80:21:c4:
97 cb:d0:47:70:41:a1:ca:83:19:08:2c:6d:f2:5d:77:9c:8a:14:
105 4a:31:0d:4a:86:1c:eb:e2:36:29:26:f5:da:d8:c4:f2:75:61:
108 54:6a:f5:f2:89:26:01:68:83:48:a2:33:e8:c9:04:91:b2:11:
115 78:ec:c8:f2:4d:4c:1a:de:82:29:f8:c1:5a:da:ed:ee:e6:27:
117 bb:dc:4d:d7:64:f2:51:be:e6:aa:ab:5a:e9:31:ee:06:bc:73:
Dcdaebb72.043 9c:7f:d6:f2:10:65:b4:ee:5f:18:d5:17:e3:f8:c5:
46 68:34:52:1f:2e:6d:01:f2:60:45:f2:31:eb:a9:31:
69 fe:bb:ee:15:b4:2f:06:0c:29:f2:a8:92:a4:61:0d:fc:ab:5c:
76 4c:c8:df:45:34:c9:ce:0d:f2:9c:64:08:d0:3b:c3:29:c5:b2:
Db0f3e76e.042 15:1c:ef:50:ee:c4:2e:f7:fc:e9:52:f2:91:7d:e0:
43 6d:d5:35:30:8e:5e:43:73:f2:41:e9:d5:6a:e3:b2:
48 c8:0a:38:eb:f2:24:13:4f:73:54:93:13:85:3a:1b:
53 07:85:e7:d3:7c:f6:21:68:ef:ea:f2:52:9f:7f:93:
67 f2:ba:ef:ad:39:e1:43:b9:38:a3:e6:2f:8a:26:3b:ef:a0:50:
Dc90bc37d.040 ae:f2:3a:89:91:3c:7a:e6:ab:06:1a:6b:cf:ac:2d:
46 18:f7:67:90:ab:61:06:9c:8f:f2:ba:e9:b4:e9:92:
67 81:67:42:84:23:f2:45:67:35:ec:88:bf:f8:8f:b0:61:0c:34:
69 08:86:7f:36:74:24:5a:da:6c:0d:14:59:35:bd:f2:49:dd:b6:
73 4e:c0:8f:ae:06:c4:95:13:17:2f:1b:25:9f:75:f2:b1:8e:99:
Dfacacbc6.053 bf:15:77:a1:b0:f4:a2:25:f2:af:1c:92:67:18:e5:
55 ba:f4:3c:ee:e0:8b:eb:37:8b:ec:f4:d7:ac:f2:f6:
75 e7:97:66:2d:98:09:7e:5f:af:d6:cc:28:65:f2:01:aa:08:1a:
86 3f:68:5c:f2:42:4a:85:38:54:83:5f:d1:e8:2c:f2:ac:11:d6:
Dc491639e.032 57:a9:44:2d:05:15:f2:ef:0b:ff:10:74:9f:b5:62:
37 2d:de:36:f2:6c:29:39
48 70:f2:75:72:de:7c:89:f0:cf:91:72:61:9e:5e:10:92:59:56:
D82223c44.064 f2:59:01:6a:b7:0d:b8:07:81:7e:8b:38:1b:38:e6:
69 69:1c:a2:7e:c4:8f:e4:1b:70:ad:f2:a2:f9:fb:f7:
72 d7:1d:4b:3c:2e:5a:01:52:91:09:f2:df:ea:8d:d8:
74 cc:f2:61:93:d1:fd:67:6b:d7:52:ae:bf:68:ab:40:
91 ef:06:f2:96:9e:e9:a4:74:7f:7a:16:fc:b7:f5:b6:fb:15:1b:
103 f2:77:ab:43:22:0a:c7:eb:b6:0c:84:82:2c:80:6b:41:8a:08:
105 48:c5:fa:38:11:35:ff:25:83:2d:f2:7a:bf:da:fd:8e:fe:a5:
D33815e15.060 90:f2:72:62:d6:c1:36:20:22:24:5e:ce:e9:77:f2:
71 a8:b9:a6:ab:83:49:1d:e5:f2:ef:dd:e4:01:8e:18:
89 3c:89:b6:19:2a:73:01:0a:0f:03:b3:12:60:f2:7a:
127 dd:36:87:2b:4b:bb:68:d3:39:66:3d:a0:26:c7:f2:39:91:1d:
130 02:05:e6:bc:1e:b5:f2:9e:f4:a9:29:83:f8:b2:14:e3:6e:28:
132 5c:f2:73:7b:04:f8:17:e8:ab:b1:f3:2e:5c:64:6e:73:31:3a:
138 9f:85:c1:89:d5:1a:78:f2:95:10:53:32:dd:80:84:66:75:d9:
Da3896b44.051 fa:ab:d9:bd:7f:54:f2:a5:e9:79:fa:d9:d6:76:24:
65 f2:3f:9e:1b:ad:47:6b:63:ce:08:47:eb:52:3f:78:9c:af:4d:
71 25:10:cb:f1:3a:f2:d9:fa:db:49:56:bb:a6:fe:a7:41:35:c3:
74 f2:da:13:cb:25:42:51:95:47:03:8c:6c:21:cc:74:42:ed:53:
De48193cf.039 85:35:79:32:2d:bb:1c:62:37:f2:b1:5b:4a:3d:ca:
47 e8:f1:76:1d:73:15:f2:97:a4:b5:c8:7a:79:d9:42:
68 55:1a:00:3b:35:b4:3b:d9:d7:5d:30:fd:81:13:89:f2:c2:06:
69 2b:ed:67:c4:8e:c9:43:b2:5c:6b:15:89:02:bc:62:fc:4e:f2:
Dfde84897.042 19:f2:81:07:0f:38:90:19:d3:11:fe:86:b4:f2:d1:
43 5e:1e:1e:96:cd:80:6c:ce:3b:31:93:b6:f2:a0:d0:
71 85:03:1e:92:71:f6:42:af:e1:a3:61:9e:eb:f3:c0:0f:f2:a5:
D1e1eab7c.042 d6:48:c3:e0:39:38:ed:f2:5c:3c:3f:44:bc:93:3d:
45 73:b1:f8:ce:a9:09:2c:f2:53:d5:c3:14:44:b8:86:
70 f6:ca:f2:f6:e7:ad:b9:48:3f:bc:16:b7:c1:6d:f4:ea:09:af:
76 b8:89:a5:7b:d7:a2:3d:96:86:cc:f2:26:34:2d:6a:92:9d:9a:
D33815e15.159 90:f2:72:62:d6:c1:36:20:22:24:5e:ce:e9:77:f2:
70 a8:b9:a6:ab:83:49:1d:e5:f2:ef:dd:e4:01:8e:18:
88 3c:89:b6:19:2a:73:01:0a:0f:03:b3:12:60:f2:7a:
123 b7:f2:71:5e:b0:1a:c6:ba:93:8b:78:92:4a:85:f8:78:0f:83:
144 8a:f2:6c:f6:24:0e:2d:6c:70:c5:73:d1:de:14:d0:71:8f:b6:
146 f2:48:00:c0:a4:01:da:3f
/libcore/luni/src/test/java/tests/security/spec/
DECFieldF2mTest.java429 ECFieldF2m f2 = new ECFieldF2m(2000, BigInteger.valueOf(0L). in testEqualsObject04() local
432 assertTrue(f1.equals(f2) && f2.equals(f1)); in testEqualsObject04()
442 ECFieldF2m f2 = new ECFieldF2m(2000, BigInteger.valueOf(0L). in testEqualsObject05() local
445 assertFalse(f1.equals(f2) || f2.equals(f1)); in testEqualsObject05()

1234567