/libcore/ojluni/src/main/java/sun/net/www/ |
D | MeteredStream.java | 40 protected boolean closed = false; field in MeteredStream 116 if (closed) { in read() 130 if (closed) { in read() 141 if (closed) { in skip() 164 if (closed) { in close() 170 closed = true; in close() 175 return closed ? 0: in.available(); in available() 179 if (closed) { in mark() 192 if (closed) { in reset() 205 if (closed) { in markSupported()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 90 private volatile boolean closed; field in AbstractInterruptibleChannel 110 if (closed) in close() 112 closed = true; in close() 136 return !closed; in isOpen() 158 if (closed) in begin() 160 closed = true; in begin() 202 if (!completed && closed) in end()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | WrapperTester.java | 173 assertTrue(delegate.closed); in wrapperTestCloseThrows() 184 assertTrue(delegate.closed); in wrapperTestCloseThrowsSuppressed() 192 private boolean closed = false; field in WrapperTester.ClosableByteArrayOutputStream 196 closed = true; in close() 201 if (closed) { in write() 210 boolean closed = false; field in WrapperTester.FailOnFlushOutputStream 214 if (closed) { in write() 221 closed = true; in close() 235 boolean closed = false; field in WrapperTester.FailOnCloseOutputStream 239 closed = true; in close()
|
D | CharWrapperTester.java | 172 assertTrue(delegate.closed); in wrapperTestCloseThrows() 183 assertTrue(delegate.closed); in wrapperTestCloseThrowsSuppressed() 195 private boolean closed = false; field in CharWrapperTester.ClosableStringWriter 199 closed = true; in close() 208 if (closed) { in write() 217 boolean closed = false; field in CharWrapperTester.FailOnFlushWriter 221 if (closed) { in write() 228 closed = true; in close() 242 boolean closed = false; field in CharWrapperTester.FailOnCloseWriter 254 closed = true; in close()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileInputStream.java | 93 private volatile boolean closed; field in FileInputStream 345 if (closed && len > 0) { in read() 477 if (closed) { in skip() 519 if (closed) { in available() 549 if (closed) { in close() 553 if (closed) { in close() 556 closed = true; in close() 626 if (closed) { in getChannel()
|
D | PipedWriter.java | 48 private boolean closed = false; field in PipedWriter 96 } else if (snk.closedByReader || closed) { in connect() 168 if (sink.closedByReader || closed) { in flush() 185 closed = true; in close()
|
D | FilterOutputStream.java | 53 private volatile boolean closed; field in FilterOutputStream 170 if (closed) { in close() 174 if (closed) { in close() 177 closed = true; in close()
|
D | FileOutputStream.java | 109 private volatile boolean closed; field in FileOutputStream 423 if (closed && len > 0) { in write() 456 if (closed) { in close() 460 if (closed) { in close() 463 closed = true; in close() 533 if (closed) { in getChannel()
|
D | OutputStream.java | 73 private volatile boolean closed; in nullOutputStream() 76 if (closed) { in nullOutputStream() 94 closed = true; in nullOutputStream()
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 35 private boolean closed; field in MemoryMappedFile 73 if (!closed) { in close() 74 closed = true; in close() 80 return closed; in isClosed() 102 if (closed) { in checkNotClosed()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchService.java | 56 private volatile boolean closed; field in AbstractWatchService 79 if (closed) in checkOpen() 127 return !closed; in isOpen() 149 if (closed) in close() 151 closed = true; in close()
|
/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 214 boolean closed; 238 if (!closed) { 239 closed = true; 257 boolean closed; 265 closed = true; 270 return closed; 276 boolean closed; 284 closed = true; 289 return closed;
|
D | ReadAllBytes.java | 97 private boolean closed; field in ReadAllBytes.WrapperInputStream 99 @Override public void close() throws IOException { closed = true; in.close(); } in close() 100 boolean isClosed() { return closed; } in isClosed()
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 259 boolean closed; 268 if (!closed) { 269 closed = true; 281 boolean closed; 289 closed = true; 294 return closed; 300 boolean closed; 308 closed = true; 313 return closed;
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | SaveClose.java | 44 boolean closed = false; field in SaveClose.O 51 this.closed = true; in close() 62 if (o.closed) in main()
|
D | LoadAndStoreXML.java | 91 private boolean closed; field in LoadAndStoreXML.TestInputStream 98 return !closed; in isOpen() 105 closed = true; in close() 115 private boolean closed; field in LoadAndStoreXML.TestOutputStream 118 return !closed; in isOpen() 125 closed = true; in close()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AbstractPollSelectorImpl.java | 59 private boolean closed = false; field in AbstractPollSelectorImpl 72 if (closed) in putEventOps() 87 if (closed) in implClose() 89 closed = true; in implClose() 142 if (closed) in implRegister()
|
D | EPollPort.java | 52 private boolean closed; field in EPollPort 122 if (closed) in implClose() 124 closed = true; in implClose() 146 if (closed) in executeOnHandlerTask()
|
D | AsynchronousFileChannelImpl.java | 45 protected volatile boolean closed; field in AsynchronousFileChannelImpl 74 return !closed; in isOpen() 84 if (closed) in begin() 167 if (closed) in addToFileLockTable()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | InflaterOutputStream.java | 58 private boolean closed = false; field in InflaterOutputStream 64 if (closed) { in ensureOpen() 126 if (!closed) { in close() 132 closed = true; in close()
|
D | InflaterInputStream.java | 73 protected boolean closed = false; field in InflaterInputStream 82 if (closed) { in ensureOpen() 280 if (!closed) { in close() 293 closed = true; in close()
|
D | GZIPInputStream.java | 55 private boolean closed = false; field in GZIPInputStream 61 if (closed) { in ensureOpen() 152 if (!closed) { in close() 155 closed = true; in close()
|
D | DeflaterOutputStream.java | 57 private boolean closed = false; field in DeflaterOutputStream 243 if (!closed) { in close() 251 closed = true; in close()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherOutputStream.java | 78 private boolean closed = false; field in CipherOutputStream 204 if (closed) { in close() 208 closed = true; in close()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeWalker.java | 62 private boolean closed; field in FileTreeWalker 319 if (closed) in walk() 411 return !closed; in isOpen() 419 if (!closed) { in close() 423 closed = true; in close()
|