Lines Matching defs:byteOffset
522 public static int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException {
523 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount);
528 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount);
546 public static void write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws IOException {
547 Arrays.checkOffsetAndCount(bytes.length, byteOffset, byteCount);
553 int bytesWritten = Libcore.os.write(fd, bytes, byteOffset, byteCount);
555 byteOffset += bytesWritten;
562 public static int sendto(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOException {
569 result = Libcore.os.sendto(fd, bytes, byteOffset, byteCount, flags, inetAddress, port);
606 public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
610 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);