/libcore/ojluni/src/test/java/util/BitSet/ |
D | BSMethods.java | 364 BitSet b3 = (BitSet)b1.clone(); in testAndNot() local 365 b3.andNot(b2); in testAndNot() 371 boolean bit3 = b3.get(x); in testAndNot() 375 checkSanity(b1, b2, b3); in testAndNot() 398 BitSet b3 = (BitSet)b1.clone(); in testAnd() local 399 b3.and(b2); in testAnd() 405 boolean bit3 = b3.get(x); in testAnd() 409 checkSanity(b1, b2, b3); in testAnd() 446 BitSet b3 = (BitSet)b1.clone(); in testOr() local 447 b3.or(b2); in testOr() [all …]
|
/libcore/ojluni/src/test/java/io/ByteArrayOutputStream/ |
D | Write.java | 128 byte[] b3 = baos.toByteArray(); in writeTest() 130 if (b3.length != len1 + len2 + b.length) { in writeTest() 133 assertEquals(b3.length, len3, "Array length test 3 failed."); in writeTest() 134 assertEquals(Arrays.copyOfRange(b3, 0, len1), in writeTest() 137 assertEquals(Arrays.copyOfRange(b3, len1, len1 + len2), in writeTest() 140 assertEquals(Arrays.copyOfRange(b3, len1 + len2, len3), b, in writeTest()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest1Test.java | 202 byte[] b3 = { 1, 3, 3, 4 }; in test_isEqualLB$LB$() 207 assertFalse(MessageDigest.isEqual(b1, b3)); in test_isEqualLB$LB$()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 794 int b3 = base64[src[sp++] & 0xff]; in decodeBlock() local 796 if ((b1 | b2 | b3 | b4) < 0) { // non base64 byte in decodeBlock() 799 int bits0 = b1 << 18 | b2 << 12 | b3 << 6 | b4; in decodeBlock() 924 private void writeb4(char b1, char b2, char b3, char b4) throws IOException { in writeb4() argument 927 buf[2] = (byte)b3; in writeb4()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Bits.java | 211 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { in makeInt() argument 212 return (((b3 ) << 24) | in makeInt() 305 byte b3, byte b2, byte b1, byte b0) in makeLong() argument 311 (((long)b3 & 0xff) << 24) | in makeLong()
|
/libcore/ojluni/src/main/native/ |
D | zip_util.h | 36 #define PKZIP_SIGNATURE_AT(p, b2, b3) \ argument 37 (((p)[0] == 'P') & ((p)[1] == 'K') & ((p)[2] == b2) & ((p)[3] == b3))
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectInputStream.java | 3465 int b1, b2, b3; in readUTFSpan() local 3490 b3 = buf[pos + 1]; in readUTFSpan() 3493 if ((b2 & 0xC0) != 0x80 || (b3 & 0xC0) != 0x80) { in readUTFSpan() 3498 ((b3 & 0x3F) << 0)); in readUTFSpan() 3533 int b1, b2, b3; in readUTFChar() local 3568 b3 = readByte(); in readUTFChar() 3569 if ((b2 & 0xC0) != 0x80 || (b3 & 0xC0) != 0x80) { in readUTFChar() 3574 ((b3 & 0x3F) << 0))); in readUTFChar()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 497 Byte b3 = new Byte((byte) -90); 499 assertTrue("Equality test failed", !b1.equals(b3));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ArrayDequeTest.java | 675 Integer[] b3 = (Integer[]) q.toArray(a3); in checkToArray2() local 677 assertSame(a3, b3); in checkToArray2() 684 assertSame(b3[i], x); in checkToArray2()
|
D | ArrayBlockingQueueTest.java | 645 Integer[] b3 = (Integer[]) q.toArray(a3); in checkToArray2() local 647 assertSame(a3, b3); in checkToArray2() 654 assertSame(b3[i], x); in checkToArray2()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 969 ByteBuffer b3 = b1.asReadOnlyBuffer(); in testAccess() local 970 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) { in testAccess() 1011 for (ByteBuffer b: new ByteBuffer[] { b1, b2, b3 }) { in testAccess()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 1871 int b3 = name[off + len - 1] | 0x20; in isSignatureRelated() local 1872 if ((b1 == 'r' || b1 == 'd') && b2 == 's' && b3 == 'a') { in isSignatureRelated()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 2316 Object[] b3 = { Integer.valueOf(1), b2 }; in test_deepEquals$Ljava_lang_ObjectLjava_lang_Object() local 2319 Object b[] = { b1, b2, b3 }; in test_deepEquals$Ljava_lang_ObjectLjava_lang_Object() 2339 Object[] b3 = { Integer.valueOf(1), b2 }; in test_deepHashCode$Ljava_lang_Object() local 2342 Object b[] = { b1, b2, b3 }; in test_deepHashCode$Ljava_lang_Object()
|