Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 – 25 of 40) sorted by relevance

12

/libcore/luni/src/main/java/java/io/
DPipedWriter.java38 private boolean isClosed; field in PipedWriter
78 isClosed = true; in close()
117 if (isClosed) { in flush()
DPipedInputStream.java33 private boolean isClosed; field in PipedInputStream
225 if (isClosed) { in read()
319 if (isClosed) { in read()
391 if (buffer == null || isClosed) {
428 isClosed = true;
DPipedReader.java33 private boolean isClosed; field in PipedReader
138 isClosed = true; in close()
166 if (isClosed) { in establishConnection()
255 if (isClosed) { in read()
467 isClosed = true; in done()
DStringReader.java64 private boolean isClosed() { in isClosed() method in StringReader
95 if (isClosed()) { in checkNotClosed()
DCharArrayReader.java121 private boolean isClosed() {
145 if (isClosed()) {
DBufferedWriter.java89 if (isClosed()) { in close()
133 if (isClosed()) { in checkNotClosed()
153 private boolean isClosed() { in isClosed() method in BufferedWriter
DBufferedReader.java109 if (!isClosed()) { in close()
168 private boolean isClosed() { in isClosed() method in BufferedReader
201 if (isClosed()) { in checkNotClosed()
/libcore/luni/src/main/native/
DNetFd.h30 bool isClosed() { in isClosed() function
63 if (fd.isClosed() || errno != EINTR) { \
Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp272 if (fd.isClosed()) { in start()
451 if (fd.isClosed()) { in OSNetworkSystem_writeDirect()
493 if (fd.isClosed()) { in OSNetworkSystem_connectNonBlocking()
503 if (fd.isClosed()) { in OSNetworkSystem_isConnected()
533 if (fd.isClosed()) { in OSNetworkSystem_connect()
546 if (fd.isClosed()) { in OSNetworkSystem_connect()
578 if (fd.isClosed()) { in OSNetworkSystem_bind()
591 if (fd.isClosed()) { in OSNetworkSystem_listen()
610 if (serverFd.isClosed()) { in OSNetworkSystem_accept()
678 if (fd.isClosed()) { in OSNetworkSystem_sendUrgentData()
[all …]
/libcore/luni/src/main/java/java/net/
DDatagramSocket.java46 private boolean isClosed = false; field in DatagramSocket
122 isClosed = true; in close()
144 if (isClosed()) { in connect()
178 if (isClosed() || !isConnected()) { in disconnect()
220 if (isClosed()) { in getLocalAddress()
245 if (isClosed()) { in getLocalPort()
587 if (isClosed()) { in checkClosedAndBind()
819 public boolean isClosed() { in isClosed() method in DatagramSocket
820 return isClosed; in isClosed()
DServerSocket.java40 private boolean isClosed; field in ServerSocket
187 isClosed = true; in close()
432 public boolean isClosed() { in isClosed() method in ServerSocket
433 return isClosed; in isClosed()
440 if (isClosed()) { in checkClosedAndCreate()
DSocket.java39 private boolean isClosed = false; field in Socket
373 isClosed = true; in close()
779 if (isClosed()) { in checkOpenAndCreate()
863 public boolean isClosed() { in isClosed() method in Socket
864 return isClosed; in isClosed()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DOpenSSLSocketImplWrapper.java175 public boolean isClosed() { in isClosed() method in OpenSSLSocketImplWrapper
176 return socket.isClosed(); in isClosed()
DSSLSocketWrapper.java193 public boolean isClosed() { in isClosed() method in SSLSocketWrapper
194 return socket.isClosed(); in isClosed()
DOpenSSLSocketImpl.java338 if (isClosed()) { in checkOpen()
1212 if (autoClose && !socket.isClosed()) socket.close(); in close()
1214 if (!super.isClosed()) super.close(); in close()
1251 if (autoClose && !socket.isClosed()) in close()
1254 if (!super.isClosed()) in close()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DSSLSocketFactoryTest.java100 assertFalse(s.isClosed()); in test_createSocket()
108 assertTrue(st.isClosed()); in test_createSocket()
/libcore/luni/src/test/java/tests/SQLite/
DSQLiteTest.java65 if (!conn.isClosed()) { in tearDown()
DJDBCDriverTest.java130 assertFalse(c.isClosed()); in testConnect()
/libcore/luni/src/main/java/java/sql/
DStatement.java657 public boolean isClosed() throws SQLException; in isClosed() method
DConnection.java302 public boolean isClosed() throws SQLException; in isClosed() method
/libcore/luni/src/test/java/tests/sql/
DSQLTest.java63 if (! conn.isClosed()) { in tearDown()
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCStatement.java63 if (isClosed()) { in setQueryTimeout()
303 public boolean isClosed() throws SQLException { in isClosed() method in JDBCStatement
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java724 assertFalse(server.isClosed()); in test_SSLSocket_close()
725 assertFalse(client.isClosed()); in test_SSLSocket_close()
730 assertTrue(server.isClosed()); in test_SSLSocket_close()
731 assertTrue(client.isClosed()); in test_SSLSocket_close()
955 assertFalse(test.server.isClosed()); in test_TestSSLSocketPair_create()
956 assertFalse(test.client.isClosed()); in test_TestSSLSocketPair_create()
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/
DServerSocketChannelImpl.java119 if (!socket.isClosed()) { in implCloseSelectableChannel()
/libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_Connection1.java96 public boolean isClosed() throws SQLException { in isClosed() method in TestHelper_Connection1

12