/libcore/luni/src/test/java/tests/security/spec/ |
D | ECPointTest.java | 150 ECPoint p2=null, p1 = in testEqualsObject01() local 156 p2 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(1L)); in testEqualsObject01() 157 assertTrue(p1.equals(p2) && p2.equals(p1)); in testEqualsObject01() 161 p2 = 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() 179 p2 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(1L)); in testEqualsObject02() 180 assertFalse(p1.equals(p2) || p2.equals(p1)); in testEqualsObject02() 184 p2 = new ECPoint(BigInteger.valueOf(-23456L), BigInteger.ZERO); in testEqualsObject02() [all …]
|
/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 633 ceil,-0x1.8p2,-0x1.921fb54442d18p2,-6.283185307179586 634 ceil,-0x1.8p2,-0x1.815e630c155e1p2,-6.021385919380436 635 ceil,-0x1.4p2,-0x1.709d10d3e7eabp2,-5.759586531581287 636 ceil,-0x1.4p2,-0x1.5fdbbe9bba775p2,-5.497787143782138 637 ceil,-0x1.4p2,-0x1.4f1a6c638d03fp2,-5.235987755982989 638 ceil,-0x1.0p2,-0x1.3e591a2b5f908p2,-4.974188368183839 639 ceil,-0x1.0p2,-0x1.2d97c7f3321d2p2,-4.71238898038469 640 ceil,-0x1.0p2,-0x1.1cd675bb04a9cp2,-4.4505895925855405 641 ceil,-0x1.0p2,-0x1.0c152382d7365p2,-4.1887902047863905 669 ceil,0x1.0p2,0x1.921fb54442d18p1,3.141592653589793 [all …]
|
D | math_java_only.csv | 428 expm1,-0x1.fbfdbe07160d3p-1,-0x1.3663949103991p2 1072 nextAfter,0x1.2486672587039p2,0x1.248667258703ap2,0x1.20e4c8a83353fp0 1346 atan2,-0x1.985b3b66967cfp0,-0x1.02a40ab498803p8,-0x1.9313481211377p2 1749 ceil,0x1.0p2,0x1.d5c53dc486547p1 1799 ceil,0x1.0p2,0x1.feb52d333684dp1 1808 ceil,-0x1.8p2,-0x1.b3d4537ae5063p2 1832 ceil,0x1.8p2,0x1.7eed6e5ec8f76p2 1837 ceil,0x1.4p2,0x1.3d89f980914b3p2 1852 ceil,0x1.0p2,0x1.ad5ee9acacce9p1 1869 ceil,0x1.4p2,0x1.18426a14825adp2 [all …]
|
D | math_tests.csv | 206 tan,-0x1.acd9302d72de4p-1,0x1.658p2 207 tan,0x1.acd9302d72de4p-1,-0x1.658p2 1189 tan,0x1.2866f9be4de14p0,0x1.0p2 1190 tan,-0x1.2866f9be4de14p0,-0x1.0p2 1191 tan,0x1.2866f9be4de1dp0,0x1.0000000000001p2 1192 tan,-0x1.2866f9be4de1dp0,-0x1.0000000000001p2 1587 log,0x1.62e42fefa39efp0,0x1.0p2 1588 log,0x1.62e42fefa39fp0,0x1.0000000000001p2 2043 sin,0x1.812a5da3777cdp-8,0x1.928p2 2044 sin,-0x1.812a5da3777cdp-8,-0x1.928p2 [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 74 public int getOffset(int p1, int p2, int p3, int p4, int p5, int p6) { in getOffset() argument
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
D | PropertyChangeSupportTest.java | 212 PropertyChangeListenerProxy p2 = (PropertyChangeListenerProxy) p1.getListener(); in testAddingAProxy() local 213 assertEquals(PropertyChangeListenerProxy.class, p2.getClass()); in testAddingAProxy() 214 assertEquals("a", p2.getPropertyName()); in testAddingAProxy() 215 assertEquals(listener, p2.getListener()); in testAddingAProxy()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 77 Principal p2 = cert.getSubjectX500Principal(); in test_getPeerPrincipal() local 78 assertEquals(p1, p2); in test_getPeerPrincipal() 161 Principal p2 = cert.getSubjectX500Principal(); in test_getLocalPrincipal() local 162 assertEquals(p1, p2); in test_getLocalPrincipal()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderTest.java | 367 Provider p2 = pp[0]; in testService2() local 368 String old = p2.getProperty("MessageDigest.ASH-1"); in testService2() 369 p2.put("MessageDigest.ASH-1", "AnotherClassName"); in testService2() 370 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 162 private static void assertPacketDataEquals(DatagramPacket p1, DatagramPacket p2) in assertPacketDataEquals() argument 164 assertEquals(p1.getLength(), p2.getLength()); in assertPacketDataEquals() 166 final byte[] p2Bytes = p2.getData(); in assertPacketDataEquals() 169 if (p1Bytes[p1.getOffset() + i] != p2Bytes[p2.getOffset() + i]) { in assertPacketDataEquals() 172 String actual = new String(p2Bytes, p2.getOffset(), p2.getLength(), in assertPacketDataEquals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 241 public StringBuffer format(Object p1, StringBuffer p2, in test_writeObject_Format() 246 public Object parseObject(String p1, java.text.ParsePosition p2) { in test_writeObject_Format() 450 public void add(int p1, int p2) { in test_writeObject_Calendar() 475 public void roll(int p1, boolean p2) { in test_writeObject_Calendar() 603 public StringBuffer format(Date p1, StringBuffer p2, in test_writeObject_DateFormat() 610 public Date parse(String p1, java.text.ParsePosition p2) { in test_writeObject_DateFormat() 736 public StringBuffer format(double p1, StringBuffer p2, in test_writeObject_NumberFormat() 741 public StringBuffer format(long p1, StringBuffer p2, in test_writeObject_NumberFormat() 748 public Number parse(String p1, java.text.ParsePosition p2) { in test_writeObject_NumberFormat() 792 public int getOffset(int p1, int p2, int p3, int p4, int p5, in test_writeObject_TimeZone()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | AbstractPreferencesTest.java | 130 Preferences p2 = new MockAbstractPreferences(null, ""); in testConstructor() local 131 assertNotSame(p2, Preferences.systemRoot()); in testConstructor() 132 assertNotSame(p2, Preferences.userRoot()); in testConstructor() 133 assertFalse(p2.isUserNode()); in testConstructor() 135 p2 = new MockAbstractPreferences((AbstractPreferences) Preferences in testConstructor() 137 assertNotSame(p2, pref); in testConstructor() 138 p2.removeNode(); in testConstructor()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CertSelectorTest.java | 559 HashSet<String> p2 = new HashSet<String>(Arrays.asList(policies2)); in test_getPolicy() local 569 selector.setPolicy(p2); in test_getPolicy() 570 assertEquals("The returned date should be equal to specified", p2, selector.getPolicy()); in test_getPolicy() 1177 HashSet<String> p2 = new HashSet<String>(Arrays.asList(policies2)); in test_setPolicyLjava_util_Set() local 1195 selector.setPolicy(p2); in test_setPolicyLjava_util_Set()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 292 Object p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, pa, pb, pc, pd, pe, pf; field in Exchanger.Node
|
D | ConcurrentHashMap.java | 3028 volatile long p0, p1, p2, p3, p4, p5, p6; field in ConcurrentHashMap.CounterCell
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldPreferencesTest.java | 122 Preferences p2 = Preferences.systemRoot(); in testToString() local 123 assertNotNull(p2.toString()); in testToString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | MathTest.java | 1035 double p2 = 2.0; in test_powDD() local 1050 double[] values = { p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, in test_powDD()
|