/libcore/luni/src/main/native/ |
NetFd.h | 32 bool closed = (mFd == -1); local 33 if (closed) { 34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed"); 36 return closed;
|
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityInputStream.java | 52 private boolean closed = false; field in class:IdentityInputStream 63 if (!this.closed && this.in.isDataAvailable(10)) { 71 this.closed = true; 75 if (this.closed) { 83 if (this.closed) {
|
ContentLengthInputStream.java | 83 /** True if the stream is closed. */ 84 private boolean closed = false; field in class:ContentLengthInputStream 118 if (!closed) { 125 // to read after closed! 126 closed = true; 139 if (closed) { 140 throw new IOException("Attempted read from closed stream."); 163 if (closed) { 164 throw new IOException("Attempted read from closed stream.");
|
IdentityOutputStream.java | 55 /** True if the stream is closed. */ 56 private boolean closed = false; field in class:IdentityOutputStream 72 if (!this.closed) { 73 this.closed = true; 83 if (this.closed) { 84 throw new IOException("Attempted write to closed stream."); 94 if (this.closed) { 95 throw new IOException("Attempted write to closed stream.");
|
ContentLengthOutputStream.java | 64 /** True if the stream is closed. */ 65 private boolean closed = false; field in class:ContentLengthOutputStream 94 if (!this.closed) { 95 this.closed = true; 105 if (this.closed) { 106 throw new IOException("Attempted write to closed stream."); 123 if (this.closed) { 124 throw new IOException("Attempted write to closed stream.");
|
ChunkedInputStream.java | 90 /** True if this stream is closed */ 91 private boolean closed = false; field in class:ChunkedInputStream 118 if (this.closed) { 119 throw new IOException("Attempted read from closed stream."); 147 if (closed) { 148 throw new IOException("Attempted read from closed stream."); 259 if (!closed) { 266 closed = true;
|
ChunkedOutputStream.java | 61 /** True if the stream is closed. */ 62 private boolean closed = false; field in class:ChunkedOutputStream 141 if (this.closed) { 142 throw new IOException("Attempted write to closed stream."); 160 if (this.closed) { 161 throw new IOException("Attempted write to closed stream."); 185 if (!this.closed) { 186 this.closed = true;
|
/external/guava/src/com/google/common/io/ |
AppendableWriter.java | 35 private boolean closed; field in class:AppendableWriter 66 this.closed = true; 113 if (closed) { 114 throw new IOException("Cannot write to a closed writer.");
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
AbstractHttpOutputStream.java | 29 protected boolean closed; field in class:AbstractHttpOutputStream 43 if (closed) { 44 throw new IOException("stream closed");
|
AbstractHttpInputStream.java | 31 * is populated. If the stream is closed early, that cache entry will be 39 protected boolean closed; field in class:AbstractHttpInputStream 88 if (closed) { 89 throw new IOException("stream closed"); 112 * should be invoked when the connection is closed unexpectedly to
|
/external/skia/src/effects/ |
SkCornerPathEffect.cpp | 56 bool closed; local 73 closed = iter.isClosedContour(); 74 if (closed) {
|
/external/webkit/WebCore/history/ |
BackForwardListChromium.cpp | 148 bool BackForwardList::closed() function in class:WebCore::BackForwardList
|
BackForwardList.cpp | 264 bool BackForwardList::closed() function in class:BackForwardList
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
AbstractInterruptibleChannel.java | 64 private volatile boolean closed = false; field in class:AbstractInterruptibleChannel 79 * closed. 83 return !closed; 87 * Closes an open channel. If the channel is already closed then this method 91 * If an attempt is made to perform an operation on a closed channel then a 103 if (!closed) { 105 if (!closed) { 106 closed = true; 148 * if this channel is closed by another thread while this method 169 if (!success && closed) { [all...] |
/packages/apps/Email/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.java | 31 * closed before the threshold is reached, the data will not be written to
90 private boolean closed = false;
field in class:DeferredFileOutputStream 227 * Closes underlying output stream, and mark this as closed
234 closed = true;
240 * after it has been closed.
243 * @exception IOException if this stream is not yet closed or an error occurs.
247 // we may only need to check if this is closed if we are working with a file
250 if (!closed)
252 throw new IOException("Stream not closed");
|
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 36 private boolean closed = false; field in class:DeflaterInputStream 89 closed = true; 205 * @throws IOException if this stream is closed or an error occurs 238 if (closed) { 239 throw new IOException("Stream is closed");
|
InflaterInputStream.java | 53 boolean closed; field in class:InflaterInputStream 257 * @throws IOException if this stream is closed or an error occurs 276 if (!closed) { 278 closed = true; 321 if (closed) { 322 throw new IOException("Stream is closed");
|
InflaterOutputStream.java | 36 private boolean closed = false; field in class:InflaterOutputStream 88 if (!closed) { 92 closed = true; 106 * @throws IOException if an I/O error occurs, or the stream has been closed 119 * @throws IOException if an I/O error occurs, or the stream has been closed 135 * @throws IOException if an I/O error occurs, or the stream has been closed 166 if (closed) {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 51 private boolean closed = false; field in class:CipherInputStream1Test.TestInputStream 58 closed = true; 62 return closed;
|
CipherOutputStream1Test.java | 55 private boolean closed = false; field in class:CipherOutputStream1Test.TestOutputStream 58 closed = true; 62 return closed;
|
/external/bluetooth/glib/gio/ |
gfileenumerator.c | 53 * a #GFileEnumerator is closed, no further actions may be performed 63 guint closed : 1; member in struct:_GFileEnumeratorPrivate 134 if (!enumerator->priv->closed) 203 if (enumerator->priv->closed) 206 _("Enumerator is closed")); 266 if (enumerator->priv->closed) 282 enumerator->priv->closed = TRUE; 356 if (enumerator->priv->closed) 362 _("File enumerator is already closed")); 432 enumerator->priv->closed = TRUE [all...] |
ginputstream.c | 54 guint closed : 1; member in struct:_GInputStreamPrivate 98 if (!stream->priv->closed) 111 if (!stream->priv->closed) 411 * Once the stream is closed, all other operations will return %G_IO_ERROR_CLOSED. 414 * Streams will be automatically closed when the last reference 419 * open after the stream is closed. See the documentation for the individual 430 * Cancelling a close will still leave the stream closed, but some streams 447 if (stream->priv->closed) 466 stream->priv->closed = TRUE; 492 stream->priv->closed = TRUE [all...] |
/external/openssl/crypto/bio/ |
bss_bio.c | 133 int closed; /* valid iff peer != NULL */ member in struct:bio_bio_st 212 if (peer_b->closed) 213 return 0; /* writer has closed, and no data is left */ 369 if (b->closed) 371 /* we already closed */ 448 if (b->closed) 567 if (b->peer == NULL || b->closed) 591 b->closed = 1; 685 ret = other_b->len == 0 && other_b->closed; 745 b1->closed = 0 [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
JarFile.java | 57 private boolean closed = false; field in class:JarFile 244 * if this {@code JarFile} is closed. 291 * if the jar file is closed. 295 if (closed) { 296 throw new IllegalStateException("JarFile has been closed"); 465 closed = true;
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/ |
JarURLConnectionImpl.java | 62 private boolean closed; field in class:JarURLConnectionImpl 229 if (closed) { 230 throw new IllegalStateException("JarURLConnection InputStream has been closed"); 397 closed = true;
|