Home
last modified time | relevance | path

Searched refs:getsockname (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java205 UnixSocketAddress isa = (UnixSocketAddress) Os.getsockname(fd); in checkSockName()
221 checkNoName((UnixSocketAddress) Os.getsockname(fd)); in checkNoSockName()
293 InetSocketAddress address = (InetSocketAddress) Os.getsockname(serverFd); in checkByteBufferPositions_sendto_recvfrom()
421 InetSocketAddress socknameISA = (InetSocketAddress) Os.getsockname(socket); in expectBindConnectSendtoSuccess()
445 assertEquals(Os.getsockname(socket), Os.getpeername(socket)); in expectBindConnectSendtoSuccess()
607 PacketSocketAddress bound = (PacketSocketAddress) Os.getsockname(fd); in test_PacketSocketAddress()
686 InetSocketAddress to = ((InetSocketAddress) Os.getsockname(recvFd)); in checkSendToSocketAddress()
709 InetSocketAddress localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies()
714 localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies()
719 localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies()
[all …]
/libcore/ojluni/src/main/native/
DNet.c370 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localPort()
411 if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) < 0) { in Java_sun_nio_ch_Net_localInetAddress()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java354 return ((InetSocketAddress) Libcore.os.getsockname(fd)).getAddress(); in getSocketOptionErrno()
692 SocketAddress socketAddress = Libcore.os.getsockname(fd); in getLocalInetSocketAddress()
DForwardingOs.java124 …public SocketAddress getsockname(FileDescriptor fd) throws ErrnoException { return os.getsockname(… in getsockname() method in ForwardingOs
DOs.java100 public SocketAddress getsockname(FileDescriptor fd) throws ErrnoException; in getsockname() method
DLinux.java98 public native SocketAddress getsockname(FileDescriptor fd) throws ErrnoException; in getsockname() method in Linux
/libcore/luni/src/main/java/android/system/
DOs.java256 …public static SocketAddress getsockname(FileDescriptor fd) throws ErrnoException { return Libcore.… in getsockname() method in Os
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp777 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName()
2629 NATIVE_METHOD(Linux, getsockname, "(Ljava/io/FileDescriptor;)Ljava/net/SocketAddress;"),