/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/ojluni/src/main/native/ |
D | Bits.c | 56 #define GETCRITICAL(bytes, env, obj) { \ argument 62 #define RELEASECRITICAL(bytes, env, obj, mode) { \ argument 79 jbyte *bytes; in Java_java_nio_Bits_copyFromShortArray() local 114 jbyte *bytes; in Java_java_nio_Bits_copyToShortArray() local 149 jbyte *bytes; in Java_java_nio_Bits_copyFromIntArray() local 184 jbyte *bytes; in Java_java_nio_Bits_copyToIntArray() local 219 jbyte *bytes; in Java_java_nio_Bits_copyFromLongArray() local 254 jbyte *bytes; in Java_java_nio_Bits_copyToLongArray() local
|
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/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 | 1253 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutChar() local 1289 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutCharint() local 1408 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDouble() local 1444 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDoubleint() local 1551 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloat() local 1587 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloatint() local 1693 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutInt() local 1729 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutIntint() local 1830 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLong() local 1866 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/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 383 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_TooManyTypes() local 399 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_TooManyTransitions() local 415 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_NegativeTypes() local 431 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_NegativeTransitions() local 455 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_TransitionsNotSorted() local 479 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_InvalidTypeIndex() local 503 createZoneInfo(getName(), System.currentTimeMillis(), bytes); in testReadTimeZone_InvalidIsDst() local 571 private ZoneInfo createZoneInfo(String name, long currentTimeMillis, byte[] bytes) in createZoneInfo()
|
/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() 146 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()
|
/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/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/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
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 232 …@Override public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long of… in pread() 242 …@Override public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long o… in pwrite() 252 …@Override public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws E… in read() 277 …@Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int … in recvfrom() 302 …@Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int fl… in sendto() 346 …@Override public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws … in write() 390 @Override public int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, in sendto()
|