Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 91) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/java/io/
DOutputStreamWriterTest.java77 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/
DBits.c56 #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
DObjectInputStream.c61 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToFloats() local
129 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToDoubles() local
DObjectOutputStream.c60 jbyte *bytes; in Java_java_io_ObjectOutputStream_floatsToBytes() local
132 jbyte *bytes; in Java_java_io_ObjectOutputStream_doublesToBytes() local
Dio_util.c77 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/
DBitSetTest.java97 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/
DByteBufferTest.java1253 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/
DTelnetInputStream.java128 public int read(byte bytes[]) throws IOException { in read()
136 public int read(byte bytes[], int off, int length) throws IOException { in read()
DTelnetOutputStream.java130 public void write(byte bytes[], int off, int length) throws IOException { in write()
/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java383 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/
DZipInputStreamTest.java52 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()
DGZIPOutputStreamTest.java47 public static byte[] gzip(byte[] bytes) throws IOException { in gzip()
/libcore/ojluni/src/main/java/java/sql/
DBlob.java181 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/
DProcessEnvironment.java129 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/
DCharsetUtils.java73 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/
DSecureRandomSpi.java63 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes()
/libcore/ojluni/src/main/java/sun/security/util/
DManifestDigester.java110 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/
DRandomImpl.java40 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecureRandomSpiTest.java53 protected void engineNextBytes(byte[] bytes) {} in engineNextBytes()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKOffsetDateTimeSerialization.java111 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/
DInet6AddressTest.java779 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/
DUtil.java99 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
/libcore/luni/src/test/java/libcore/java/text/
DOldMessageFormatFieldTest.java49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local
DOldNumberFormatFieldTest.java45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java232 …@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()

1234