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.cpp407 sockaddr* sa = reinterpret_cast<sockaddr*>(&ss); in doGetSockName() local
410 int rc = is_sockname ? TEMP_FAILURE_RETRY(getsockname(fd, sa, &byteCount)) in doGetSockName()
411 : TEMP_FAILURE_RETRY(getpeername(fd, sa, &byteCount)); in doGetSockName()
487 const sockaddr* sa = reinterpret_cast<const sockaddr*>(&ss); in Posix_bind() local
489 (void) NET_FAILURE_RETRY(env, int, bind, javaFd, sa, sa_len); in Posix_bind()
526 const sockaddr* sa = reinterpret_cast<const sockaddr*>(&ss); in Posix_connect() local
528 (void) NET_FAILURE_RETRY(env, int, connect, javaFd, sa, sa_len); in Posix_connect()
805 sockaddr_in* sa = reinterpret_cast<sockaddr_in*>(&ss); in Posix_getsockoptInAddr() local
806 socklen_t size = sizeof(sa->sin_addr); in Posix_getsockoptInAddr()
807 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); in Posix_getsockoptInAddr()
/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.java629 SocketAddress sa = Libcore.os.getsockname(fd); in getSocketLocalAddress() local
630 InetSocketAddress isa = (InetSocketAddress) sa; in getSocketLocalAddress()
639 SocketAddress sa = Libcore.os.getsockname(fd); in getSocketLocalPort() local
640 InetSocketAddress isa = (InetSocketAddress) sa; in getSocketLocalPort()
/libcore/luni/src/test/java/libcore/io/
DOsTest.java124 private void checkNoName(SocketAddress sa) { in checkNoName() argument
125 InetSocketAddress isa = (InetSocketAddress) sa; in checkNoName()
/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/java/net/
DOldURLTest.java573 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument