/libcore/support/src/test/java/tests/support/ |
D | Support_StringReader.java | 55 if (isOpen()) { in close() 64 private boolean isOpen() { in isOpen() method in Support_StringReader 83 if (isOpen()) { in mark() 120 if (isOpen()) { in read() 153 if (isOpen()) { in read() 188 if (isOpen()) { in ready() 207 if (isOpen()) { in reset() 230 if (isOpen()) { in skip()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SimpleAsynchronousFileChannelImpl.java | 114 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in size() 137 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in truncate() 140 if (size < n && isOpen()) { in truncate() 143 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in truncate() 163 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in force() 207 } while ((n == FileDispatcher.INTERRUPTED) && isOpen()); in implLock() 208 if (n != FileDispatcher.LOCKED || !isOpen()) { in implLock() 213 if (!isOpen()) in implLock() 263 } while ((n == FileDispatcher.INTERRUPTED) && isOpen()); in tryLock() 264 if (n == FileDispatcher.LOCKED && isOpen()) { in tryLock() [all …]
|
D | SocketChannelImpl.java | 189 if (!isOpen()) in getLocalAddress() 198 if (!isOpen()) in getRemoteAddress() 214 if (!isOpen()) in setOption() 247 if (!isOpen()) in getOption() 297 if (!isOpen()) in ensureReadOpen() 310 if (!isOpen()) in ensureWriteOpen() 352 if (!isOpen()) { in read() 422 if ((n == IOStatus.INTERRUPTED) && isOpen()) { in read() 475 if (!isOpen()) in read() 482 if ((n == IOStatus.INTERRUPTED) && isOpen()) in read() [all …]
|
D | FileChannelImpl.java | 132 if (!isOpen()) in ensureOpen() 194 if (!isOpen()) in read() 198 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in read() 222 if (!isOpen()) in read() 226 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in read() 246 if (!isOpen()) in write() 250 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in write() 274 if (!isOpen()) in write() 278 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in write() 298 if (!isOpen()) in position() [all …]
|
D | SinkChannelImpl.java | 105 assert !isOpen() && !isRegistered(); in kill() 153 if (!isOpen()) in ensureOpen() 163 if (!isOpen()) in write() 168 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in write() 186 if (!isOpen()) in write() 191 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in write()
|
D | SourceChannelImpl.java | 106 assert !isOpen() && !isRegistered(); in kill() 154 if (!isOpen()) in ensureOpen() 168 if (!isOpen()) in read() 173 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in read() 199 if (!isOpen()) in read() 204 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in read()
|
D | ServerSocketChannelImpl.java | 117 if (!isOpen()) in getLocalAddress() 134 if (!isOpen()) in setOption() 168 if (!isOpen()) in getOption() 213 if (!isOpen()) in bind() 234 if (!isOpen()) in accept() 246 if (!isOpen()) in accept() 251 if ((n == IOStatus.INTERRUPTED) && isOpen()) in accept() 306 assert !isOpen() && !isRegistered(); in kill() 359 if (!isOpen()) in poll() 397 if (!isOpen()) { in toString()
|
D | SocketAdaptor.java | 115 if (!sc.isOpen()) in connect() 131 if (sc.isOpen()) in connect() 164 if (sc.isOpen()) { in getLocalAddress() 218 if (!sc.isOpen()) in read() 231 if (sc.isOpen()) in read() 242 if (!sc.isOpen()) in getInputStream() 264 if (!sc.isOpen()) in getOutputStream() 447 return !sc.isOpen(); in isClosed()
|
D | DatagramChannelImpl.java | 194 if (!isOpen()) in getLocalAddress() 204 if (!isOpen()) in getRemoteAddress() 355 if (!isOpen()) in ensureOpen() 377 if (!isOpen()) in receive() 384 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in receive() 392 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in receive() 499 if (!isOpen()) in send() 507 } while ((n == IOStatus.INTERRUPTED) && isOpen()); in send() 510 if (isOpen() && (localAddress == null)) { in send() 589 if (!isOpen()) in read() [all …]
|
D | SelectorImpl.java | 67 if (!isOpen() && !Util.atBugLevel("1.4")) in keys() 73 if (!isOpen() && !Util.atBugLevel("1.4")) in selectedKeys() 82 if (!isOpen()) in lockAndDoSelect()
|
D | AsynchronousServerSocketChannelImpl.java | 75 public final boolean isOpen() { in isOpen() method in AsynchronousServerSocketChannelImpl 84 if (!isOpen()) in begin() 174 if (!isOpen()) in getLocalAddress() 248 if (!isOpen()) in toString()
|
D | ServerSocketAdaptor.java | 113 if (!ssc.isOpen()) in accept() 124 if (ssc.isOpen()) in accept() 149 return !ssc.isOpen(); in isClosed()
|
D | AsynchronousSocketChannelImpl.java | 108 public final boolean isOpen() { in isOpen() method in AsynchronousSocketChannelImpl 117 if (!isOpen()) in begin() 232 if (!isOpen()) { in read() 344 if (isOpen()) { in write() 448 if (!isOpen()) in getLocalAddress() 526 if (!isOpen()) in getRemoteAddress() 573 if (!isOpen()) { in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | AbstractInterruptibleChannelTest.java | 32 assertTrue(testMiChannel.isOpen()); in test_close() 36 assertFalse(testMiChannel.isOpen()); in test_close() 73 assertTrue(testChannel.isOpen()); in test_begin_end() 83 assertTrue(testChannel.isOpen()); in test_close_begin_end() 90 assertTrue(testChannel.isOpen()); in test_close_begin_end() 103 assertFalse(testChannel.isOpen()); in test_close_begin_end() 110 assertFalse(testChannel.isOpen()); in test_close_begin_end()
|
D | AbstractSelectorTest.java | 40 assertTrue(mockSelector.isOpen()); in test_provider() 106 assertTrue(acceptSelector.isOpen()); in test_isOpen() 108 assertFalse(acceptSelector.isOpen()); in test_isOpen() 136 assertFalse(acceptSelector.isOpen()); in test_register_LSelectorI_error()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoTracker.java | 28 private boolean isOpen = true; field in IoTracker 34 if (isOpen && opCount > 10 && totalByteCount < 10*512) { in trackIo() 36 isOpen = false; in trackIo()
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 41 private volatile boolean isOpen = true; field in StreamEncoder 44 if (!isOpen) in ensureOpen() 96 if (isOpen()) in getEncoding() 103 if (isOpen()) in flushBuffer() 147 if (!isOpen) in close() 150 isOpen = false; in close() 154 private boolean isOpen() { in isOpen() method in StreamEncoder 155 return isOpen; in isOpen()
|
D | StreamDecoder.java | 43 private volatile boolean isOpen = true; field in StreamDecoder 46 if (!isOpen) in ensureOpen() 109 if (isOpen()) in getEncoding() 194 if (!isOpen) in close() 197 isOpen = false; in close() 201 private boolean isOpen() { in isOpen() method in StreamDecoder 202 return isOpen; in isOpen()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixSecureDirectoryStream.java | 120 if (!ds.isOpen()) in newDirectoryStream() 168 if (!ds.isOpen()) in newByteChannel() 198 if (!ds.isOpen()) in implDelete() 267 if (!this.ds.isOpen() || !that.ds.isOpen()) in move() 372 if (!ds.isOpen()) in readAttributes() 409 if (!ds.isOpen()) in setTimes() 480 if (!ds.isOpen()) in readAttributes() 506 if (!ds.isOpen()) in setPermissions() 529 if (!ds.isOpen()) in setOwners()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelectableChannel.java | 196 if (!isOpen()) in register() 210 if (!isOpen()) in register() 288 if (!isOpen()) in configureBlocking()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeIterator.java | 102 if (!walker.isOpen()) in hasNext() 110 if (!walker.isOpen()) in next()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ServerSocketChannelTest.java | 199 assertFalse(ssc.isOpen()); in test_bind_socketSync() 220 assertFalse(ssc.isOpen()); in test_bind_socketSyncAfterBind() 239 assertFalse(ssc.isOpen()); in test_getLocalSocketAddress_afterClose() 252 assertTrue(this.serverChannel.isOpen()); in testSocket_Block_BeforeClose() 263 assertFalse(this.serverChannel.isOpen()); in testSocket_Block_BeforeClose() 268 assertTrue(this.serverChannel.isOpen()); in testSocket_NonBlock_BeforeClose() 279 assertFalse(this.serverChannel.isOpen()); in testSocket_NonBlock_BeforeClose() 285 assertFalse(this.serverChannel.isOpen()); in testSocket_Block_Closed() 299 assertFalse(this.serverChannel.isOpen()); in testSocket_NonBlock_Closed() 338 assertTrue(this.serverChannel.isOpen()); in testAccept_Block_NotYetBound() [all …]
|
D | ChannelsTest.java | 235 assertTrue(testChannel.isOpen()); in testNewChannelOutputStream() 236 assertTrue(rbChannel.isOpen()); in testNewChannelOutputStream() 276 assertTrue(readbc.isOpen()); in testNewInputStreamReadableByteChannel_InputNull() 293 assertTrue(readbc.isOpen()); in testNewInputStreamReadableByteChannel() 305 assertFalse(readbc.isOpen()); in testNewInputStreamReadableByteChannel() 326 assertTrue(writebc.isOpen()); in testNewOutputStreamWritableByteChannel_InputNull() 340 assertTrue(writebc.isOpen()); in testNewOutputStreamWritableByteChannel() 352 assertFalse(writebc.isOpen()); in testNewOutputStreamWritableByteChannel()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 110 assertTrue(sc.isOpen()); in test_channelSocketOutputStreamClosureState() 115 assertFalse(sc.isOpen()); in test_channelSocketOutputStreamClosureState() 131 assertTrue(sc.isOpen()); in test_channelSocketInputStreamClosureState() 136 assertFalse(sc.isOpen()); in test_channelSocketInputStreamClosureState() 175 assertTrue(sc.isOpen()); in test_bind_unresolvedAddress() 202 assertFalse(sc.isOpen()); in test_bind_socketStateSync() 228 assertFalse(sc.isOpen()); in test_bind_socketObjectCreationAfterBind()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Channel.java | 63 public boolean isOpen(); in isOpen() method
|