Lines Matching defs:offset
239 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException {
240 return socketImpl.read(buffer, offset, byteCount);
268 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException {
269 socketImpl.write(buffer, offset, byteCount);
480 private int read(byte[] buffer, int offset, int byteCount) throws IOException {
484 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
488 int readCount = IoBridge.recvfrom(true, fd, buffer, offset, byteCount, 0, null, false);
503 private void write(byte[] buffer, int offset, int byteCount) throws IOException {
504 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount);
507 int bytesWritten = IoBridge.sendto(fd, buffer, offset, byteCount, 0, null, 0);
509 offset += bytesWritten;
515 IoBridge.sendto(fd, buffer, offset, byteCount, 0, address, port);