Searched refs:connect (Results 1 - 25 of 456) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt059debug.py27 s.connect(('127.0.0.1', self.port))
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Dsocket.rb279 connect do
327 def connect method in class:ANTLR3.Debug.RemoteEventSocketListener
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java152 connection.connect();
193 connection.connect();
234 connection.connect();
287 connection.connect();
334 connection.connect();
410 connection.connect();
445 connection.connect();
482 connection.connect();
517 connection.connect();
555 connection.connect();
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DPipedInputStreamTest.java85 pis.connect(pos);
108 pis.connect(pos);
136 pis.connect(pos);
151 * @tests java.io.PipedInputStream#connect(java.io.PipedOutputStream)
159 pis.connect(pos);
177 pis.connect(pos);
197 pis.connect(pos);
258 pis.connect(pos);
316 pis.connect(pos);
375 in.connect(ou
[all...]
H A DPipedOutputStreamTest.java106 * @tests java.io.PipedOutputStream#connect(java.io.PipedInputStream)
111 out.connect(new PipedInputStream());
113 out.connect(null);
121 * @tests java.io.PipedOutputStream#connect(java.io.PipedInputStream)
128 out.connect(new PipedInputStream());
129 fail("Failed to throw exception attempting connect on already connected stream");
H A DPipedReaderTest.java136 * @tests java.io.PipedReader#connect(java.io.PipedWriter)
143 preader.connect(pwriter.pw);
151 preader.connect(pwriter.pw);
H A DPipedWriterTest.java113 * @tests java.io.PipedWriter#connect(java.io.PipedReader)
116 // Test for method void java.io.PipedWriter.connect(java.io.PipedReader)
121 pw.connect(rd);
122 rdrThread = new Thread(reader = new PReader(rd), "connect");
320 pr.connect(pw);
380 pr.connect(pw);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DDatagramSocketImplTest.java43 // connect do nothing, so will not throw exception
146 super.connect(inetAddr, port);
H A DDatagramSocketTest.java143 ds.connect(inetAddress, 0);
151 ds.connect(inetAddress, portNumber);
161 ds.connect(localHost, port);
223 ds.connect(inetAddress, portNumber);
250 ds.connect(localHost, serverPortNumber);
277 ds.connect(inetAddress, portNumber);
289 ds.connect(inetAddress, portNumber);
299 // validate that we can connect, then disconnect, then connect then
314 ds.connect(localHos
[all...]
H A DJarURLConnectionTest.java99 connection.connect();
100 fail("Did not throw exception on connect");
107 fail("Did not throw exception after connect");
H A DServerSocketTest.java407 clientSocket.connect(clAddress);
490 clientSocket.connect(localAddress);
555 theSockets[i].connect(localAddress);
574 // set up server connect and then validate that we get the right
696 // set up server and connect
705 theSocket.connect(theAddress);
733 theSocket.connect(theAddress);
759 theSocket.connect(theAddress);
893 protected void connect(String arg0, int arg1) throws IOException { method in class:ServerSocketTest.MockSocketImpl
897 protected void connect(InetAddres method in class:ServerSocketTest.MockSocketImpl
901 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:ServerSocketTest.MockSocketImpl
[all...]
H A DSocketImplTest.java98 protected void connect(String host, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
101 protected void connect(InetAddress address, int port) method in class:SocketImplTest.MockSocketImpl
126 protected void connect(SocketAddress remoteAddr, int timeout) method in class:SocketImplTest.MockSocketImpl
H A DSocketTest.java50 socket.connect(addr);
183 // Make sure we can now connect and that connections appear to come
193 theSocket.connect(boundAddress);
277 socket.connect(new InetSocketAddress("unknownhost.invalid", 12345));
287 socket.connect(unresolved);
292 socket.connect(unresolved, 123);
308 theSocket.connect(null);
315 theSocket.connect(new UnsupportedSocketAddress());
322 theSocket.connect(new InetSocketAddress(InetAddress
329 // now validate that we get a connect exceptio
[all...]
H A DURLConnectionTest.java54 public void connect() { method in class:URLConnectionTest.MockURLConnection
63 public void connect() throws IOException {
141 u.connect();
516 urlCon.connect();
535 urlCon.connect();
626 u.connect();
753 u.connect();
787 u.connect();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DScannerTest.java5679 pis.connect(pos);
5716 client.connect(address);
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
H A DUnixSocketTest.java43 pingClient.connect(new InetSocketAddress(
88 // Now validate that we get a interrupted exception if we try to connect
93 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
104 // Port 0 is not allowed to be used in connect() on some platforms,
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DChannelsTest.java599 sc.connect(localAddr);
H A DDatagramChannelTest.java302 this.channel1.connect(localAddr1);
312 this.channel1.connect(localAddr1);
339 this.channel1.connect(localAddr1);
345 this.channel1.connect(localAddr1);
394 s.connect(localAddr2);
410 s.connect(localAddr2);
466 // Test for connect()
470 * Test method for 'DatagramChannelImpl.connect(SocketAddress)'
481 * Test method for 'DatagramChannelImpl.connect(SocketAddress)'
489 * Test method for 'DatagramChannelImpl.connect(SocketAddres
[all...]
H A DFileChannelTest.java2501 datagramChannelReceiver.connect(datagramChannelSender.socket()
2540 socketChannelReceiver.connect(serverSocketChannel.socket()
2848 socketChannelReceiver.connect(serverSocketChannel.socket()
2906 datagramChannelSender.connect(datagramChannelReceiver.socket()
2909 datagramChannelReceiver.connect(datagramChannelSender.socket()
H A DMockDatagramChannel.java41 public DatagramChannel connect(SocketAddress arg0) throws IOException { method in class:MockDatagramChannel
H A DMockSocketChannel.java45 public boolean connect(SocketAddress arg0) throws IOException { method in class:MockSocketChannel
H A DSelectionKeyTest.java301 sc.connect(new InetSocketAddress(LOCAL_ADDR, port));
H A DSelectorTest.java161 sc.connect(LOCAL_ADDRESS);
411 sc.connect(LOCAL_ADDRESS);
459 channel.connect(LOCAL_ADDRESS);
486 sc.connect(LOCAL_ADDRESS);
520 sc.connect(LOCAL_ADDRESS);
558 sc.connect(LOCAL_ADDRESS);
564 sc2.connect(LOCAL_ADDRESS);
628 sc.connect(LOCAL_ADDRESS);
H A DServerSocketChannelTest.java286 clientChannel.connect(localAddr1);
325 clientChannel.connect(localAddr1);
345 clientChannel.connect(localAddr1);
367 clientChannel.connect(localAddr1);
387 clientChannel.connect(localAddr1);
432 clientChannel.connect(localAddr1);
456 clientChannel.connect(localAddr1);
499 clientChannel.connect(localAddr1);
644 clientChannel.connect(localAddr1);
H A DSinkChannelTest.java475 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999));
492 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999));

Completed in 299 milliseconds

1234567891011>>