/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/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/lang/StrictMath/ |
D | MultiplicationTests.java | 65 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/ |
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/ojluni/src/test/java/lang/Math/ |
D | MultiplicationTests.java | 65 long p1 = multiplyHighBigInt(x, y); in testMultiplyHigh() local 67 assertEquals(p1, p2); in testMultiplyHigh()
|
/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/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()
|
D | Support_MessageFormat.java | 32 public Support_MessageFormat(String p1) { in Support_MessageFormat() argument 33 super(p1); in Support_MessageFormat()
|
/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
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 186 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/luni/src/test/java/libcore/java/security/cert/ |
D | OldPKIXParametersTest.java | 163 PKIXParameters p1 = null; in testToString() local 165 p1.toString(); in testToString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 79 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/ |
D | StrictMathTest.java | 259 long p1 = multiplyFullBigInt(x, y); in testMultiplyFull() local 261 assertEquals(p1, p2); in testMultiplyFull()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 219 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
|