Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidPipedStreamTest.java121 byte readBytes[] = new byte[5]; in testB()
127 ret = in.read(readBytes, nread, readBytes.length - nread); in testB()
137 int readInt = (((int) readBytes[0] & 0xff) << 24) in testB()
138 | (((int) readBytes[1] & 0xff) << 16) in testB()
139 | (((int) readBytes[2] & 0xff) << 8) in testB()
140 | (((int) readBytes[3] & 0xff)); in testB()
144 assertEquals("Error at " + countRead, 0, readBytes[4]); in testB()
196 final byte readBytes[] = new byte[1024 * 2]; in testC()
209 while (nread < readBytes.length) { in testC()
210 ret = in.read(readBytes, nread, readBytes.length - nread); in testC()
[all …]
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java1650 if (readBytes(c, 2, is) < 0) { in checkfpx()
1659 if (readBytes(c, 2, is) < 0) { in checkfpx()
1682 if (readBytes(c, 4, is) < 0) { in checkfpx()
1734 if (readBytes(c, 16, is) < 0) { in checkfpx()
1768 static private int readBytes(int c[], int len, InputStream is) in readBytes() method in URLConnection
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java183 byte[] readBytes() throws SQLException; in readBytes() method
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java384 private int readBytes(byte b[], int off, int len) throws IOException { in readBytes() method in RandomAccessFile
416 return readBytes(b, off, len); in read()
439 return readBytes(b, 0, b.length); in read()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java272 private int readBytes() throws IOException { in readBytes() method in StreamDecoder
355 int n = readBytes(); in implRead()
/libcore/luni/src/main/java/libcore/io/
DLinux.java180 bytesRead = readBytes(fd, buffer, position, buffer.remaining()); in read()
182 …bytesRead = readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + posit… in read()
190 return readBytes(fd, bytes, byteOffset, byteCount); in read()
192 …private native int readBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws E… in readBytes() method in Linux
/libcore/ojluni/src/main/native/
Dio_util.h50 jint readBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
Dio_util.c77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, in readBytes() function
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java60 private int readBytes(byte[] b, int off, int len) throws java.io.IOException { in readBytes() method in RandomAccessFile
/libcore/luni/src/test/java/libcore/java/net/
DFtpURLConnectionTest.java295 byte[] contentBytes = IoUtil.readBytes(inputStream); in assertContents()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp2832 NATIVE_METHOD(Linux, readBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),
/libcore/api/
Dcurrent.txt9731 method public byte[] readBytes() throws java.sql.SQLException;