| /libcore/luni/src/test/java/libcore/java/io/ |
| D | OutputStreamWriterTest.java | 77 assertEquals((byte) 0x00, bytes[i++]); in testFlush() local 78 assertEquals((byte) 0x02, bytes[i++]); in testFlush() local 79 assertEquals((byte) 0x0b, bytes[i++]); in testFlush() local 80 assertEquals((byte) 0x9f, bytes[i++]); in testFlush() local 85 assertEquals((byte) 0xff, bytes[i++]); in testFlush() local 86 assertEquals((byte) 0xfd, bytes[i++]); in testFlush() local
|
| /libcore/dex/src/main/java/com/android/dex/util/ |
| D | ByteArrayByteInput.java | 21 private final byte[] bytes; field in ByteArrayByteInput 24 public ByteArrayByteInput(byte... bytes) { in ByteArrayByteInput()
|
| /libcore/luni/src/test/java/libcore/java/util/ |
| D | BitSetTest.java | 80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet() 102 private static void assertBitSet(byte[] bytes, String s) { in assertBitSet() 104 assertBitSet(BitSet.valueOf(bytes), bytes, s); in assertBitSet() local 106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s); in assertBitSet() local 111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); in assertBitSet() local
|
| /libcore/luni/src/main/java/libcore/icu/ |
| D | CollationKeyICU.java | 22 private final byte[] bytes; field in CollationKeyICU 29 CollationKeyICU(String source, byte[] bytes) { in CollationKeyICU()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
| D | ByteBufferTest.java | 1204 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutChar() local 1240 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutCharint() local 1359 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDouble() local 1395 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDoubleint() local 1502 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloat() local 1538 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloatint() local 1644 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutInt() local 1680 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutIntint() local 1781 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLong() local 1817 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLongint() local [all …]
|
| /libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
| D | BitString.java | 38 public final byte[] bytes; field in BitString 49 public BitString(byte[] bytes, int unusedBits) { in BitString()
|
| /libcore/luni/src/main/java/java/security/ |
| D | SecureRandomSpi.java | 49 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes()
|
| D | SecureRandom.java | 270 public synchronized void nextBytes(byte[] bytes) { in nextBytes() 292 int bytes = (numBits+7)/8; in next() local
|
| /libcore/luni/src/main/java/java/nio/charset/ |
| D | Charsets.java | 67 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars() 76 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
|
| /libcore/luni/src/test/java/libcore/util/ |
| D | SerializationTester.java | 88 private static Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException { in deserialize() 95 private static String hexEncode(byte[] bytes) { in hexEncode()
|
| /libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
| D | RandomImpl.java | 40 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
| /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
| D | SecureRandomSpiTest.java | 53 protected void engineNextBytes(byte[] bytes) {} in engineNextBytes()
|
| /libcore/luni/src/test/java/libcore/java/util/zip/ |
| D | GZIPOutputStreamTest.java | 41 public static byte[] gzip(byte[] bytes) throws IOException { in gzip()
|
| D | ZipInputStreamTest.java | 53 public static byte[] unzip(String name, byte[] bytes) throws IOException { in unzip()
|
| D | ZipOutputStreamTest.java | 52 public static byte[] zip(String name, byte[] bytes) throws IOException { in zip()
|
| D | DeflaterInputStreamTest.java | 52 public byte[] inflate(byte[] bytes) throws IOException { in inflate()
|
| /libcore/dex/src/test/java/com/android/dex/ |
| D | EncodedValueReaderTest.java | 120 private EncodedValueReader readerOf(int... bytes) { in readerOf()
|
| /libcore/luni/src/test/java/tests/security/interfaces/ |
| D | Util.java | 99 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
| D | Inet6AddressTest.java | 821 int bytesToInt(byte bytes[], int start) { in bytesToInt() 832 String byteArrayToHexString(byte bytes[], boolean leadingZeros) { in byteArrayToHexString() 844 void intToBytes(int value, byte bytes[], int start) { in intToBytes()
|
| /libcore/luni/src/test/java/libcore/java/text/ |
| D | OldMessageFormatFieldTest.java | 49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local
|
| D | OldNumberFormatFieldTest.java | 45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local
|
| /libcore/luni/src/main/java/libcore/io/ |
| D | BlockGuardOs.java | 208 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread() 218 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite() 228 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read() 248 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom() 273 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto() 311 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write()
|
| /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
| D | SHA1PRNG_SecureRandomImpl.java | 192 private void updateSeed(byte[] bytes) { in updateSeed() 281 protected synchronized void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
| /libcore/luni/src/main/native/ |
| D | java_util_zip_CRC32.cpp | 27 ScopedByteArrayRO bytes(env, byteArray); in CRC32_updateImpl() local
|
| D | java_util_zip_Adler32.cpp | 27 ScopedByteArrayRO bytes(env, byteArray); in Adler32_updateImpl() local
|