/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | FinishConnect.java | 60 boolean connected = sc.connect(isa); 73 if (!connected && select && !setBlocking) { 76 while (!connected) { 85 connected = sc.finishConnect(); 92 while (!connected) { 96 connected = sc.finishConnect(); 139 boolean connected = sc.connect(isa); 141 while (!connected) { 144 connected = sc.finishConnect(); 145 if (connected) { [all...] |
/openjdk7/jdk/test/java/net/DatagramSocket/ |
H A D | TestAfterClose.java | 55 static void test(DatagramSocket socket, boolean connected) throws IOException { argument 64 if (connected ? !(socket.getPort() == socketPort) 70 if (connected ? !socket.getInetAddress().equals(socketInetAddress) 76 if (connected ? !socket.getRemoteSocketAddress().equals(socketRemoteSocketAddress) 97 if (connected && !socket.isConnected()) {
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | Connect.java | 58 boolean connected = sc.connect(isa); 59 if (!connected) { 62 while (!connected) { 70 connected = nextReady.finishConnect();
|
H A D | SelectorTest.java | 208 boolean connected = false; field in class:RemoteEntity 254 connected = sc.connect(server); 264 connected = sc.finishConnect(); 278 else if (!connected)
|
/openjdk7/jdk/test/java/net/Socket/ |
H A D | LingerTest.java | 74 boolean connected = false; field in class:LingerTest.Another 87 connected = true; 97 public synchronized boolean connected() { method in class:LingerTest.Another 98 return connected; 134 if (!another.connected()) {
|
H A D | LinkLocal.java | 67 static void UdpTest(InetAddress ia, boolean connected) throws Exception { argument 72 if (connected) { 85 if (connected) { 87 System.out.println("DatagramSocket connected."); 110 UdpTest(ia, false); /* connected */
|
/openjdk7/jdk/src/share/classes/sun/net/ |
H A D | ProgressSource.java | 53 private boolean connected = false; field in class:ProgressSource 81 public boolean connected() { method in class:ProgressSource 82 if (!connected) { 83 connected = true; 166 if (connected() == false)
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | PipedReader.java | 39 boolean connected = false; field in class:PipedReader 60 * next character of data will be stored when received from the connected 74 * that it is connected to the piped writer 86 * Creates a <code>PipedReader</code> so that it is connected 106 * connected}. It must be {@linkplain java.io.PipedWriter#connect( 107 * java.io.PipedReader) connected} to a <code>PipedWriter</code> 116 * {@link #connect(java.io.PipedWriter) connected} and uses 119 * java.io.PipedReader) connected} to a <code>PipedWriter</code> 138 * Causes this piped reader to be connected 140 * If this object is already connected t [all...] |
H A D | PipedOutputStream.java | 31 * A piped output stream can be connected to a piped input stream 35 * read from the connected <code>PipedInputStream</code> by some 39 * thread that was reading data bytes from the connected piped input 56 * Creates a piped output stream connected to the specified piped 68 * Creates a piped output stream that is not yet connected to a 69 * piped input stream. It must be connected to a piped input stream, 80 * is already connected to some other piped input stream, an 85 * be connected by either the call: 99 } else if (sink != null || snk.connected) { 100 throw new IOException("Already connected"); [all...] |
H A D | PipedWriter.java | 51 * Creates a piped writer connected to the specified piped 63 * Creates a piped writer that is not yet connected to a 64 * piped reader. It must be connected to a piped reader, 75 * is already connected to some other piped reader, an 80 * be connected by either the call: 94 } else if (sink != null || snk.connected) { 95 throw new IOException("Already connected"); 103 snk.connected = true; 108 * If a thread was reading data characters from the connected piped input 122 throw new IOException("Pipe not connected"); [all...] |
H A D | PipedInputStream.java | 29 * A piped input stream should be connected 43 * thread that was providing data bytes to the connected 53 boolean connected = false; field in class:PipedInputStream 81 * next byte of data will be stored when received from the connected 97 * that it is connected to the piped output 111 * connected to the piped output stream 132 * connected}. 134 * java.io.PipedInputStream) connected} to a 143 * {@linkplain #connect(java.io.PipedOutputStream) connected} and 147 * connected} t [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/ |
H A D | AbstractDelegateHttpsURLConnection.java | 147 if (connected) 153 connected = true; 157 * Used by subclass to access "connected" variable. 160 return connected; 164 * Used by subclass to access "connected" variable. 167 connected = conn; 175 if (connected)
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | HttpURLConnection.java | 124 * This method must be called before the URLConnection is connected. 132 * @throws IllegalStateException if URLConnection is already connected 142 if (connected) { 143 throw new IllegalStateException ("Already connected"); 169 * <P> This method must be called before the URLConnection is connected. 178 * if URLConnection is already connected or if a different 187 if (connected) { 188 throw new IllegalStateException("Already connected"); 219 * This method must be called before the URLConnection is connected. 225 * @throws IllegalStateException if URLConnection is already connected [all...] |
H A D | AbstractPlainSocketImpl.java | 120 boolean connected = false; 127 connected = true; 129 if (!connected) { 172 boolean connected = false; 183 connected = true; 185 if (!connected) { 347 // created, bound & connected to true.
|
H A D | URLConnection.java | 281 protected boolean connected = false; field in class:URLConnection 355 * has already been opened (indicated by the <code>connected</code> 359 * created, then they are connected. After being created, and 360 * before being connected, various options can be specified 363 * connected, like getContentLength, will implicitly perform the 370 * @see java.net.URLConnection#connected 873 * @throws IllegalStateException if already connected 878 if (connected) 879 throw new IllegalStateException("Already connected"); 904 * @throws IllegalStateException if already connected [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | URLConnection.java | 44 /** The URL that it is connected to */ 74 if(connected) 75 throw new IllegalAccessError("Already connected"); 87 if (connected) 88 throw new IllegalStateException("Already connected"); 94 if (connected) 95 throw new IllegalStateException("Already connected"); 100 if (connected) 101 throw new IllegalStateException("Already connected");
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/ |
H A D | EventHandler.java | 45 volatile boolean connected = true; field in class:EventHandler 58 connected = false; // force run() loop termination 68 while (connected) { 132 connected = false; 152 while (connected) {
|
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainDatagramSocketImpl.java | 110 return socketReceiveOrPeekData(nativefd, p, timeout, connected, true /*peek*/); 121 socketReceiveOrPeekData(nativefd, p, timeout, connected, false /*receive*/); 134 p.getAddress(), p.getPort(), connected); 282 int timeout, boolean connected, boolean peek) throws IOException; 285 InetAddress address, int port, boolean connected) throws IOException; 281 socketReceiveOrPeekData(int fd, DatagramPacket packet, int timeout, boolean connected, boolean peek) argument 284 socketSend(int fd, byte[] data, int offset, int length, InetAddress address, int port, boolean connected) argument
|
/openjdk7/jdk/test/java/net/URLConnection/ |
H A D | RequestPropertyValues.java | 109 connected = true;
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 209 if (connected) { 251 connected = true; 272 connected = true; 310 connected = true; 392 if (!connected) { 506 if (!connected) { 573 * @throws IllegalStateException if already connected 602 * @throws IllegalStateException if already connected
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 79 if (!connected) { 102 connected = true;
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 120 if (!connected) { 145 connected = true;
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/trace/ |
H A D | EventThread.java | 57 private boolean connected = true; // Connected to VM field in class:EventThread 73 * As long as we are connected, get event sets off 79 while (connected) { 267 while (connected) { 348 connected = false;
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Bind.java | 69 /* Test connected */ 70 /* Adding/Removing addresses from a connected association is optional. 146 void testBindUnbind(boolean connected) { argument 150 debug("testBindUnbind, connected: " + connected); 166 if (connected) { 167 /* Test with connected channel */ 238 if (connected) { 292 debug("connected");
|
/openjdk7/hotspot/test/runtime/7158988/ |
H A D | FieldMonitor.java | 109 boolean connected = true; 110 while (connected) { 116 connected = false;
|