Home
last modified time | relevance | path

Searched refs:i1 (Results 1 – 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerTest.java753 BigInteger i1 = element[0], i2 = element[1]; in test_andLjava_math_BigInteger() local
754 BigInteger res = i1.and(i2); in test_andLjava_math_BigInteger()
755 assertTrue("symmetry of and", res.equals(i2.and(i1))); in test_andLjava_math_BigInteger()
756 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_andLjava_math_BigInteger()
758 assertTrue("and", (i1.testBit(i) && i2.testBit(i)) == res in test_andLjava_math_BigInteger()
769 BigInteger i1 = element[0], i2 = element[1]; in test_orLjava_math_BigInteger() local
770 BigInteger res = i1.or(i2); in test_orLjava_math_BigInteger()
771 assertTrue("symmetry of or", res.equals(i2.or(i1))); in test_orLjava_math_BigInteger()
772 int len = Math.max(i1.bitLength(), i2.bitLength()) + 66; in test_orLjava_math_BigInteger()
774 assertTrue("or", (i1.testBit(i) || i2.testBit(i)) == res in test_orLjava_math_BigInteger()
[all …]
/libcore/ojluni/src/test/java/lang/invoke/
DClassValueTest.java113 for (int i1 = 0; i1 < CVN_COUNT1; i1++) { in testGetMany()
117 int n = i1*CVN_COUNT2 + i2; in testGetMany()
122 boolean doremove = (((i1 + i2) & 3) == 0); in testGetMany()
141 if (i1 > i2 && i1 < i2+5) continue eachClass; // leave diagonal gap in testGetMany()
DPermuteArgsReturnVoidTest.java45 static String consumeIdentity(String s, int i1, int i2) { in consumeIdentity() argument
49 static void consumeVoid(String s, int i1, int i2) { in consumeVoid() argument
DSpreadCollectTest.java206 static String forSpreading(String s1, int i1, int i2, int i3, String s2) { in forSpreading() argument
207 return s1 + i1 + i2 + i3 + s2; in forSpreading()
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java59 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], Boolean.valueOf(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/ojluni/src/main/java/jdk/internal/misc/
DUnsafe.java4050 …private static long makeLong(byte i0, byte i1, byte i2, byte i3, byte i4, byte i5, byte i6, byte i… in makeLong() argument
4052 | (toUnsignedLong(i1) << pickPos(56, 8)) in makeLong()
4060 private static long makeLong(short i0, short i1, short i2, short i3) { in makeLong() argument
4062 | (toUnsignedLong(i1) << pickPos(48, 16)) in makeLong()
4066 private static long makeLong(int i0, int i1) { in makeLong() argument
4068 | (toUnsignedLong(i1) << pickPos(32, 32)); in makeLong()
4070 private static int makeInt(short i0, short i1) { in makeInt() argument
4072 | (toUnsignedInt(i1) << pickPos(16, 16)); in makeInt()
4074 private static int makeInt(byte i0, byte i1, byte i2, byte i3) { in makeInt() argument
4076 | (toUnsignedInt(i1) << pickPos(24, 8)) in makeInt()
[all …]
/libcore/ojluni/src/test/java/text/BreakIterator/
DExceptionTest.java115 private static void check(int i1, int i2) { in check() argument
116 if (i1 != i2) { in check()
117 throw new RuntimeException(i1 + " != " + i2); in check()
/libcore/ojluni/src/test/java/util/Collections/
DReverseOrder2.java83 int i1 = Integer.parseInt(s1);
85 return (i1 < i2 ? Integer.MIN_VALUE : (i1 == i2 ? 0 : 1));
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java34 @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/ojluni/src/test/java/text/Collator/
DCollatorTest.java53 protected void assertEqual(CollationElementIterator i1, CollationElementIterator i2) { in assertEqual() argument
56 c1 = i1.next(); in assertEqual()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java166 int i1 = k / n1; in testNextBytesbyteArray02() local
170 assertTrue("non-equality: i1=" + i1 + " i2=" + i2 + " i3=" + i3 + " i4=" + i4, in testNextBytesbyteArray02()
171 bytes1[i1][i2] == bytes2[i3][i4]); in testNextBytesbyteArray02()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DIntegerTest.java216 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/
DTCKInstant.java1815 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1);
1817 long amount = i1.until(i2, unit);
1823 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1);
1825 long amount = i2.until(i1, unit);
1831 Instant i1 = Instant.ofEpochSecond(seconds1, nanos1);
1833 long amount = unit.between(i1, i2);
/libcore/ojluni/src/test/java/util/Random/
DRandomTestCoverage.java56 int i1 = rng.nextInt(); in coverRandomGenerator() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedListTest.java431 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/
DSSLEngineTest.java1050 @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/
DKXmlParser.java1705 int i1 = s.indexOf(deli, i0); in setInput() local
1706 charset = s.substring(i0, i1); in setInput()