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

12345678910

/external/apache-http/src/org/apache/http/impl/io/
H A DIdentityInputStream.java57 private boolean closed = false; field in class:IdentityInputStream
68 if (!this.closed && this.in.isDataAvailable(10)) {
76 this.closed = true;
80 if (this.closed) {
88 if (this.closed) {
H A DIdentityOutputStream.java60 /** True if the stream is closed. */
61 private boolean closed = false; field in class:IdentityOutputStream
77 if (!this.closed) {
78 this.closed = true;
88 if (this.closed) {
89 throw new IOException("Attempted write to closed stream.");
99 if (this.closed) {
100 throw new IOException("Attempted write to closed stream.");
H A DContentLengthInputStream.java88 /** True if the stream is closed. */
89 private boolean closed = false; field in class:ContentLengthInputStream
123 if (!closed) {
130 // to read after closed!
131 closed = true;
144 if (closed) {
145 throw new IOException("Attempted read from closed stream.");
168 if (closed) {
169 throw new IOException("Attempted read from closed stream.");
H A DContentLengthOutputStream.java69 /** True if the stream is closed. */
70 private boolean closed = false; field in class:ContentLengthOutputStream
99 if (!this.closed) {
100 this.closed = true;
110 if (this.closed) {
111 throw new IOException("Attempted write to closed stream.");
128 if (this.closed) {
129 throw new IOException("Attempted write to closed stream.");
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
H A DMemoryOutput.java26 private boolean closed = false; field in class:MemoryOutput
31 closed = true;
39 assertTrue(closed);
/external/conscrypt/src/compat/native/
H A DNetFd.h32 bool closed = (mFd == -1); local
33 if (closed) {
34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed");
36 return closed;
/external/conscrypt/src/openjdk/native/
H A DNetFd.h32 bool closed = (mFd == -1); local
33 if (closed) {
34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed");
36 return closed;
/external/okhttp/okio/okio/src/main/java/okio/
H A DRealBufferedSink.java26 private boolean closed; field in class:RealBufferedSink
44 if (closed) throw new IllegalStateException("closed");
50 if (closed) throw new IllegalStateException("closed");
56 if (closed) throw new IllegalStateException("closed");
63 if (closed) throw new IllegalStateException("closed");
69 if (closed) thro
[all...]
/external/guava/guava-tests/test/com/google/common/io/
H A DTestInputStream.java38 private boolean closed; field in class:TestInputStream
50 public boolean closed() { method in class:TestInputStream
51 return closed;
56 throwIf(closed);
63 throwIf(closed);
70 throwIf(closed);
77 throwIf(closed);
83 closed = true;
H A DTestOutputStream.java37 private boolean closed; field in class:TestOutputStream
49 public boolean closed() { method in class:TestOutputStream
50 return closed;
55 throwIf(closed);
62 throwIf(closed);
69 closed = true;
H A DTestReader.java43 public boolean closed() { method in class:TestReader
44 return in.closed();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
H A DTestLogWriter.java16 private boolean closed; field in class:TestLogWriter
28 if (closed) {
29 throw new IOException("stream closed");
42 closed = true;
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
H A DTestLogWriter.java15 private boolean closed; field in class:TestLogWriter
27 if (closed) {
28 throw new IOException("stream closed");
41 closed = true;
/external/jetty/src/java/org/eclipse/jetty/io/
H A DNetworkTrafficListener.java32 * <li>Connection closed, when the server has closed the connection to a remote client</li>
67 * <p>Callback method invoked when a connection to a remote client has been closed.</p>
68 * <p>The {@code socket} parameter is already closed when this method is called, so it
74 * @param socket the (closed) socket associated with the remote client
76 public void closed(Socket socket); method in interface:NetworkTrafficListener
95 public void closed(Socket socket) method in class:NetworkTrafficListener.Empty
/external/valgrind/gdbserver_tests/
H A Dmcclean_after_fork.stderrB.exp4 Remote connection closed
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DCylinder.java67 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, boolea
116 Cylinder(int axisSamples, int radialSamples, float radius, float height, boolean closed) argument
145 Cylinder(int axisSamples, int radialSamples, float radius, float height, boolean closed, boolean inverted) argument
150 Cylinder(int axisSamples, int radialSamples, float radius, float radius2, float height, boolean closed, boolean inverted) argument
213 updateGeometry(int axisSamples, int radialSamples, float radius, float radius2, float height, boolean closed, boolean inverted) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DRangeTest.java72 Range<Integer> range = Range.closed(5, 7);
87 Range.closed(4, 3);
122 assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6)));
123 assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5)));
124 assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6)));
125 assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8)));
126 assertTrue(Range.open(3, 7).isConnected(Range.closed(5, 6)));
127 assertFalse(Range.closed(3, 5).isConnected(Range.closed(7, 8)));
128 assertFalse(Range.closed(
[all...]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/
H A DZipMultiReportOutput.java65 private boolean closed = false; field in class:ZipMultiReportOutput.EntryOutput
94 if (!closed) {
95 closed = true;
101 if (closed) {
102 throw new IOException("Zip entry already closed.");
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
H A DQuitCommandHandlerTest.groovy35 assert !session.closed
38 assert session.closed

Completed in 1217 milliseconds

12345678910