HomeSort by relevance Sort by last modified time
    Searched refs:closed (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /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) {
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.");
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.");
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.");
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;
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;
  /libcore/luni/src/main/java/java/nio/channels/spi/
AbstractInterruptibleChannel.java 38 private volatile boolean closed = false; field in class:AbstractInterruptibleChannel
56 return !closed;
60 * Closes an open channel. If the channel is already closed then this method
64 * If an attempt is made to perform an operation on a closed channel then a
76 if (!closed) {
78 if (!closed) {
79 closed = true;
103 * if this channel is closed by another thread while this method
115 if (!success && closed) {
124 * closed through another invocation of {@code close()} and that the metho
    [all...]
  /libcore/luni/src/main/java/libcore/net/http/
AbstractHttpOutputStream.java 29 protected boolean closed; field in class:AbstractHttpOutputStream
36 if (closed) {
37 throw new IOException("stream closed");
FixedLengthOutputStream.java 46 if (closed) {
47 return; // don't throw; this stream might have been closed on the caller's behalf
53 if (closed) {
56 closed = true;
RetryableOutputStream.java 44 if (closed) {
47 closed = true;
UnknownLengthHttpInputStream.java 57 if (closed) {
60 closed = true;
ChunkedOutputStream.java 106 if (closed) {
107 return; // don't throw; this stream might have been closed on the caller's behalf
114 if (closed) {
117 closed = true;
  /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/webkit/Source/WebCore/platform/graphics/gstreamer/
PlatformVideoWindowPrivate.h 38 void closed();
  /libcore/luni/src/main/java/java/util/zip/
InflaterOutputStream.java 37 private boolean closed = false; field in class:InflaterOutputStream
89 if (!closed) {
93 closed = true;
107 * @throws IOException if an I/O error occurs, or the stream has been closed
120 * @throws IOException if an I/O error occurs, or the stream has been closed
133 * @throws IOException if an I/O error occurs, or the stream has been closed
158 if (closed) {
DeflaterInputStream.java 38 private boolean closed = false; field in class:DeflaterInputStream
91 closed = true;
172 * @throws IOException if this stream is closed or an error occurs
205 if (closed) {
206 throw new IOException("Stream is closed");
InflaterInputStream.java 54 boolean closed; field in class:InflaterInputStream
233 * @throws IOException if this stream is closed or an error occurs
252 if (!closed) {
254 closed = true;
297 if (closed) {
298 throw new IOException("Stream is closed");
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
CharWrapperTester.java 157 fail("expected already closed exception");
167 assertTrue(delegate.closed);
178 assertTrue(delegate.closed);
185 * A custom Writer that respects the closed state. The built-in StringWriter
190 private boolean closed = false; field in class:CharWrapperTester.ClosableStringWriter
193 closed = true;
199 if (closed) {
208 boolean closed = false; field in class:CharWrapperTester.FailOnFlushWriter
211 if (closed) {
212 throw new IOException("Already closed");
230 boolean closed = false; field in class:CharWrapperTester.FailOnCloseWriter
    [all...]
WrapperTester.java 158 fail("expected already closed exception");
168 assertTrue(delegate.closed);
179 assertTrue(delegate.closed);
187 private boolean closed = false; field in class:WrapperTester.ClosableByteArrayOutputStream
190 closed = true;
194 if (closed) {
203 boolean closed = false; field in class:WrapperTester.FailOnFlushOutputStream
206 if (closed) {
207 throw new IOException("Already closed");
212 closed = true
225 boolean closed = false; field in class:WrapperTester.FailOnCloseOutputStream
    [all...]
  /external/chromium/chrome/browser/resources/ntp4/
recently_closed.css 6 #recently-closed-menu-button {
13 #recently-closed-menu-button[hidden] {
18 #recently-closed-menu-button img {
  /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.");
  /packages/apps/Email/emailcommon/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");
  /external/chromium/chrome/browser/ui/cocoa/infobars/
mock_link_infobar_delegate.h 26 bool closed() const { return closed_; } function in class:MockLinkInfoBarDelegate
  /external/webkit/Source/WebCore/svg/
SVGPathStringBuilder.h 40 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
SVGPathBuilder.cpp 36 void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoordinateMode mode)
40 if (closed && !m_path->isEmpty())

Completed in 1396 milliseconds

1 2 3 4 5 6