/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 | 407 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/ |
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 | 629 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/ |
D | OsTest.java | 124 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/ |
D | HttpURLConnectionTest.java | 153 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLTest.java | 573 public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() argument
|