/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/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
|