Searched refs:i1 (Results 1 – 7 of 7) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerTest.java | 757 BigInteger i1 = element[0], i2 = element[1]; in test_andLjava_math_BigInteger() local 758 BigInteger res = i1.and(i2); in test_andLjava_math_BigInteger() 759 assertTrue("symmetry of and", res.equals(i2.and(i1))); in test_andLjava_math_BigInteger() 760 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_andLjava_math_BigInteger() 762 assertTrue("and", (i1.testBit(i) && i2.testBit(i)) == res in test_andLjava_math_BigInteger() 773 BigInteger i1 = element[0], i2 = element[1]; in test_orLjava_math_BigInteger() local 774 BigInteger res = i1.or(i2); in test_orLjava_math_BigInteger() 775 assertTrue("symmetry of or", res.equals(i2.or(i1))); in test_orLjava_math_BigInteger() 776 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_orLjava_math_BigInteger() 778 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/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/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/xml/src/main/java/org/kxml2/io/ |
D | KXmlParser.java | 1705 int i1 = s.indexOf(deli, i0); in setInput() local 1706 charset = s.substring(i0, i1); in setInput()
|