Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 32) 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/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/
DParameterMetadataTestClasses.java43 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/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_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()
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java220 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/lang/StrictMath/
DMultiplicationTests.java65 long p1 = multiplyHighBigInt(x, y); in check() local
67 if (p1 != p2) { in check()
70 fail(String.format("Error - x:%d y:%d p1:%d p2:%d\n", x, y, p1, p2)); in check()
/libcore/luni/src/test/java/libcore/java/util/beans/
DPropertyChangeSupportTest.java183 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/ojluni/src/test/java/lang/Math/
DMultiplicationTests.java65 long p1 = multiplyHighBigInt(x, y); in testMultiplyHigh() local
67 assertEquals(p1, p2); in testMultiplyHigh()
/libcore/luni/src/test/resources/
Dmath_important_numbers.csv625 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 …]
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 …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java217 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/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()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DExecutableParameterTest.java230 InnerClass(@AnnotationA String p1) {} in InnerClass() argument
246 public AnonymousBaseClass(@AnnotationA String p1) {} in AnonymousBaseClass() argument
271 StaticInnerClass(@AnnotationA String p1) {} in StaticInnerClass() argument
DAnnotatedElementParameterTest.java448 InnerClass(@AnnotationA String p1) {} in InnerClass() argument
483 public AnonymousBaseClass(@AnnotationA String p1) {} in AnonymousBaseClass() argument
528 StaticInnerClass(@AnnotationA String p1) {} in StaticInnerClass() argument
/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.java186 private static void assertPacketDataEquals(DatagramPacket p1, DatagramPacket p2) in assertPacketDataEquals() argument
188 assertEquals(p1.getLength(), p2.getLength()); in assertPacketDataEquals()
189 final byte[] p1Bytes = p1.getData(); in assertPacketDataEquals()
192 for (int i = 0; i < p1.getLength(); ++i) { in assertPacketDataEquals()
193 if (p1Bytes[p1.getOffset() + i] != p2Bytes[p2.getOffset() + i]) { in assertPacketDataEquals()
194 String expected = new String(p1Bytes, p1.getOffset(), p1.getLength(), in assertPacketDataEquals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java79 Principal p1 = clientSession.getPeerPrincipal(); in test_getPeerPrincipal() local
83 assertEquals(p1, p2); in test_getPeerPrincipal()
132 Principal p1 = clientSession.getLocalPrincipal(); in test_getLocalPrincipal() local
136 assertEquals(p1, p2); in test_getLocalPrincipal()
/libcore/luni/src/test/java/libcore/java/lang/
DStrictMathTest.java259 long p1 = multiplyFullBigInt(x, y); in testMultiplyFull() local
261 assertEquals(p1, p2); in testMultiplyFull()
DMathTest.java331 long p1 = multiplyFullBigInt(x, y); in testMultiplyFull() local
333 assertEquals(p1, p2); in testMultiplyFull()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DParameterTest.java219 TwoParameters(String p0, Integer p1) {} in TwoParameters() argument
221 void twoParameters(String p0, Integer p1) {} in twoParameters() argument
348 public InnerClass(String p1) {} in InnerClass() argument
350 public InnerClass(Function<String, Integer> p1) {} in InnerClass() argument
632 MixedVarArgs(Integer[] p0, String... p1) {} in MixedVarArgs() argument
634 void both(Integer[] p0, String... p1) {} in both() argument
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/
DMetadataVariations.smali716 "p1"
764 "p1"
776 "p1"
DREADME.txt24 void tooFewAccessFlags(final String p0, final String p1);
26 void tooFewNames(final String p0, final String p1);
28 void tooFewBoth(final String p0, final String p1);

12