Searched refs:closed (Results 1 - 25 of 73) sorted by relevance

123

/external/apache-http/src/org/apache/http/impl/io/
H A DIdentityInputStream.java52 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) {
H A DIdentityOutputStream.java55 /** 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.");
H A DContentLengthInputStream.java83 /** 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.");
H A DContentLengthOutputStream.java64 /** 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.");
H A DChunkedOutputStream.java61 /** 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;
H A DChunkedInputStream.java90 /** 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;
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
H A DCharWrapperTester.java157 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...]
H A DWrapperTester.java158 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
225 boolean closed = false; field in class:WrapperTester.FailOnCloseOutputStream
[all...]
/external/chromium/chrome/browser/resources/ntp4/
H A Drecently_closed.css6 #recently-closed-menu-button {
13 #recently-closed-menu-button[hidden] {
18 #recently-closed-menu-button img {
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
H A Dwindow-close-crash.js23 if (!otherWindow.closed) {
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
H A DPlatformVideoWindowPrivate.h38 void closed();
H A DPlatformVideoWindowQt.cpp68 emit closed();
80 emit closed();
/external/guava/src/com/google/common/io/
H A DAppendableWriter.java35 private boolean closed; field in class:AppendableWriter
66 this.closed = true;
113 if (closed) {
114 throw new IOException("Cannot write to a closed writer.");
/external/webkit/Source/WebCore/svg/
H A DSVGPathBuilder.cpp36 void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoordinateMode mode) argument
40 if (closed && !m_path->isEmpty())
H A DSVGPathBuilder.h46 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
H A DSVGPathConsumer.h53 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) = 0;
H A DSVGPathStringBuilder.h40 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
H A DSVGPathTraversalStateBuilder.h44 virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode);
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
H A DCipherOutputStreamTest.java38 private boolean closed = false; field in class:CipherOutputStreamTest.TestOutputStream
41 closed = true;
45 return closed;
H A DCipherInputStreamTest.java35 private boolean closed = false; field in class:CipherInputStreamTest.TestInputStream
42 closed = true;
46 return closed;
/external/chromium/chrome/browser/ui/cocoa/infobars/
H A Dmock_confirm_infobar_delegate.h28 bool closed() const { return closed_; } function in class:MockConfirmInfoBarDelegate
H A Dmock_link_infobar_delegate.h26 bool closed() const { return closed_; } function in class:MockLinkInfoBarDelegate
/external/bluetooth/glib/gio/
H A Dgfileenumerator.c53 * 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
[all...]
/external/skia/src/effects/
H A DSkCornerPathEffect.cpp56 bool closed; local
73 closed = iter.isClosedContour();
74 if (closed) {
/external/chromium/net/spdy/
H A Dspdy_http_stream.cc89 if (stream_->closed())
134 } else if (stream_->closed()) {
161 return stream_->closed();
223 if (!stream_->pushed() && stream_->closed()) {
356 DCHECK(!stream_->closed() || stream_->pushed());
407 if (stream_->closed())

Completed in 2174 milliseconds

123