/libcore/benchmarks/src/benchmarks/regression/ |
H A D | EqualsHashCodeBenchmark.java | 46 Object b2; field in class:EqualsHashCodeBenchmark 56 b2 = type.newInstance("http://developer.android.com/reference/java/net/URI.html"); 67 b1.equals(b2);
|
/libcore/luni/src/test/java/tests/support/ |
H A D | Support_SQL.java | 91 public static boolean isEqual(byte[] b1, int off1, byte[] b2, int off2, argument 94 if (b1[i + off1] != b2[i + off2])
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS8Key.java | 432 byte[] b2 = ((Key)object).getEncoded(); 436 if (b1.length != b2.length) 439 if (b1[i] != b2[i]) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | MessageDigest1Test.java | 201 byte[] b2 = { 1, 2, 3, 4, 5 }; 206 assertFalse(MessageDigest.isEqual(b1, b2));
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectInputStream.java | 3095 int b1, b2, b3; 3111 b2 = buf[pos++]; 3112 if ((b2 & 0xC0) != 0x80) { 3116 ((b2 & 0x3F) << 0)); 3121 b2 = buf[pos + 0]; 3123 if ((b2 & 0xC0) != 0x80 || (b3 & 0xC0) != 0x80) { 3127 ((b2 & 0x3F) << 6) | 3163 int b1, b2, b3; 3182 b2 = readByte(); 3183 if ((b2 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ByteTest.java | 496 Byte b2 = new Byte((byte) 90); 498 assertTrue("Equality test failed", b1.equals(b2));
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | Bits.java | 219 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { argument 221 ((b2 & 0xff) << 16) | 324 byte b3, byte b2, byte b1, byte b0) { 330 (((long) b2 & 0xff) << 16) | 323 makeLong(byte b7, byte b6, byte b5, byte b4, byte b3, byte b2, byte b1, byte b0) argument
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ArrayBlockingQueueTest.java | 644 Integer[] b2 = (Integer[]) q.toArray(a2); 646 assertSame(a2, b2); 653 assertSame(b2[i], x);
|
H A D | ArrayDequeTest.java | 674 Integer[] b2 = (Integer[]) q.toArray(a2); 676 assertSame(a2, b2); 683 assertSame(b2[i], x);
|
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 955 ByteBuffer b2 = b1.duplicate(); 957 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) { 979 ByteBuffer b2 = b1.duplicate(); 980 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) { 993 b2 = b1.duplicate(); 996 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) { 1036 b2.setAccessible(true); 1037 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ArraysTest.java | 2315 short[] b2 = { 0, 1 }; 2316 Object[] b3 = { new Integer(1), b2 }; 2319 Object b[] = { b1, b2, b3 }; 2338 short[] b2 = { 0, 1 }; 2339 Object[] b3 = { new Integer(1), b2 }; 2342 Object b[] = { b1, b2, b3 };
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
H A D | HttpURLConnection.java | 1330 boolean b2 = responses.filterNTLMResponses("Proxy-Authenticate"); 1331 if (b1 || b2) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 110 B1 b2 = b1; field in class:ObjectInputStreamTest.A1
|