/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
AbstractFileSystem.java | 32 private boolean closed; field in class:AbstractFileSystem 40 this.closed = false; 51 closed = true; 57 return closed; 66 * Checks if this {@code FileSystem} was already closed, and throws an 70 * already closed 76 throw new IllegalStateException("file system was already closed");
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
AbstractOutputStream.java | 29 protected boolean closed; field in class:AbstractOutputStream 36 if (closed) { 37 throw new IOException("stream closed"); 41 /** Returns true if this stream was closed locally. */ 43 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) {
|
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tools.py | 64 closed = f.read() 66 f.write(closed) 74 self.assertEqual(f.read(), closed) 78 self.assertEqual(self.pindent(clean, '-c'), closed) 79 self.assertEqual(self.pindent(closed, '-d'), clean) 87 self.assertEqual(f.read(), closed) 89 broken = self.lstriplines(closed) 102 def pindent_test(self, clean, closed): 103 self.assertEqual(self.pindent(clean, '-c'), closed) 104 self.assertEqual(self.pindent(closed, '-d'), clean [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tools.py | 64 closed = f.read() 66 f.write(closed) 74 self.assertEqual(f.read(), closed) 78 self.assertEqual(self.pindent(clean, '-c'), closed) 79 self.assertEqual(self.pindent(closed, '-d'), clean) 87 self.assertEqual(f.read(), closed) 89 broken = self.lstriplines(closed) 102 def pindent_test(self, clean, closed): 103 self.assertEqual(self.pindent(clean, '-c'), closed) 104 self.assertEqual(self.pindent(closed, '-d'), clean [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
|
/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbrecio.py | 41 self.closed = 0 45 if not self.closed: 46 self.closed = 1 50 if self.closed: 51 raise ValueError, "I/O operation on closed file" 55 if self.closed: 56 raise ValueError, "I/O operation on closed file" 64 if self.closed: 65 raise ValueError, "I/O operation on closed file" 69 if self.closed [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbrecio.py | 41 self.closed = 0 45 if not self.closed: 46 self.closed = 1 50 if self.closed: 51 raise ValueError, "I/O operation on closed file" 55 if self.closed: 56 raise ValueError, "I/O operation on closed file" 64 if self.closed: 65 raise ValueError, "I/O operation on closed file" 69 if self.closed [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/okhttp/src/test/java/com/squareup/okhttp/internal/ |
FaultRecoveringOutputStreamTest.java | 46 assertFalse(faulting.closed); 64 assertTrue(faulting1.closed); 65 assertFalse(faulting2.closed); 85 assertTrue(faulting1.closed); 86 assertFalse(faulting2.closed); 108 assertTrue(faulting1.closed); 109 assertTrue(faulting2.closed); 131 assertTrue(faulting1.closed); 132 assertTrue(faulting2.closed); 133 assertFalse(faulting3.closed); 189 boolean closed; field in class:FaultRecoveringOutputStreamTest.FaultingOutputStream [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
InflaterOutputStream.java | 37 private boolean closed = false; field in class:InflaterOutputStream 91 if (!closed) { 95 closed = true; 109 * @throws IOException if an I/O error occurs, or the stream has been closed 122 * @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 160 if (closed) {
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
FileDisk.java | 45 private boolean closed; field in class:FileDisk 61 this.closed = false; 68 this.closed = false; 75 this.closed = false; 160 this.closed = true; 167 return this.closed; 171 if (closed) throw new IllegalStateException("device already 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
|