/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerTest.java | 758 BigInteger i1 = element[0], i2 = element[1]; in test_andLjava_math_BigInteger() local 759 BigInteger res = i1.and(i2); in test_andLjava_math_BigInteger() 760 assertTrue("symmetry of and", res.equals(i2.and(i1))); in test_andLjava_math_BigInteger() 761 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_andLjava_math_BigInteger() 763 assertTrue("and", (i1.testBit(i) && i2.testBit(i)) == res in test_andLjava_math_BigInteger() 774 BigInteger i1 = element[0], i2 = element[1]; in test_orLjava_math_BigInteger() local 775 BigInteger res = i1.or(i2); in test_orLjava_math_BigInteger() 776 assertTrue("symmetry of or", res.equals(i2.or(i1))); in test_orLjava_math_BigInteger() 777 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_orLjava_math_BigInteger() 779 assertTrue("or", (i1.testBit(i) || i2.testBit(i)) == res in test_orLjava_math_BigInteger() [all …]
|
/libcore/luni/src/test/java/tests/java/security/ |
D | IdentityTest.java | 59 IdentityStub i1 = new IdentityStub("testEquals"); in testEquals() local 63 i1, Boolean.TRUE, in testEquals() 64 new IdentityStub(i1.getName()), Boolean.TRUE in testEquals() 68 assertEquals(value[k+1], new Boolean(i1.equals(value[k]))); in testEquals() 69 if (Boolean.TRUE.equals(value[k+1])) assertEquals(i1.hashCode(), value[k].hashCode()); in testEquals() 73 assertEquals(i1.identityEquals(i2), i1.equals(i2)); in testEquals() 75 assertEquals(i1.identityEquals(i3), i1.equals(i3)); in testEquals()
|
/libcore/luni/src/main/java/java/math/ |
D | Conversion.java | 210 for (int i1 = tempLen - 1; i1 >= 0; i1--) { in toDecimalScaledString() 212 + (temp[i1] & 0xFFFFFFFFL); in toDecimalScaledString() 214 temp[i1] = (int) res; in toDecimalScaledString()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 34 @Override public SSLEngineResult wrap(ByteBuffer[] byteBuffers, int i, int i1, in wrap() argument 37 int i, int i1) throws SSLException { return null; } in unwrap() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/ |
D | OldSHA1PRNGSecureRandomTest.java | 162 int i1 = k / n1; in testNextBytesbyteArray02() local 166 assertTrue("non-equality: i1=" + i1 + " i2=" + i2 + " i3=" + i3 + " i4=" + i4, in testNextBytesbyteArray02() 167 bytes1[i1][i2] == bytes2[i3][i4]); in testNextBytesbyteArray02()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | IntegerTest.java | 216 Integer i1 = new Integer(1000); in test_equalsLjava_lang_Object2() local 219 assertTrue("Equality test failed", i1.equals(i2) && !(i1.equals(i3))); in test_equalsLjava_lang_Object2() 284 Integer i1 = new Integer(1000); in test_hashCode2() local 286 assertTrue("Returned incorrect hashcode", i1.hashCode() == 1000 in test_hashCode2()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 1809 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1); 1811 long amount = i1.until(i2, unit); 1817 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1); 1819 long amount = i2.until(i1, unit); 1825 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1); 1827 long amount = unit.between(i1, i2);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedListTest.java | 431 ListIterator i1 = ll.listIterator(); in test_listIteratorI() local 454 elm = i1.next(); in test_listIteratorI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1050 @Override public SSLEngineResult wrap(ByteBuffer[] byteBuffers, int i, int i1, in getRawEngine() 1053 int i, int i1) throws SSLException { return null; } in getRawEngine() argument
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 1705 int i1 = s.indexOf(deli, i0); in setInput() local 1706 charset = s.substring(i0, i1); in setInput()
|