Searched refs:recvfrom (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java243 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { method in class:BlockGuardOs
245 return os.recvfrom(fd, buffer, flags, srcAddress);
248 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { method in class:BlockGuardOs
250 return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
H A DIoBridge.java545 public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException { method in class:IoBridge
549 result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
557 public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException { method in class:IoBridge
561 result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
H A DOs.java125 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; method in interface:Os
126 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; method in interface:Os
H A DForwardingOs.java132 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, buffer, flags, srcAddress); } method in class:ForwardingOs
133 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); } method in class:ForwardingOs
H A DPosix.java174 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { method in class:Posix
187 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { method in class:Posix
/libcore/luni/src/main/java/java/nio/
H A DDatagramChannelImpl.java257 received = IoBridge.recvfrom(false, fd, receivePacket.getData(), receivePacket.getOffset(), receivePacket.getLength(), 0, receivePacket, isConnected());
278 IoBridge.recvfrom(false, fd, target, 0, receivePacket, isConnected());
377 readCount = IoBridge.recvfrom(false, fd, dst, 0, null, isConnected());
H A DSocketChannelImpl.java342 readCount = IoBridge.recvfrom(true, fd, dst, 0, null, false);
/libcore/luni/src/test/java/libcore/io/
H A DOsTest.java239 int received = Libcore.os.recvfrom(clientFd, buffer, 0, null);
245 received = Libcore.os.recvfrom(clientFd, buffer2, 0, null);
339 assertEquals(len, Libcore.os.recvfrom(recvFd, received, 0, received.length, 0, from));
393 assertEquals(len, Libcore.os.recvfrom(fd, received, 0, received.length, 0, srcAddress));
/libcore/luni/src/main/java/android/system/
H A DOs.java380 * See <a href="http://man7.org/linux/man-pages/man2/recvfrom.2.html">recvfrom(2)</a>.
382 public static int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, buffer, flags, srcAddress); } method in class:Os
385 * See <a href="http://man7.org/linux/man-pages/man2/recvfrom.2.html">recvfrom(2)</a>.
387 public static int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { return Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress); } method in class:Os
/libcore/luni/src/main/java/java/net/
H A DPlainDatagramSocketImpl.java163 IoBridge.recvfrom(false, fd, pack.getData(), pack.getOffset(), pack.getLength(), flags, pack, isNativeConnected);
H A DPlainSocketImpl.java481 int readCount = IoBridge.recvfrom(true, fd, buffer, offset, byteCount, 0, null, false);
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp1437 jint recvCount = NET_FAILURE_RETRY(env, ssize_t, recvfrom, javaFd, bytes.get() + byteOffset, byteCount, flags, from, fromLength);

Completed in 201 milliseconds