Searched refs:b1 (Results 1 - 12 of 12) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
H A DEqualsHashCodeBenchmark.java45 Object b1; field in class:EqualsHashCodeBenchmark
54 b1 = type.newInstance("http://developer.android.com/reference/java/net/URI.html");
64 a1.equals(b1);
66 b1.equals(b2);
73 b1.hashCode();
/libcore/luni/src/main/java/javax/net/ssl/
H A DDistinguishedNameParser.java321 int b1, b2;
323 b1 = chars[position];
324 if (b1 >= '0' && b1 <= '9') {
325 b1 = b1 - '0';
326 } else if (b1 >= 'a' && b1 <= 'f') {
327 b1 = b1
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DDNParser.java355 int b1 = chars[position];
356 if (b1 >= '0' && b1 <= '9') {
357 b1 = b1 - '0';
358 } else if (b1 >= 'a' && b1 <= 'f') {
359 b1 = b1 - 87; // 87 = 'a' - 10
360 } else if (b1 >
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherTest.java426 byte[] b1 = new byte[30];
431 c.update(b, 0, 10, b1, 5);
447 int len = c.doFinal(b, 0, 16, b1, 0);
454 c.update(b1, 0, 24, b, 0);
487 byte[] b1 = new byte[6];
491 c.update(b, 0, 10, b1, 5);
498 c.update(b, 0, 10, b1, 5);
503 b1 = new byte[30];
504 c.update(b, 0, 10, b1, 5);
512 byte[] b1
[all...]
/libcore/luni/src/test/java/tests/support/
H A DSupport_SQL.java91 public static boolean isEqual(byte[] b1, int off1, byte[] b2, int off2, argument
94 if (b1[i + off1] != b2[i + off2])
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DMessageDigest1Test.java200 byte[] b1 = { 1, 2, 3, 4 };
205 assertTrue(MessageDigest.isEqual(b1, b4));
206 assertFalse(MessageDigest.isEqual(b1, b2));
207 assertFalse(MessageDigest.isEqual(b1, b3));
/libcore/luni/src/test/java/libcore/java/nio/
H A DBufferTest.java903 ByteBuffer b1 = ByteBuffer.allocateDirect(1);
904 ByteBuffer b2 = b1.duplicate();
905 NioUtils.freeDirectBuffer(b1);
906 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) {
926 ByteBuffer b1 = ByteBuffer.allocate(1);
927 ByteBuffer b2 = b1.duplicate();
928 for (ByteBuffer b: new ByteBuffer[] { b1, b2 }) {
940 b1 = ByteBuffer.allocateDirect(8);
941 b2 = b1.duplicate();
942 b1
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DByteTest.java495 Byte b1 = new Byte((byte) 90);
498 assertTrue("Equality test failed", b1.equals(b2));
499 assertTrue("Equality test failed", !b1.equals(b3));
/libcore/jsr166-tests/src/test/java/jsr166/
H A DArrayBlockingQueueTest.java643 Integer[] b1 = size == 0 ? null : (Integer[]) q.toArray(a1);
651 assertSame(b1[i], x);
652 assertEquals(b1[0] + i, (int) x);
659 assertNotSame(a1, b1);
660 assertEquals(size, b1.length);
H A DArrayDequeTest.java675 Integer[] b1 = size == 0 ? null : (Integer[]) q.toArray(a1);
683 assertSame(b1[i], x);
684 assertEquals(b1[0] + i, (int) x);
691 assertNotSame(a1, b1);
692 assertEquals(size, b1.length);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java108 B1 b1 = new B1(); field in class:ObjectInputStreamTest.A1
110 B1 b2 = b1;
426 assertEquals(5, ((A1) deserialized).b1.i);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArraysTest.java2303 int[] b1 = { 1, 2, 3 };
2308 Object b[] = { b1, b2, b3 };
2326 int[] b1 = { 1, 2, 3 };
2331 Object b[] = { b1, b2, b3 };

Completed in 696 milliseconds