Home
last modified time | relevance | path

Searched refs:f1 (Results 1 – 25 of 159) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterOutputStreamTest.java88 File f1 = File.createTempFile("hyts_ConstruOD", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater() local
89 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
107 f1.delete(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
114 File f1 = File.createTempFile("hyts_ConstruO", ".tst"); in test_ConstructorLjava_io_OutputStream() local
115 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStream()
124 f1.delete(); in test_ConstructorLjava_io_OutputStream()
137 File f1 = File.createTempFile("hyts_ConstruODI", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI() local
138 FileOutputStream fos = new FileOutputStream(f1); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
171 f1.delete(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
178 File f1 = File.createTempFile("close", ".tst"); in test_close() local
[all …]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DFieldTest.java32 Field f1 = FieldTestHelper.class.getField("a"); in testEqualConstructorEqualsAndHashCode() local
34 assertEquals(f1, f2); in testEqualConstructorEqualsAndHashCode()
35 assertEquals(f1.hashCode(), f2.hashCode()); in testEqualConstructorEqualsAndHashCode()
39 Field f1 = FieldTestHelper.class.getField("a"); in testHashCodeSpec() local
40 assertEquals(FieldTestHelper.class.getName().hashCode() ^ "a".hashCode(), f1.hashCode()); in testHashCodeSpec()
44 Field f1 = FieldTestHelper.class.getField("a"); in testDifferentConstructorEqualsAndHashCode() local
46 assertFalse(f1.equals(f2)); in testDifferentConstructorEqualsAndHashCode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java154 File f1 = 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()
332 File f1 = new File("thisFile.file"); in test_compareToLjava_io_File() local
335 assertEquals("Equal files did not answer zero for compareTo", 0, f1 in test_compareToLjava_io_File()
338 .compareTo(f1) < 0); in test_compareToLjava_io_File()
339 assertTrue("f1.compareTo(f3) did not result in value > 0", f1 in test_compareToLjava_io_File()
380 File f1 = new File(dir, "tempfile.tst"); in test_createNewFile() local
381 f1.createNewFile(); in test_createNewFile()
389 File f1 = new File(dir, "tempfile.tst"); in test_createNewFile() local
391 f1.deleteOnExit(); in test_createNewFile()
[all …]
DSerializationStressTest3.java44 int f1; field in SerializationStressTest3.DefaultConstructor
49 f1 = valueAfterConstructor; in DefaultConstructor()
65 return inst.f1 == valueAfterConstructor; in equals()
71 public int f1; field in SerializationStressTest3.NonSerDefaultConstructor
76 f1 = valueAfterConstructor; in NonSerDefaultConstructor()
84 public int f1; field in SerializationStressTest3.NonSerPrivateConstructor
89 f1 = valueAfterConstructor; in NonSerPrivateConstructor()
97 public int f1; field in SerializationStressTest3.NonSerProtectedConstructor
102 f1 = valueAfterConstructor; in NonSerProtectedConstructor()
107 public int f1; field in SerializationStressTest3.NonSerPublicConstructor
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DChoiceFormatTest.java35 ChoiceFormat f1 = new ChoiceFormat(limits, formats); field in ChoiceFormatTest
141 ChoiceFormat f = (ChoiceFormat) f1.clone(); in test_applyPatternLjava_lang_String()
198 ChoiceFormat f = (ChoiceFormat) f1.clone(); in test_clone()
199 assertTrue("Not equal", f.equals(f1)); in test_clone()
201 assertTrue("Equal", !f.equals(f1)); in test_clone()
240 assertTrue("Not equal", f1.equals(f2)); in test_equalsLjava_lang_Object()
253 String r = f1.format(-1, buf, field).toString(); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
256 r = f1.format(0, buf, field).toString(); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
259 r = f1.format(1, buf, field).toString(); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
262 r = f1.format(2, buf, field).toString(); in test_formatDLjava_lang_StringBufferLjava_text_FieldPosition()
[all …]
DMessageFormatTest.java115 MessageFormat f1 = (MessageFormat) format1.clone(); in test_setFormatILjava_text_Format() local
116 f1.setFormat(0, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
117 f1.setFormat(1, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
118 f1.setFormat(2, NumberFormat.getInstance()); in test_setFormatILjava_text_Format()
119 f1.setFormat(3, new ChoiceFormat("0#off|1#on")); in test_setFormatILjava_text_Format()
120 f1.setFormat(4, new ChoiceFormat("1#few|2#ok|3#a lot")); in test_setFormatILjava_text_Format()
121 f1.setFormat(5, DateFormat.getTimeInstance()); in test_setFormatILjava_text_Format()
123 Format[] formats = f1.getFormats(); in test_setFormatILjava_text_Format()
124 formats = f1.getFormats(); in test_setFormatILjava_text_Format()
142 f1.setFormat(-1, DateFormat.getDateInstance()); in test_setFormatILjava_text_Format()
[all …]
DSimpleDateFormatTest.java509 SimpleDateFormat f1 = new SimpleDateFormat("y"); in test_get2DigitYearStart() local
510 Date date = f1.get2DigitYearStart(); in test_get2DigitYearStart()
726 SimpleDateFormat f1 = new SimpleDateFormat("yy"); in test_set2DigitYearStartLjava_util_Date() local
727 f1.set2DigitYearStart(new GregorianCalendar(1950, Calendar.JANUARY, 1).getTime()); in test_set2DigitYearStartLjava_util_Date()
730 cal.setTime(f1.parse("49")); in test_set2DigitYearStartLjava_util_Date()
732 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date()
735 f1.applyPattern("y"); in test_set2DigitYearStartLjava_util_Date()
736 cal.setTime(f1.parse("00")); in test_set2DigitYearStartLjava_util_Date()
738 f1.applyPattern("yyy"); in test_set2DigitYearStartLjava_util_Date()
739 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date()
[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()
476 return f1; in max()
477 if (f1 < f2) in max()
480 if (f1 != f2) in max()
483 if (f1 == 0.0f in max()
484 && ((Float.floatToIntBits(f1) & Float.floatToIntBits(f2)) & 0x80000000) == 0) in max()
486 return f1; in max()
544 public static float min(float f1, float f2) { in min() argument
545 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()
485 return f1; in max()
487 if (f1 < f2) { in max()
491 if (f1 != f2) { in max()
496 if (Float.floatToRawIntBits(f1) != 0) { in max()
561 public static float min(float f1, float f2) { in min() argument
562 if (f1 > f2) { in min()
565 if (f1 < f2) { in min()
566 return f1; in min()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java136 float f1 = values[i]; in test_compare() local
137 assertTrue("compare() should be equal: " + f1, Float.compare(f1, f1) == 0); in test_compare()
138 Float F1 = new Float(f1); in test_compare()
139 assertTrue("compareTo() should be equal: " + f1, F1.compareTo(F1) == 0); in test_compare()
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()
147 assertTrue("compareTo() " + f1 + " should be less " + f2, in test_compare()
149 assertTrue("compareTo() " + f2 + " should be greater " + f1, in test_compare()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorCompletionServiceTest.java106 Future f1 = ecs.submit(c); in testTake2() local
108 assertSame(f1, f2); in testTake2()
178 Future f1 = ecs.submit(c); in testNewTaskForCallable() local
180 f1 instanceof MyCallableFuture); in testNewTaskForCallable()
182 assertSame("submit and take must return same objects", f1, f2); in testNewTaskForCallable()
210 Future f1 = ecs.submit(r, null); in testNewTaskForRunnable() local
212 f1 instanceof MyRunnableFuture); in testNewTaskForRunnable()
214 assertSame("submit and take must return same objects", f1, f2); in testNewTaskForRunnable()
/libcore/luni/src/main/files/cacerts/
D524d9b43.057 17:4a:da:f1:1d:7a:66:6b:98:60:66:a4:d9:ef:d2:
58 2e:82:f1:f0:ef:09:ea:44:c9:15:6a:e2:03:6e:33:
60 f1:84:60:f9:5b:27:11:b4:fc:16:f2:bb:56:6a:80:
76 21:c6:81:95:56:5a:0e:b1:c2:d4:b1:a6:59:ac:f1:63:cb:b8:
78 6c:cc:f1:3d:c3:f5:63:e3:b3:e3:21:c9:24:39:e9:fd:15:66:
79 46:f4:1b:11:d0:4d:73:a3:7d:46:f9:3d:ed:a8:5f:62:d4:f1:
86 05:92:06:71:f2:b8:98:93:b7:ec:cd:82:61:f1:38:e6:4f:97:
D7a481e66.046 f1:06:f1:ab:ad:d6:c8:ab:61:a3:2f:43:c4:b0:b2:
52 66:88:24:00:78:60:f1:f8:ab:fe:02:b2:6b:fb:22:
57 20:dc:be:f1:4f:7f:23:52:d9:5b:e2:64:d9:9c:aa:
59 62:60:03:f1:bb:39:4a:92:4a:3d:0a:b9:9d:c5:a0:
78 4a:17:8b:1b:8d:ca:89:e1:cf:3a:1e:ac:1d:f1:9c:32:b4:8e:
84 9f:1a:dc:39:f1:c5:72:a3:11:03:fd:3b:42:52:29:db:e8:01:
D60afe812.049 f1:ff:ad:64:fe:20:9a:d7:5c:eb:fe:a6:1f:08:64:
67 6f:01:88:54:61:6e:f1:b9:18:ad:4a:ad:fe:81:40:23:94:2f:
68 fb:75:7c:2f:28:4b:62:24:81:82:0b:f5:61:f1:1c:6e:b8:61:
73 3b:a8:0d:30:cf:bf:7d:7f:ce:f1:9d:83:bd:c9:46:6e:20:a6:
74 f9:61:51:ba:21:2f:7b:be:a5:15:63:a1:d4:95:87:f1:9e:b9:
79 95:80:51:6a:4b:30:a6:b0:62:a1:93:f1:9b:d8:ce:c4:63:75:
D86212b19.045 c0:de:10:3f:3d:ed:b8:fc:f1:f1:23:53:dc:bf:65:
51 f6:f4:92:81:36:fd:db:34:f1:72:7e:f3:0c:16:bd:
68 01:80:dc:65:a3:36:ae:65:59:48:4f:82:4b:c8:65:f1:57:1d:
74 47:f1:a2:37:c7:45:9e:3c:c7:77:af:64:a8:93:df:f6:69:83:
Dbc3f2570.038 00:bf:71:62:08:f1:fa:59:34:f7:1b:c9:18:a3:f7:
39 80:49:58:e9:22:83:13:a6:c5:20:43:01:3b:84:f1:
50 29:c5:1c:a9:e9:5d:1e:b6:9e:9e:30:0a:39:ce:f1:
65 99:db:5d:79:d5:f9:97:59:67:03:61:f1:7e:3b:06:31:75:2d:
74 ff:07:68:17:db:22:90:38:2d:7a:8d:d1:54:f1:69:e3:5f:33:
D75680d2e.044 c0:bc:72:4e:ea:f1:15:ae:f4:54:9a:12:0a:c3:7a:
53 98:0c:ab:2f:9f:0e:01:de:ef:9f:99:49:f1:2d:df:
79 05:4a:f3:f6:f1:c2:bf:c4:b9:74:86:b6:2d:7d:6b:cc:d2:f3:
83 c6:9e:d9:f1:59:48:30:21:65:03:6c:ec:e9:21:73:ec:9b:03:
88 b2:63:e2:f5:62:2c:82:d4:6a:00:41:50:f1:39:83:9f:95:e9:
D69105f4f.047 c0:61:35:96:16:fe:59:9c:8b:76:6d:d7:f1:a2:4b:
75 01:05:9b:ab:3d:25:c1:cc:b6:7f:c2:f1:6f:86:c6:fa:64:68:
76 eb:81:2d:94:eb:42:b7:fa:8c:1e:dd:62:f1:be:50:67:b7:6c:
77 bd:f3:f1:1f:6b:0c:36:07:16:7f:37:7c:a9:5b:6d:7a:f1:12:
Dc33a80d4.050 65:90:ac:88:0f:56:d9:e6:30:34:d4:26:c7:d0:50:f1:92:de:
52 b8:5d:63:f3:d4:73:fb:6c:9c:99:78:f1:4b:78:7d:19:24:c3:
53 2b:02:84:f8:bc:22:d9:8a:22:d7:a0:fc:71:ec:91:87:20:f1:
D82223c44.050 4b:64:f0:0c:2a:37:49:b5:e5:cf:0c:7c:ee:f1:4a:
52 60:f9:d3:f1:9d:92:74:8a:e4:1c:96:ac:5b:80:e9:
57 f1:29:41:61:a3:41:cb:23:36:d5:c1:f1:32:50:10:
60 07:18:fa:0e:f1:2b:d1:54:15:7d:3c:e1:f7:b4:19:
114 a7:ff:61:dc:f1:5a:4d:6c:32:23:43:ee:ac:a8:ee:ee:4a:12:
117 58:e2:2f:e3:1d:e4:a9:d6:d0:0a:d0:9e:bf:d7:81:09:f1:c9:
De48193cf.047 e8:f1:76:1d:73:15:f2:97:a4:b5:c8:7a:79:d9:42:
65 de:8c:d3:ab:89:15:d8:6b:24:d4:f1:16:ae:d8:a4:5c:d4:7f:
71 38:a9:33:56:48:f1:6d:1b:33:8d:0d:8c:3f:60:37:9d:d3:ca:
75 b0:16:f1:bf:00:9e:07:3a:17:64:b5:04:b5:23:21:99:0a:95:
D9f533518.073 59:f1:fd:1b:33:b5:29:3b:17:3b:41:b6:21:dd:d4:
88 73:ed:7c:a1:f2:f1:fd:dd:f7:49:d3:43:58:a0:56:
109 80:88:7f:70:de:92:28:d9:05:94:46:ff:90:57:a9:f1:2f:df:
112 eb:59:7c:c6:35:f1:dc:18:e9:f1:67:e5:af:ba:45:e0:09:de:
116 9e:cb:a1:1f:f1:7f:12:b1:b9:e4:64:7f:67:d6:23:2a:f4:b8:
129 3c:f1:98:a7:c5:18:12:3f:e6:bb:28:33:42:e9:45:0a:7c:6d:
D594f1775.037 04:64:ac:f1:6b:53:5f:05:b3:cb:67:80:bf:42:02:
39 43:ba:5b:2b:e1:1f:80:70:99:15:57:93:16:f1:0f:
69 77:61:d6:fa:2a:66:27:a0:0d:fa:a7:73:5c:ea:70:f1:94:21:
/libcore/luni/src/test/java/libcore/java/lang/
DFloatTest.java118 float f1 = 0; in testVerifierTyping() local
120 f1 = Float.MIN_VALUE; in testVerifierTyping()
122 assertEquals(f1, 0f); in testVerifierTyping()
/libcore/luni/src/test/java/tests/security/spec/
DECFieldF2mTest.java428 ECFieldF2m f1 = new ECFieldF2m(2000, new int[] {981, 2, 1}); in testEqualsObject04() local
432 assertTrue(f1.equals(f2) && f2.equals(f1)); in testEqualsObject04()
441 ECFieldF2m f1 = new ECFieldF2m(2000); in testEqualsObject05() local
445 assertFalse(f1.equals(f2) || f2.equals(f1)); in testEqualsObject05()

1234567