/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidPipedStreamTest.java | 121 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/ |
D | URLConnection.java | 1650 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/ |
D | SQLInput.java | 183 byte[] readBytes() throws SQLException; in readBytes() method
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 384 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/ |
D | StreamDecoder.java | 272 private int readBytes() throws IOException { in readBytes() method in StreamDecoder 355 int n = readBytes(); in implRead()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 179 bytesRead = readBytes(fd, buffer, position, buffer.remaining()); in read() 181 …bytesRead = readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + posit… in read() 189 return readBytes(fd, bytes, byteOffset, byteCount); in read() 191 …private native int readBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws E… in readBytes() method in Linux
|
/libcore/ojluni/src/main/native/ |
D | io_util.h | 50 jint readBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
|
D | io_util.c | 77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, in readBytes() function
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | RandomAccessFile.java | 60 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/ |
D | FtpURLConnectionTest.java | 295 byte[] contentBytes = IoUtil.readBytes(inputStream); in assertContents()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 2671 NATIVE_METHOD(Linux, readBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),
|