Searched refs:local (Results 1 - 25 of 25) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
H A DServerSocketChannel.java129 * Binds the channel's socket to a local address and configures the socket
134 * bind(local, 0);
137 * @param local
138 * The local address to bind the socket, or {@code null} to bind
154 public final ServerSocketChannel bind(SocketAddress local) argument
157 return bind(local, 0);
161 * Binds the channel's socket to a local address and configures the socket to
165 * a local address. Once an association is established then the socket remains
175 * @param local
198 public abstract ServerSocketChannel bind(SocketAddress local, in argument
[all...]
H A DAsynchronousServerSocketChannel.java40 * It can be bound to a local address and configured to listen for connections
170 * Binds the channel's socket to a local address and configures the socket to
175 * bind(local, 0);
178 * @param local
179 * The local address to bind the socket, or <tt>null</tt> to bind
190 public final AsynchronousServerSocketChannel bind(SocketAddress local) argument
193 return bind(local, 0);
197 * Binds the channel's socket to a local address and configures the socket to
201 * a local address. Once an association is established then the socket remains
211 * @param local
231 bind(SocketAddress local, int backlog) argument
[all...]
H A DNetworkChannel.java38 * socket to a local {@link SocketAddress address}, the {@link #getLocalAddress()
58 * Binds the channel's socket to a local address.
61 * a local address. Once an association is established then the socket remains
62 * bound until the channel is closed. If the {@code local} parameter has the
66 * @param local
87 NetworkChannel bind(SocketAddress local) throws IOException; argument
H A DDatagramChannel.java215 public abstract DatagramChannel bind(SocketAddress local) argument
575 * called with the local address and {@code -1} as its arguments to see
579 * local port of the channel's socket is returned.
H A DSocketChannel.java238 public abstract SocketChannel bind(SocketAddress local) argument
327 * is established immediately, as can happen with a local connection, then
509 * called with the local address and {@code -1} as its arguments to see
513 * local port of the channel's socket is returned.
H A DAsynchronousSocketChannel.java209 public abstract AsynchronousSocketChannel bind(SocketAddress local) argument
672 * called with the local address and {@code -1} as its arguments to see
676 * local port of the channel's socket is returned.
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DServerSocketAdaptor.java66 public void bind(SocketAddress local) throws IOException { argument
67 bind(local, 50);
70 public void bind(SocketAddress local, int backlog) throws IOException { argument
71 if (local == null)
72 local = new InetSocketAddress(0);
74 ssc.bind(local, backlog);
H A DDatagramSocketAdaptor.java87 public void bind(SocketAddress local) throws SocketException { argument
89 if (local == null)
90 local = new InetSocketAddress(0);
91 dc.bind(local);
229 SocketAddress local = dc.localAddress();
230 if (local == null)
231 local = new InetSocketAddress(0);
232 InetAddress result = ((InetSocketAddress)local).getAddress();
248 SocketAddress local = dc.getLocalAddress();
249 if (local !
[all...]
H A DSocketAdaptor.java138 public void bind(SocketAddress local) throws IOException { argument
140 sc.bind(local);
162 InetSocketAddress local = sc.localAddress();
163 if (local != null) {
164 return Net.getRevealedLocalAddress(local).getAddress();
185 SocketAddress local = sc.localAddress();
186 if (local == null) {
189 return ((InetSocketAddress)local).getPort();
H A DAsynchronousServerSocketChannelImpl.java53 // the local address to which the channel's socket is bound
56 // need this lock to set local address
147 public final AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) argument
150 InetSocketAddress isa = (local == null) ? new InetSocketAddress(0) :
151 Net.checkAddress(local);
H A DServerSocketChannelImpl.java211 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { argument
217 InetSocketAddress isa = (local == null) ? new InetSocketAddress(0) :
218 Net.checkAddress(local);
H A DAsynchronousSocketChannelImpl.java420 public final AsynchronousSocketChannel bind(SocketAddress local) argument
430 InetSocketAddress isa = (local == null) ?
431 new InetSocketAddress(0) : Net.checkAddress(local);
592 sb.append(" local=");
H A DSocketChannelImpl.java609 public SocketChannel bind(SocketAddress local) throws IOException { argument
619 InetSocketAddress isa = (local == null) ?
620 new InetSocketAddress(0) : Net.checkAddress(local);
1066 sb.append(" local=");
H A DDatagramChannelImpl.java714 public DatagramChannel bind(SocketAddress local) throws IOException { argument
722 if (local == null) {
730 isa = Net.checkAddress(local);
793 // set or refresh local address
837 // refresh local address
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpClient.java362 * @param local the {@code OutputStream} the file should be written to.
368 public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IOException; argument
456 * @param local the {@code InputStream} that points to the data to
462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException { argument
463 return putFile(name, local, false);
479 * @param local the {@code InputStream} that points to the data to
488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException; argument
500 * @param local The {@code InputStream} providing access to the data
506 public abstract FtpClient appendFile(String name, InputStream local) throws FtpProtocolException, IOException; argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockServerSocketChannel.java60 public ServerSocketChannel bind(SocketAddress local, int backlog) { argument
H A DMockSocketChannel.java111 public SocketChannel bind(SocketAddress local) throws IOException { argument
H A DMockDatagramChannel.java115 public DatagramChannel bind(SocketAddress local) throws IOException { argument
H A DSocketChannelTest.java173 // Bind to a local address that is in use
3834 public SocketChannel bind(SocketAddress local) throws IOException { argument
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java322 * <dd>The local name (without prefix).</dd>
343 * local name, and the XML qualified name; or null if there
637 * URI part (or empty string), the local part,
692 String local = qName.substring(index+1);
704 name[1] = local.intern();
/libcore/ojluni/src/main/java/java/net/
H A DInetAddress.java81 * IP address loops around and becomes IP input on the local
92 * <p> <i>Link-local</i> addresses are designed to be used for addressing
96 * <p> <i>Site-local</i> addresses are designed to be used for addressing
118 * the use of a combination of local machine configuration information
121 * services(s) being used is by default the local machine configured
374 * Utility routine to check if the InetAddress is an link local address.
377 * a link local address; or false if address is not a link local unicast address.
385 * Utility routine to check if the InetAddress is a site local address.
388 * a site local addres
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
H A DFtpClient.java1227 * @param local the <code>OutputStream</code> the file should be written to.
1230 public sun.net.ftp.FtpClient getFile(String name, OutputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument
1246 local.write(buf, 0, l);
1258 local.write(buf, 0, l);
1348 * @param local the <code>InputStream</code> that points to the data to
1356 public sun.net.ftp.FtpClient putFile(String name, InputStream local, boolean unique) throws sun.net.ftp.FtpProtocolException, IOException { argument
1364 while ((l = local.read(buf)) >= 0) {
1381 * @param local The <code>InputStream</code> providing access to the data
1386 public sun.net.ftp.FtpClient appendFile(String name, InputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument
1392 while ((l = local
[all...]
/libcore/
H A DJavaLibrary.mk68 # For user / userdebug builds, strip the local variable table and the local variable
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java435 public SocketChannel bind(SocketAddress local) throws IOException { argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramSocketTest.java350 InetAddress local = InetAddress.getLocalHost();
351 try (DatagramSocket ds = new DatagramSocket(0, local)) {
751 // An unbound socket should return null as its local address.

Completed in 578 milliseconds