/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/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/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()
|
D | ClassPathURLStreamHandler.java | 112 private boolean closed; field in ClassPathURLStreamHandler.ClassPathURLConnection 155 if (closed) { in getInputStream() 171 closed = true; in getInputStream()
|
/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/main/java/java/io/ |
D | PipedWriter.java | 48 private boolean closed = false; field in PipedWriter 96 } else if (snk.closedByReader || closed) { in connect() 162 if (sink.closedByReader || closed) { in flush() 179 closed = true; in close()
|
D | FileInputStream.java | 75 private volatile boolean closed = false; field in FileInputStream 315 if (closed && len > 0) { in read() 353 if (closed) { in skip() 395 if (closed) { in available() 419 if (closed) { in close() 422 closed = true; in close()
|
D | FilterOutputStream.java | 55 private boolean closed; field in FilterOutputStream 172 if (closed) { in close() 175 closed = true; in close()
|
D | FileOutputStream.java | 91 private volatile boolean closed = false; field in FileOutputStream 393 if (closed && len > 0) { in write() 419 if (closed) { in close() 422 closed = true; in close()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | InflaterInputStream.java | 73 protected boolean closed = false; field in InflaterInputStream 82 if (closed) { in ensureOpen() 251 if (!closed) { in close() 256 closed = true; in close()
|
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 | GZIPInputStream.java | 55 private boolean closed = false; field in GZIPInputStream 61 if (closed) { in ensureOpen() 144 if (!closed) { in close() 147 closed = true; in close()
|
D | DeflaterOutputStream.java | 58 private boolean closed = false; field in DeflaterOutputStream 238 if (!closed) { in close() 243 closed = true; in close()
|
D | ZipInputStream.java | 56 private boolean closed = false; field in ZipInputStream 67 if (closed) { in ensureOpen() 283 if (!closed) { in close() 285 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 | 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()
|
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()
|
/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()
|
D | CipherInputStream.java | 94 private boolean closed = false; field in CipherInputStream 321 if (closed) { in close() 325 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() 410 return !closed; in isOpen() 418 if (!closed) { in close() 422 closed = true; in close()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 756 private boolean closed = false; field in Base64.EncOutputStream 789 if (closed) in write() 839 if (!closed) { in close() 840 closed = true; in close() 878 private boolean closed = false; field in Base64.DecInputStream 895 if (closed) in read() 988 if (closed) in available() 995 if (!closed) { in close() 996 closed = true; in close()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherInputStream1Test.java | 44 private boolean closed = false; field in CipherInputStream1Test.TestInputStream 51 closed = true; in close() 55 return closed; in wasClosed()
|
D | CipherOutputStream1Test.java | 55 private boolean closed = false; field in CipherOutputStream1Test.TestOutputStream 58 closed = true; in close() 62 return closed; in wasClosed()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 105 private boolean closed = false; field in URLClassPath 153 if (closed) { in closeLoaders() 164 closed = true; in closeLoaders() 176 if (closed) in addURL() 488 if (closed) { 513 if (closed) { 818 private boolean closed = false; 869 if (!closed) { 870 closed = true;
|