/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/luni/src/test/java/libcore/java/util/ |
D | BitSetTest.java | 97 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet() 119 private static void assertBitSet(byte[] bytes, String s) { in assertBitSet() 121 assertBitSet(BitSet.valueOf(bytes), bytes, s); in assertBitSet() local 123 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s); in assertBitSet() local 128 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); in assertBitSet() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 1279 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutChar() local 1315 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutCharint() local 1434 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDouble() local 1470 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDoubleint() local 1577 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloat() local 1613 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloatint() local 1719 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutInt() local 1755 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutIntint() local 1856 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLong() local 1892 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLongint() local [all …]
|
/libcore/ojluni/src/main/java/sun/net/ |
D | TelnetInputStream.java | 128 public int read(byte bytes[]) throws IOException { in read() 136 public int read(byte bytes[], int off, int length) throws IOException { in read()
|
D | TelnetOutputStream.java | 130 public void write(byte bytes[], int off, int length) throws IOException { in write()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ManifestDigester.java | 34 public ManifestDigester(byte[] bytes) { in ManifestDigester() 42 private boolean isNameAttr(byte[] bytes, int start) { in isNameAttr() 75 java.security.MessageDigest md, byte[] bytes, int offset, int length) { in doOldStyle()
|
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/ |
D | PKCS7.annotated.java | 48 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { throw new RuntimeException("… in PKCS7() 58 public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo info, byte[] bytes) throws … in verify() 64 public sun.security.pkcs.SignerInfo[] verify(byte[] bytes) throws java.security.NoSuchAlgorithmExce… in verify()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Blob.java | 181 int setBytes(long pos, byte[] bytes) throws SQLException; in setBytes() 217 int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException; in setBytes()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessEnvironment.java | 129 protected final byte[] bytes; field in ProcessEnvironment.ExternalData 131 protected ExternalData(String str, byte[] bytes) { in ExternalData() 157 protected Variable(String str, byte[] bytes) { in Variable() 174 public static Variable valueOf(byte[] bytes) { in valueOf() 190 protected Value(String str, byte[] bytes) { in Value() 207 public static Value valueOf(byte[] bytes) { in valueOf()
|
/libcore/luni/src/main/java/libcore/util/ |
D | CharsetUtils.java | 73 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars() 83 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipInputStreamTest.java | 52 public static byte[] unzip(String name, byte[] bytes) throws IOException { in unzip() 159 private static byte[] zip(String[] names, byte[] bytes) throws IOException { in zip()
|
D | GZIPOutputStreamTest.java | 47 public static byte[] gzip(byte[] bytes) throws IOException { in gzip()
|
D | DeflaterInputStreamTest.java | 57 public byte[] inflate(byte[] bytes) throws IOException { in inflate()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandomSpi.java | 63 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestDigester.java | 110 public ManifestDigester(byte bytes[]) in ManifestDigester() 184 private boolean isNameAttr(byte bytes[], int start) in isNameAttr() 222 byte[] bytes, in doOldStyle()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | RandomImpl.java | 40 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
/libcore/ojluni/src/main/native/ |
D | ObjectInputStream.c | 61 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToFloats() local 129 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToDoubles() local
|
D | ObjectOutputStream.c | 60 jbyte *bytes; in Java_java_io_ObjectOutputStream_floatsToBytes() local 132 jbyte *bytes; in Java_java_io_ObjectOutputStream_doublesToBytes() local
|
D | io_util.c | 77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, in readBytes() 153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, in writeBytes()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandomSpiTest.java | 53 protected void engineNextBytes(byte[] bytes) {} in engineNextBytes()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKOffsetDateTimeSerialization.java | 111 assertSerializedBySer(OffsetDateTime.of(ldt, ZoneOffset.ofHours(1)), bytes); in test_serialization_format() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | Inet6AddressTest.java | 779 int bytesToInt(byte bytes[], int start) { in bytesToInt() 790 String byteArrayToHexString(byte bytes[], boolean leadingZeros) { in byteArrayToHexString() 802 void intToBytes(int value, byte bytes[], int start) { in intToBytes()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | Util.java | 99 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
/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
|