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

1 2 3 4 5 6 7 8

  /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;
  /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...]
  /external/valgrind/main/gdbserver_tests/
mcmain_pic.stderrB.exp 3 Remote connection closed
nlpasssigalrm.stderrB.exp 3 Remote connection closed
mcclean_after_fork.stderrB.exp 4 Remote connection closed
nlsigvgdb.stderrB.exp 6 Remote connection closed
  /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;
  /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/guava/guava-tests/test/com/google/common/collect/
RangesTest.java 19 import static com.google.common.collect.BoundType.CLOSED;
37 assertEquals(Ranges.closed(0, 0), Ranges.singleton(0));
38 assertEquals(Ranges.closed(9, 9), Ranges.singleton(9));
42 assertEquals(Ranges.closed(0, 0), Ranges.encloseAll(Arrays.asList(0)));
43 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(5, -3)));
44 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(1, 2, 2, 2, 5, -3, 0, -1)));
72 Ranges.downTo(1, CLOSED))
78 Ranges.upTo(7, CLOSED))
87 Ranges.range(1, OPEN, 7, CLOSED))
89 Ranges.closed(1, 7)
    [all...]
ContiguousSetTest.java 19 import static com.google.common.collect.BoundType.CLOSED;
64 Ranges.closed(1, 3).asSet(integers()),
68 Ranges.closed(1, 3).asSet(NOT_EQUAL_TO_INTEGERS),
75 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()),
77 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()),
79 assertEquals(Ranges.closed(Integer.MIN_VALUE, Integer.MAX_VALUE).asSet(integers()),
89 ContiguousSet<Integer> regular = Ranges.closed(1, 3).asSet(integers());
105 ImmutableSortedSet<Integer> set = Ranges.closed(1, 3).asSet(integers());
119 ImmutableSortedSet<Integer> set = Ranges.closed(1, 3).asSet(integers());
127 ImmutableSortedSet<Integer> set = Ranges.closed(1, 3).asSet(integers())
    [all...]
RangeTest.java 19 import static com.google.common.collect.BoundType.CLOSED;
69 Range<Integer> range = Ranges.closed(5, 7);
73 assertEquals(CLOSED, range.lowerBoundType());
76 assertEquals(CLOSED, range.upperBoundType());
84 Ranges.closed(4, 3);
98 assertEquals(CLOSED, range.upperBoundType());
109 assertEquals(CLOSED, range.lowerBoundType());
119 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.open(5, 6)));
120 assertTrue(Ranges.closed(3, 5).isConnected(Ranges.openClosed(5, 5)));
121 assertTrue(Ranges.open(3, 5).isConnected(Ranges.closed(5, 6)))
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Cylinder.java 67 private boolean closed; field in class:Cylinder
99 * If the cylinder is closed the texture is split into axisSamples parts:
113 * @param closed
117 float radius, float height, boolean closed) {
118 this(axisSamples, radialSamples, radius, height, closed, false);
125 * If the cylinder is closed the texture is split into axisSamples parts:
139 * @param closed
146 float radius, float height, boolean closed, boolean inverted) {
147 this(axisSamples, radialSamples, radius, radius, height, closed, inverted);
151 float radius, float radius2, float height, boolean closed, boolean inverted) {
    [all...]
  /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) {
  /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/guava/guava-tests/test/com/google/common/io/
AppendableWriterTest.java 34 boolean closed; field in class:AppendableWriterTest.SpyAppendable
57 closed = true;
93 assertFalse(spy.closed);
97 assertFalse(spy.closed);
101 assertTrue(spy.closed);
113 fail("Should have thrown IOException due to writer already closed");
120 fail("Should have thrown IOException due to writer already closed");
125 // close()ing already closed writer is allowed
  /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 {

Completed in 711 milliseconds

1 2 3 4 5 6 7 8