Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/spec/
DECPointTest.java150 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/support/src/test/java/tests/support/
DSupport_TimeZone.java50 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()
DSupport_SetTest.java26 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()
DSupport_CollectionTest.java29 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()
DSupport_UnmodifiableCollectionTest.java34 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()
DSupport_ListTest.java29 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()
DSupport_Format.java32 public Support_Format(String p1) { in Support_Format() argument
33 super(p1); in Support_Format()
DSupport_MessageFormat.java31 public Support_MessageFormat(String p1) { in Support_MessageFormat() argument
32 super(p1); in Support_MessageFormat()
DSupport_MapTest.java36 public Support_MapTest(String p1, Map<String, Integer> modifiableMap) { in Support_MapTest() argument
37 super(p1); in Support_MapTest()
DSupport_DecimalFormat.java27 public Support_DecimalFormat(String p1) { in Support_DecimalFormat() argument
28 super(p1); in Support_DecimalFormat()
/libcore/luni/src/test/java/libcore/java/util/beans/
DPropertyChangeSupportTest.java188 PropertyChangeListenerProxy p1 in testAddingAListenerActuallyAddsAProxy() local
190 assertEquals(PropertyChangeListenerProxy.class, p1.getClass()); in testAddingAListenerActuallyAddsAProxy()
191 assertTrue(p1 != listener); // weird but consistent with the RI in testAddingAListenerActuallyAddsAProxy()
192 assertEquals("a", p1.getPropertyName()); in testAddingAListenerActuallyAddsAProxy()
193 assertEquals(listener, p1.getListener()); in testAddingAListenerActuallyAddsAProxy()
206 PropertyChangeListenerProxy p1 in testAddingAProxy() local
208 assertEquals(PropertyChangeListenerProxy.class, p1.getClass()); in testAddingAProxy()
209 assertEquals("b", p1.getPropertyName()); in testAddingAProxy()
212 PropertyChangeListenerProxy p2 = (PropertyChangeListenerProxy) p1.getListener(); in testAddingAProxy()
/libcore/luni/src/test/resources/
Dmath_important_numbers.csv625 ceil,0x1.8p1,0x1.5bf0a8b145769p1,2.718281828459045
626 ceil,-0x1.0p1,-0x1.5bf0a8b145769p1,-2.718281828459045
642 ceil,-0x1.8p1,-0x1.f6a7a2955385dp1,-3.926990816987241
643 ceil,-0x1.8p1,-0x1.d524fe24f89f1p1,-3.665191429188092
644 ceil,-0x1.8p1,-0x1.b3a259b49db85p1,-3.4033920413889427
645 ceil,-0x1.8p1,-0x1.921fb54442d18p1,-3.141592653589793
646 ceil,-0x1.0p1,-0x1.709d10d3e7eabp1,-2.8797932657906435
647 ceil,-0x1.0p1,-0x1.4f1a6c638d03fp1,-2.6179938779914944
648 ceil,-0x1.0p1,-0x1.2d97c7f3321d2p1,-2.356194490192345
649 ceil,-0x1.0p1,-0x1.0c152382d7365p1,-2.0943951023931953
[all …]
Dmath_java_only.csv1541 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 …]
Dmath_tests.csv118 tan,-0x1.e717de7da2ce8p0,0x1.07p1
119 tan,0x1.e717de7da2ce8p0,-0x1.07p1
134 tan,-0x1.9680c02601047p0,0x1.11p1
135 tan,0x1.9680c02601047p0,-0x1.11p1
180 tan,0x1.2952396945948p1,0x1.4f0f308p488
181 tan,-0x1.2952396945948p1,-0x1.4f0f308p488
698 tan,-0x1.b2d89a938294cp-1,0x1.38p1
699 tan,0x1.b2d89a938294cp-1,-0x1.38p1
700 tan,-0x1.b2d89a9382946p-1,0x1.3800000000001p1
701 tan,0x1.b2d89a9382946p-1,-0x1.3800000000001p1
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java241 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()
247 if (p1 != null) in test_writeObject_Format()
248 save = p1; in test_writeObject_Format()
318 protected byte[] engineGenerateSeed(int p1) { in test_writeObject_SecureRandomSpi()
322 protected void engineNextBytes(byte[] p1) { in test_writeObject_SecureRandomSpi()
325 protected void engineSetSeed(byte[] p1) { in test_writeObject_SecureRandomSpi()
450 public void add(int p1, int p2) { in test_writeObject_Calendar()
459 public int getGreatestMinimum(int p1) { in test_writeObject_Calendar()
463 public int getLeastMaximum(int p1) { in test_writeObject_Calendar()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_Format.java33 public Support_Format(String p1) { in Support_Format() argument
34 super(p1); in Support_Format()
DSupport_MessageFormat.java32 public Support_MessageFormat(String p1) { in Support_MessageFormat() argument
33 super(p1); in Support_MessageFormat()
DSupport_DecimalFormat.java27 public Support_DecimalFormat(String p1) { in Support_DecimalFormat() argument
28 super(p1); in Support_DecimalFormat()
DSupport_SimpleDateFormat.java35 public Support_SimpleDateFormat(String p1) { in Support_SimpleDateFormat() argument
36 super(p1); in Support_SimpleDateFormat()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java74 Principal p1 = clientSession.getPeerPrincipal(); in test_getPeerPrincipal() local
78 assertEquals(p1, p2); in test_getPeerPrincipal()
158 Principal p1 = clientSession.getLocalPrincipal(); in test_getLocalPrincipal() local
162 assertEquals(p1, p2); in test_getLocalPrincipal()
/libcore/luni/src/test/java/libcore/java/security/cert/
DOldPKIXParametersTest.java163 PKIXParameters p1 = null; in testToString() local
165 p1.toString(); in testToString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java162 private static void assertPacketDataEquals(DatagramPacket p1, DatagramPacket p2) in assertPacketDataEquals() argument
164 assertEquals(p1.getLength(), p2.getLength()); in assertPacketDataEquals()
165 final byte[] p1Bytes = p1.getData(); in assertPacketDataEquals()
168 for (int i = 0; i < p1.getLength(); ++i) { in assertPacketDataEquals()
169 if (p1Bytes[p1.getOffset() + i] != p2Bytes[p2.getOffset() + i]) { in assertPacketDataEquals()
170 String expected = new String(p1Bytes, p1.getOffset(), p1.getLength(), in assertPacketDataEquals()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java336 public void verify(PublicKey p0, String p1) in testKeyStoreTCToString() argument
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java558 HashSet<String> p1 = new HashSet<String>(Arrays.asList(policies1)); in test_getPolicy() local
566 selector.setPolicy(p1); in test_getPolicy()
567 assertEquals("The returned date should be equal to specified", p1, selector.getPolicy()); in test_getPolicy()
1176 HashSet<String> p1 = new HashSet<String>(Arrays.asList(policies1)); in test_setPolicyLjava_util_Set() local
1189 selector.setPolicy(p1); in test_setPolicyLjava_util_Set()
/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java292 Object p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, pa, pb, pc, pd, pe, pf; field in Exchanger.Node

12