/libcore/benchmarks/src/benchmarks/regression/ |
D | EqualsHashCodeBenchmark.java | 46 Object b2; field in EqualsHashCodeBenchmark 56 b2 = type.newInstance("http://developer.android.com/reference/java/net/URI.html"); in setUp() 67 b1.equals(b2); in timeEquals()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 91 public static boolean isEqual(byte[] b1, int off1, byte[] b2, int off2, in isEqual() argument 94 if (b1[i + off1] != b2[i + off2]) in isEqual()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 421 byte[] b2 = ((Key)object).getEncoded(); in equals() 425 if (b1.length != b2.length) in equals() 428 if (b1[i] != b2[i]) { in equals()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 201 byte[] b2 = { 1, 2, 3, 4, 5 }; in test_isEqualLB$LB$() 206 assertFalse(MessageDigest.isEqual(b1, b2)); in test_isEqualLB$LB$()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectInputStream.java | 3243 int b1, b2, b3; in readUTFSpan() local 3259 b2 = buf[pos++]; in readUTFSpan() 3260 if ((b2 & 0xC0) != 0x80) { in readUTFSpan() 3264 ((b2 & 0x3F) << 0)); in readUTFSpan() 3269 b2 = buf[pos + 0]; in readUTFSpan() 3271 if ((b2 & 0xC0) != 0x80 || (b3 & 0xC0) != 0x80) { in readUTFSpan() 3275 ((b2 & 0x3F) << 6) | in readUTFSpan() 3311 int b1, b2, b3; in readUTFChar() local 3330 b2 = readByte(); in readUTFChar() 3331 if ((b2 & 0xC0) != 0x80) { in readUTFChar() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 755 private int b0, b1, b2; field in Base64.EncOutputStream 807 b2 = b[off++] & 0xff; in write() 812 out.write(base64[(b1 << 2) & 0x3f | (b2 >> 6)]); in write() 813 out.write(base64[b2 & 0x3f]); in write()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Bits.java | 208 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { in makeInt() argument 210 ((b2 & 0xff) << 16) | in makeInt() 302 byte b3, byte b2, byte b1, byte b0) in makeLong() argument 309 (((long)b2 & 0xff) << 16) | in makeLong()
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 271 int b2 = bval[j] + 0x80000000; in compare() local 272 if (b1 < b2) in compare() 274 if (b1 > b2) in compare() 297 int b2 = bval[j] + 0x80000000; in compareShifted() local 298 if (b1 < b2) in compareShifted() 300 if (b1 > b2) in compareShifted() 1356 BigInteger b2 = b.getLower(n); in divide3n2n() local 1365 d = new MutableBigInteger(quotient.toBigInteger().multiply(b2)); in divide3n2n() 1375 d = new MutableBigInteger(b2); in divide3n2n() 1377 d.subtract(new MutableBigInteger(b2)); in divide3n2n()
|
D | BigInteger.java | 1803 BigInteger a0, a1, a2, b0, b1, b2; in multiplyToomCook3() local 1807 b2 = b.getToomSlice(k, r, 0, largest); in multiplyToomCook3() 1815 db1 = b2.add(b0); in multiplyToomCook3() 1821 db1.add(b2).shiftLeft(1).subtract(b0), true); in multiplyToomCook3() 1822 vinf = a2.multiply(b2, true); in multiplyToomCook3() 2949 b2 = new MutableBigInteger(mod); in oddModPow() local 2950 b2.normalize(); // MutableBigInteger.divide() assumes that its in oddModPow() 2953 MutableBigInteger r= a2.divide(b2, q); in oddModPow() 3104 long b2 = arg2[i] & LONG_MASK; in intArrayCmpToLen() local 3105 if (b1 < b2) in intArrayCmpToLen() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 901 ByteBuffer b2 = b1.duplicate(); in testFreed() local 903 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) { in testFreed() 924 ByteBuffer b2 = b1.duplicate(); in testAccess() local 925 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) { in testAccess() 938 b2 = b1.duplicate(); in testAccess() 941 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) { in testAccess() 981 b2.setAccessible(true); in testAccess() 982 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) { in testAccess()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 496 Byte b2 = new Byte((byte) 90); 498 assertTrue("Equality test failed", b1.equals(b2));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ArrayDequeTest.java | 674 Integer[] b2 = (Integer[]) q.toArray(a2); in checkToArray2() local 676 assertSame(a2, b2); in checkToArray2() 683 assertSame(b2[i], x); in checkToArray2()
|
D | ArrayBlockingQueueTest.java | 644 Integer[] b2 = (Integer[]) q.toArray(a2); in checkToArray2() local 646 assertSame(a2, b2); in checkToArray2() 653 assertSame(b2[i], x); in checkToArray2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 2315 short[] b2 = { 0, 1 }; in test_deepEquals$Ljava_lang_ObjectLjava_lang_Object() local 2316 Object[] b3 = { new Integer(1), b2 }; in test_deepEquals$Ljava_lang_ObjectLjava_lang_Object() 2319 Object b[] = { b1, b2, b3 }; in test_deepEquals$Ljava_lang_ObjectLjava_lang_Object() 2338 short[] b2 = { 0, 1 }; in test_deepHashCode$Ljava_lang_Object() local 2339 Object[] b3 = { new Integer(1), b2 }; in test_deepHashCode$Ljava_lang_Object() 2342 Object b[] = { b1, b2, b3 }; in test_deepHashCode$Ljava_lang_Object()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 110 B1 b2 = b1; field in ObjectInputStreamTest.A1
|