Searched refs:readBytes (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/io/
H A DOldAndroidPipedStreamTest.java121 byte readBytes[] = new byte[5];
127 ret = in.read(readBytes, nread, readBytes.length - nread);
137 int readInt = (((int) readBytes[0] & 0xff) << 24)
138 | (((int) readBytes[1] & 0xff) << 16)
139 | (((int) readBytes[2] & 0xff) << 8)
140 | (((int) readBytes[3] & 0xff));
144 assertEquals("Error at " + countRead, 0, readBytes[4]);
196 final byte readBytes[] = new byte[1024 * 2];
209 while (nread < readBytes
[all...]
/libcore/luni/src/main/java/java/sql/
H A DSQLInput.java33 * directly. Reader methods such as {@code readLong} and {@code readBytes}
149 public byte[] readBytes() throws SQLException; method in interface:SQLInput
/libcore/luni/src/main/java/libcore/io/
H A DPosix.java159 bytesRead = readBytes(fd, buffer, position, buffer.remaining());
161 bytesRead = readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining());
169 return readBytes(fd, bytes, byteOffset, byteCount);
171 private native int readBytes(FileDescriptor fd, Object buffer, int offset, int byteCount) throws ErrnoException, InterruptedIOException; method in class:Posix
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp1932 NATIVE_METHOD(Posix, readBytes, "(Ljava/io/FileDescriptor;Ljava/lang/Object;II)I"),

Completed in 88 milliseconds