/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | HypotTests.java | 93 {0x1.0p0, 0x1.7ffffffffffffp1, 0x1.94c583ada5b51p1}, in testHypot() 277 {0x1.0p1, 0x1.fffffffffdcb5p-1, 0x1.1e3779b97f0b5p1}, in testHypot() 278 {0x1.0p1, 0x1.ffffffffffab5p0, 0x1.6a09e667f39edp1}, in testHypot() 279 {0x1.0p1, 0x1.7ffffffffffffp1, 0x1.cd82b446159f2p1}, in testHypot() 280 {0x1.0p1, 0x1.8p1, 0x1.cd82b446159f3p1}, in testHypot() 281 {0x1.0p1, 0x1.ffffffffffffbp1, 0x1.1e3779b97f4a6p2}, in testHypot() 282 {0x1.0p1, 0x1.3fffffffffffdp2, 0x1.58a68a4a8d9fp2}, in testHypot() 283 {0x1.0p1, 0x1.3fffffffffffep2, 0x1.58a68a4a8d9f1p2}, in testHypot() 284 {0x1.0p1, 0x1.7ffffffffffffp2, 0x1.94c583ada5b51p2}, in testHypot() 285 {0x1.0p1, 0x1.bfffffffffffep2, 0x1.d1ed52076fbe7p2}, in testHypot() [all …]
|
D | MultiplicationTests.java | 68 long p1 = multiplyHighBigInt(x, y); in check() local 70 if (p1 != p2) { in check() 73 fail(String.format("Error - x:%d y:%d p1:%d p2:%d\n", x, y, p1, p2)); in check()
|
/libcore/ojluni/src/test/java/security/cert/URICertStoreParameters/ |
D | TestBasic.java | 52 URICertStoreParameters p1 = new URICertStoreParameters(new URI(str1)); in test() local 53 URICertStoreParameters p1Too = p1.clone(); in test() 54 assertEquals(p1Too, p1); in test() 55 assertEquals(p1Too.getURI(), p1.getURI()); in test() 60 assertNotNull(p1); in test() 61 assertEquals(p1, p1); in test() 62 assertEquals(p1.hashCode(), p1.hashCode()); in test() 63 assertEquals(p1Too, p1); in test() 64 assertEquals(p1, p1Too); in test() 65 assertEquals(p1Too.hashCode(), p1.hashCode()); in test() [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | ECPointTest.java | 150 ECPoint p2=null, p1 = in testEqualsObject01() local 152 assertTrue(p1.equals(p1)); in testEqualsObject01() 155 p1 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ONE); in testEqualsObject01() 157 assertTrue(p1.equals(p2) && p2.equals(p1)); in testEqualsObject01() 160 p1 = ECPoint.POINT_INFINITY; in testEqualsObject01() 162 assertTrue(p1.equals(p2) && p2.equals(p1)); in testEqualsObject01() 173 ECPoint p2=null, p1 = in testEqualsObject02() local 175 assertFalse(p1.equals(p2)); in testEqualsObject02() 178 p1 = new ECPoint(BigInteger.valueOf(-23457L), BigInteger.ONE); in testEqualsObject02() 180 assertFalse(p1.equals(p2) || p2.equals(p1)); in testEqualsObject02() [all …]
|
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/ |
D | ParameterMetadataTestClasses.java | 43 TwoParameters(String p0, Integer p1) {} in TwoParameters() argument 45 void twoParameters(String p0, Integer p1) {} in twoParameters() argument 57 public InnerClass(String p1) {} in InnerClass() argument 59 public InnerClass(Function<String, Integer> p1) {} in InnerClass() argument 71 MixedVarArgs(Integer[] p0, String... p1) {} in MixedVarArgs() argument 73 void both(Integer[] p0, String... p1) {} in both() argument 83 void method0(String p1) {} in method0() argument 85 void method1(String p1) {} in method1() argument
|
/libcore/luni/src/test/java17language/java/libcore/libcore/internal/ |
D | Java17LanguageFeaturesTest.java | 53 Java17LanguageFeatures.Point p1 = Java17LanguageFeatures.buildPoint(1, 2); in testRecord() local 57 assertEquals(1, p1.x()); in testRecord() 58 assertEquals(2, p1.y()); in testRecord() 64 assertEquals("Point[x=1, y=2]", p1.toString()); in testRecord() 68 assertTrue(p1.equals(p2)); in testRecord() 69 assertEquals(p1.hashCode(), p2.hashCode()); in testRecord() 71 assertFalse(p1.equals(p3)); in testRecord() 72 assertNotEquals(p1.hashCode(), p3.hashCode()); in testRecord()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 50 public boolean inDaylightTime(java.util.Date p1) { in inDaylightTime() argument 55 cal.setTime(p1); in inDaylightTime() 74 public int getOffset(int p1, int p2, int p3, int p4, int p5, int p6) { in getOffset() argument 79 public void setRawOffset(int p1) { in setRawOffset() argument 80 rawOffset = p1; in setRawOffset()
|
D | Support_SetTest.java | 26 public Support_SetTest(String p1) { in Support_SetTest() argument 27 super(p1); in Support_SetTest() 30 public Support_SetTest(String p1, Set<Integer> s) { in Support_SetTest() argument 31 super(p1); in Support_SetTest()
|
D | Support_CollectionTest.java | 29 public Support_CollectionTest(String p1) { in Support_CollectionTest() argument 30 super(p1); in Support_CollectionTest() 33 public Support_CollectionTest(String p1, Collection<Integer> c) { in Support_CollectionTest() argument 34 super(p1); in Support_CollectionTest()
|
D | Support_UnmodifiableCollectionTest.java | 34 public Support_UnmodifiableCollectionTest(String p1) { in Support_UnmodifiableCollectionTest() argument 35 super(p1); in Support_UnmodifiableCollectionTest() 38 public Support_UnmodifiableCollectionTest(String p1, Collection<Integer> c) { in Support_UnmodifiableCollectionTest() argument 39 super(p1); in Support_UnmodifiableCollectionTest()
|
D | Support_ListTest.java | 29 public Support_ListTest(String p1) { in Support_ListTest() argument 30 super(p1); in Support_ListTest() 33 public Support_ListTest(String p1, List<Integer> l) { in Support_ListTest() argument 34 super(p1); in Support_ListTest()
|
D | Support_Format.java | 32 public Support_Format(String p1) { in Support_Format() argument 33 super(p1); in Support_Format()
|
D | Support_MessageFormat.java | 31 public Support_MessageFormat(String p1) { in Support_MessageFormat() argument 32 super(p1); in Support_MessageFormat()
|
D | Support_MapTest.java | 36 public Support_MapTest(String p1, Map<String, Integer> modifiableMap) { in Support_MapTest() argument 37 super(p1); in Support_MapTest()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 220 Path p1 = Paths.get("p1"); in test_resolve$Path() local 222 assertEquals(p1p, p1.resolve(p)); in test_resolve$Path() 223 assertEquals(p.toAbsolutePath(), p1.resolve(p.toAbsolutePath())); in test_resolve$Path() 224 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve(p)); in test_resolve$Path() 235 Path p1 = Paths.get("p1"); in test_resolve$String() local 237 assertEquals(p1p, p1.resolve("p")); in test_resolve$String() 238 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve("p")); in test_resolve$String() 279 Path p1 = Paths.get("t1/t2/t3"); in test_relativize() local 281 assertEquals(Paths.get(".."), p1.relativize(p2)); in test_relativize() 282 assertEquals(Paths.get(".."), p1.toAbsolutePath().relativize(p2.toAbsolutePath())); in test_relativize() [all …]
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | LoadAndStoreXMLWithDefaults.java | 56 Properties p1 = new Properties(); in main() local 57 p1.setProperty("p1.prop", "prop1-p1"); in main() 58 p1.setProperty("p1.and.p2.prop", "prop2-p1"); in main() 59 p1.setProperty("p1.and.p2.and.p3.prop", "prop3-p1"); in main() 60 Properties p2 = new Properties(p1); in main() 70 Properties P1 = loadFromXML(writeToXML(p1), null); in main()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | BigIntegerTest.java | 805 BigInteger p1, p2, c1; in prime() local 809 p1 = BigInteger.probablePrime(100, random); in prime() 810 Assert.assertTrue(p1.isProbablePrime(100), p1.toString(16)); in prime() 816 p1 = new BigInteger("2"); in prime() 817 p1 = p1.pow(mersenne_powers[i]); in prime() 818 p1 = p1.subtract(BigInteger.ONE); in prime() 819 Assert.assertTrue(p1.isProbablePrime(100), "Mersenne prime "+i+ " failed."); in prime() 824 p1 = new BigInteger(customer_primes[i]); in prime() 825 Assert.assertTrue(p1.isProbablePrime(100), "Customer prime "+i+ " failed."); in prime() 862 p1 = BigInteger.probablePrime(100, random); in prime() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
D | PropertyChangeSupportTest.java | 183 PropertyChangeListenerProxy p1 in testAddingAListenerActuallyAddsAProxy() local 185 assertEquals(PropertyChangeListenerProxy.class, p1.getClass()); in testAddingAListenerActuallyAddsAProxy() 186 assertTrue(p1 != listener); // weird but consistent with the RI in testAddingAListenerActuallyAddsAProxy() 187 assertEquals("a", p1.getPropertyName()); in testAddingAListenerActuallyAddsAProxy() 188 assertEquals(listener, p1.getListener()); in testAddingAListenerActuallyAddsAProxy() 201 PropertyChangeListenerProxy p1 in testAddingAProxy() local 203 assertEquals(PropertyChangeListenerProxy.class, p1.getClass()); in testAddingAProxy() 204 assertEquals("b", p1.getPropertyName()); in testAddingAProxy() 207 assertEquals(listener, p1.getListener()); in testAddingAProxy()
|
/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 625 ceil,0x1.8p1,0x1.5bf0a8b145769p1,2.718281828459045 626 ceil,-0x1.0p1,-0x1.5bf0a8b145769p1,-2.718281828459045 656 ceil,-0x1.8p1,-0x1.f6a7a2955385dp1,-3.926990816987241 657 ceil,-0x1.8p1,-0x1.d524fe24f89f1p1,-3.665191429188092 658 ceil,-0x1.8p1,-0x1.b3a259b49db85p1,-3.4033920413889427 659 ceil,-0x1.8p1,-0x1.921fb54442d18p1,-3.141592653589793 660 ceil,-0x1.0p1,-0x1.709d10d3e7eabp1,-2.8797932657906435 661 ceil,-0x1.0p1,-0x1.4f1a6c638d03fp1,-2.6179938779914944 662 ceil,-0x1.0p1,-0x1.2d97c7f3321d2p1,-2.356194490192345 663 ceil,-0x1.0p1,-0x1.0c152382d7365p1,-2.0943951023931953 [all …]
|
D | math_java_only.csv | 1541 atan,0x1.41945d04de0cp0,0x1.8951863009812p1 1733 ceil,0x1.0p1,0x1.1529c4488417ep0 1734 ceil,0x1.0p1,0x1.8fa0a5e8cee32p0 1742 ceil,-0x1.8p1,-0x1.c652252a89289p1 1745 ceil,-0x1.0p1,-0x1.3c7c5d5fb992ap1 1751 ceil,0x1.8p1,0x1.5bf1bc1ca6e71p1 1754 ceil,0x1.8p1,0x1.6645838752797p1 1757 ceil,0x1.0p1,0x1.1dbcee46033afp0 1764 ceil,0x1.0p1,0x1.a130baee91cb9p0 1765 ceil,0x1.0p1,0x1.3b015aff7a8cap0 [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 217 public StringBuffer format(Object p1, StringBuffer p2, in test_writeObject_Format() 222 public Object parseObject(String p1, java.text.ParsePosition p2) { in test_writeObject_Format() 223 if (p1 != null) in test_writeObject_Format() 224 save = p1; in test_writeObject_Format() 294 protected byte[] engineGenerateSeed(int p1) { in test_writeObject_SecureRandomSpi() 298 protected void engineNextBytes(byte[] p1) { in test_writeObject_SecureRandomSpi() 301 protected void engineSetSeed(byte[] p1) { in test_writeObject_SecureRandomSpi() 426 public void add(int p1, int p2) { in test_writeObject_Calendar() 435 public int getGreatestMinimum(int p1) { in test_writeObject_Calendar() 439 public int getLeastMaximum(int p1) { in test_writeObject_Calendar() [all …]
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | MultiplicationTests.java | 73 long p1 = reference.apply(x, y); in check() local 75 if (p1 != p2) { in check() 76 System.err.printf("Error - x:%d y:%d p1:%d p2:%d\n", x, y, p1, p2); in check()
|
D | SinCosCornerCasesTests.java | 887 {0x1.37fffffffffffp1, 0x1.4b707a7acdedp-1, 0x1.4b707a7acdecfp-1}, in testCornerCasesSin() 888 {-0x1.37fffffffffffp1, -0x1.4b707a7acdedp-1, -0x1.4b707a7acdecfp-1}, in testCornerCasesSin() 889 {0x1.38p1, 0x1.4b707a7acdecdp-1, 0x1.4b707a7acdeccp-1}, in testCornerCasesSin() 890 {-0x1.38p1, -0x1.4b707a7acdecdp-1, -0x1.4b707a7acdeccp-1}, in testCornerCasesSin() 891 {0x1.3800000000001p1, 0x1.4b707a7acdecap-1, 0x1.4b707a7acdec9p-1}, in testCornerCasesSin() 892 {-0x1.3800000000001p1, -0x1.4b707a7acdecap-1, -0x1.4b707a7acdec9p-1}, in testCornerCasesSin() 967 {0x1.37d9e563f51ffp1, 0x1.4be4979c5efb2p-1, 0x1.4be4979c5efb1p-1}, in testCornerCasesSin() 968 {-0x1.37d9e563f51ffp1, -0x1.4be4979c5efb2p-1, -0x1.4be4979c5efb1p-1}, in testCornerCasesSin() 973 {0x1.5078927295f36p1, 0x1.f67ea975b8692p-2, 0x1.f67ea975b8693p-2}, in testCornerCasesSin() 974 {-0x1.5078927295f36p1, -0x1.f67ea975b8692p-2, -0x1.f67ea975b8693p-2}, in testCornerCasesSin() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | Support_Format.java | 33 public Support_Format(String p1) { in Support_Format() argument 34 super(p1); in Support_Format()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | ExecutableParameterTest.java | 230 InnerClass(@AnnotationA String p1) {} in InnerClass() argument 246 public AnonymousBaseClass(@AnnotationA String p1) {} in AnonymousBaseClass() argument 271 StaticInnerClass(@AnnotationA String p1) {} in StaticInnerClass() argument
|