Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketAdaptor.java81 public void connect(SocketAddress remote) throws IOException { in connect() argument
82 connect(remote, 0); in connect()
85 public void connect(SocketAddress remote, int timeout) throws IOException { in connect() argument
86 if (remote == null) in connect()
101 sc.connect(remote); in connect()
111 if (sc.connect(remote)) in connect()
155 SocketAddress remote = sc.remoteAddress(); in getInetAddress() local
156 if (remote == null) { in getInetAddress()
159 return ((InetSocketAddress)remote).getAddress(); in getInetAddress()
178 SocketAddress remote = sc.remoteAddress(); in getPort() local
[all …]
DDatagramSocketAdaptor.java69 private void connectInternal(SocketAddress remote) in connectInternal() argument
72 InetSocketAddress isa = Net.asInetSocketAddress(remote); in connectInternal()
76 if (remote == null) in connectInternal()
81 dc.connect(remote); in connectInternal()
105 public void connect(SocketAddress remote) throws SocketException { in connect() argument
106 if (remote == null) in connect()
108 connectInternal(remote); in connect()
DUnixAsynchronousServerSocketChannelImpl.java227 final InetSocketAddress remote, in finishAccept() argument
233 ch = new UnixAsynchronousSocketChannelImpl(port, newfd, remote); in finishAccept()
246 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept()
247 remote.getPort()); in finishAccept()
255 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept()
256 remote.getPort()); in finishAccept()
DAsynchronousSocketChannelImpl.java97 InetSocketAddress remote) in AsynchronousSocketChannelImpl() argument
104 this.remoteAddress = remote; in AsynchronousSocketChannelImpl()
193 abstract <A> Future<Void> implConnect(SocketAddress remote, in implConnect() argument
198 public final Future<Void> connect(SocketAddress remote) { in connect() argument
199 return implConnect(remote, null, null); in connect()
203 public final <A> void connect(SocketAddress remote, in connect() argument
209 implConnect(remote, attachment, handler); in connect()
DNet.java452 static int connect(FileDescriptor fd, InetAddress remote, int remotePort)
455 return connect(UNSPEC, fd, remote, remotePort);
458 static int connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort)
466 return connect0(preferIPv6, fd, remote, remotePort);
471 InetAddress remote,
DUnixAsynchronousSocketChannelImpl.java124 InetSocketAddress remote) in UnixAsynchronousSocketChannelImpl() argument
127 super(port, fd, remote); in UnixAsynchronousSocketChannelImpl()
311 <A> Future<Void> implConnect(SocketAddress remote, in implConnect() argument
325 InetSocketAddress isa = Net.checkAddress(remote); in implConnect()
340 pendingRemote = remote; in implConnect()
DSocketChannelImpl.java163 FileDescriptor fd, InetSocketAddress remote) in SocketChannelImpl() argument
171 this.remoteAddress = remote; in SocketChannelImpl()
/libcore/ojluni/src/main/java/java/nio/channels/
DSocketChannel.java184 public static SocketChannel open(SocketAddress remote) in open() argument
189 sc.connect(remote); in open()
389 public abstract boolean connect(SocketAddress remote) throws IOException; in connect() argument
DAsynchronousSocketChannel.java324 public abstract <A> void connect(SocketAddress remote, in connect() argument
355 public abstract Future<Void> connect(SocketAddress remote); in connect() argument
DDatagramChannel.java297 public abstract DatagramChannel connect(SocketAddress remote) in connect() argument
/libcore/ojluni/src/test/java/lang/invoke/remote/
DRemoteExample.java23 package test.java.lang.invoke.remote;
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1247 InputStream remote = createInputStream(s.getInputStream()); in getFile() local
1250 while ((l = remote.read(buf)) >= 0) { in getFile()
1255 remote.close(); in getFile()
1259 InputStream remote = createInputStream(s.getInputStream()); in getFile() local
1262 while ((l = remote.read(buf)) >= 0) { in getFile()
1267 remote.close(); in getFile()
1367 OutputStream remote = createOutputStream(s.getOutputStream()); in putFile() local
1372 remote.write(buf, 0, l); in putFile()
1375 remote.close(); in putFile()
1395 OutputStream remote = createOutputStream(s.getOutputStream()); in appendFile() local
[all …]
/libcore/tools/expected_upstream/
DREADME.md95 * A remote `aosp` is setup in your local git repository
207 remote AOSP gerrit server. The second upload is much faster because
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesTest.java27 import test.java.lang.invoke.remote.RemoteExample;