/libcore/luni/src/main/native/ |
D | AsynchronousCloseMonitor.cpp | 55 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()
|
D | libcore_io_Posix.cpp | 83 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/ |
D | Proxy.java | 56 public Proxy(Proxy.Type type, SocketAddress sa) { in Proxy() argument 61 if (type == Type.DIRECT || sa == null) { in Proxy() 65 address = sa; in Proxy()
|
D | ProxySelectorImpl.java | 25 @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/ |
D | ProxySelectorTest.java | 471 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
|
D | URLTest.java | 1110 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 243 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/ |
D | b0f3e76e.0 | 28 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/ |
D | DatagramChannelImpl.java | 118 SocketAddress sa; in onBind() local 120 sa = Libcore.os.getsockname(fd); in onBind() 125 InetSocketAddress localSocketAddress = (InetSocketAddress) sa; in onBind()
|
D | SocketChannelImpl.java | 149 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/ |
D | IoBridge.java | 625 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/ |
D | HttpURLConnectionTest.java | 153 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 147 private void checkNoName(SocketAddress sa) { in checkNoName() argument 148 InetSocketAddress isa = (InetSocketAddress) sa; in checkNoName()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLTest.java | 573 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
|