Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/native/
DAsynchronousCloseMonitor.cpp55 struct sigaction sa; in init() local
56 memset(&sa, 0, sizeof(sa)); in init()
57 sa.sa_handler = blockedThreadSignalHandler; in init()
58 sa.sa_flags = 0; in init()
59 int rc = sigaction(BLOCKED_THREAD_SIGNAL, &sa, NULL); in init()
Dlibcore_io_Posix.cpp83 static bool isIPv4MappedAddress(const sockaddr *sa) { in isIPv4MappedAddress() argument
84 const sockaddr_in6 *sin6 = reinterpret_cast<const sockaddr_in6*>(sa); in isIPv4MappedAddress()
85 return sa != NULL && sa->sa_family == AF_INET6 && in isIPv4MappedAddress()
573 sockaddr* sa = reinterpret_cast<sockaddr*>(&ss); in doGetSockName() local
576 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName()
577 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount)); in doGetSockName()
660 const sockaddr* sa = reinterpret_cast<const sockaddr*>(&ss); in Posix_bindSocketAddress() local
662 (void) NET_FAILURE_RETRY(env, int, bind, javaFd, sa, sa_len); in Posix_bindSocketAddress()
705 const sockaddr* sa = reinterpret_cast<const sockaddr*>(&ss); in Posix_connectSocketAddress() local
707 (void) NET_FAILURE_RETRY(env, int, connect, javaFd, sa, sa_len); in Posix_connectSocketAddress()
[all …]
/libcore/luni/src/main/java/java/net/
DProxy.java56 public Proxy(Proxy.Type type, SocketAddress sa) { in Proxy() argument
61 if (type == Type.DIRECT || sa == null) { in Proxy()
65 address = sa; in Proxy()
DProxySelectorImpl.java25 @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
26 if (uri == null || sa == null || ioe == null) { in connectFailed()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxySelectorTest.java471 SocketAddress sa = InetSocketAddress.createUnresolved("127.0.0.1", 0); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException_IllegalArguement() local
473 selector.connectFailed(null, sa, new SocketException()); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException_IllegalArguement()
485 selector.connectFailed(httpUri, sa, null); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException_IllegalArguement()
526 SocketAddress sa = InetSocketAddress.createUnresolved(host, port); in assertProxyEquals() local
527 Proxy proxy = new Proxy(type, sa); in assertProxyEquals()
536 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
DURLTest.java1110 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java243 InetSocketAddress sa = (InetSocketAddress) ss.getLocalSocketAddress(); in test_SSLSocketFactory_createSocket() local
244 InetAddress host = sa.getAddress(); in test_SSLSocketFactory_createSocket()
245 int port = sa.getPort(); in test_SSLSocketFactory_createSocket()
/libcore/luni/src/main/files/cacerts/
Db0f3e76e.028 Issuer: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
32 Subject: C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA
/libcore/luni/src/main/java/java/nio/
DDatagramChannelImpl.java118 SocketAddress sa; in onBind() local
120 sa = Libcore.os.getsockname(fd); in onBind()
125 InetSocketAddress localSocketAddress = (InetSocketAddress) sa; in onBind()
DSocketChannelImpl.java149 SocketAddress sa; in onBind() local
151 sa = Libcore.os.getsockname(fd); in onBind()
156 InetSocketAddress localSocketAddress = (InetSocketAddress) sa; in onBind()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java625 SocketAddress sa = Libcore.os.getsockname(fd); in getSocketLocalAddress() local
626 InetSocketAddress isa = (InetSocketAddress) sa; in getSocketLocalAddress()
635 SocketAddress sa = Libcore.os.getsockname(fd); in getSocketLocalPort() local
636 InetSocketAddress isa = (InetSocketAddress) sa; in getSocketLocalPort()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java153 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
/libcore/luni/src/test/java/libcore/io/
DOsTest.java147 private void checkNoName(SocketAddress sa) { in checkNoName() argument
148 InetSocketAddress isa = (InetSocketAddress) sa; in checkNoName()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java573 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument