/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/sql/ |
D | SQLInput.java | 183 byte[] readBytes() throws SQLException; in readBytes() method
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1623 if (readBytes(c, 2, is) < 0) { in checkfpx() 1632 if (readBytes(c, 2, is) < 0) { in checkfpx() 1655 if (readBytes(c, 4, is) < 0) { in checkfpx() 1707 if (readBytes(c, 16, is) < 0) { in checkfpx() 1741 static private int readBytes(int c[], int len, InputStream is) in readBytes() method in URLConnection
|
/libcore/ojluni/src/main/java/java/io/ |
D | RandomAccessFile.java | 324 private int readBytes(byte b[], int off, int len) throws IOException { in readBytes() method in RandomAccessFile 354 return readBytes(b, off, len); in read() 377 return readBytes(b, 0, b.length); in read()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamDecoder.java | 270 private int readBytes() throws IOException { in readBytes() method in StreamDecoder 350 int n = readBytes(); in implRead()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Posix.java | 159 bytesRead = readBytes(fd, buffer, position, buffer.remaining()); in read() 161 …bytesRead = readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + posit… in read() 169 return readBytes(fd, bytes, byteOffset, byteCount); in read() 171 …private native int readBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws E… in readBytes() method in Posix
|
/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/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 2037 NATIVE_METHOD(Posix, readBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),
|