Home
last modified time | relevance | path

Searched refs:isOpen (Results 1 – 25 of 126) sorted by relevance

123456

/external/gptfdisk/
Ddiskio-unix.cc51 if (isOpen) { // file is already open in OpenForRead()
69 isOpen = 0; in OpenForRead()
72 isOpen = 0; in OpenForRead()
86 isOpen = 1; in OpenForRead()
91 return isOpen; in OpenForRead()
97 if ((isOpen) && (openForWrite)) in OpenForWrite()
113 isOpen = 1; in OpenForWrite()
116 isOpen = 0; in OpenForWrite()
119 return isOpen; in OpenForWrite()
125 if (isOpen) in Close()
[all …]
Ddiskio-windows.cc54 if (isOpen) { // file is already open in OpenForRead()
70 isOpen = 0; in OpenForRead()
73 isOpen = 1; in OpenForRead()
78 return isOpen; in OpenForRead()
84 if ((isOpen) && (openForWrite)) in OpenForWrite()
104 isOpen = 0; in OpenForWrite()
108 isOpen = 1; in OpenForWrite()
111 return isOpen; in OpenForWrite()
117 if (isOpen) in Close()
119 isOpen = 0; in Close()
[all …]
Ddiskio.cc44 isOpen = 0; in DiskIO()
56 if (isOpen) { // file is already open in OpenForRead()
70 return isOpen; in OpenForRead()
78 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { in OpenForWrite()
Ddiskio.h52 int isOpen; variable
76 int IsOpen(void) {return isOpen;} in IsOpen()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_StringReader.java53 if (isOpen()) { in close()
62 private boolean isOpen() { in isOpen() method in Support_StringReader
78 if (isOpen()) { in mark()
113 if (isOpen()) { in read()
141 if (isOpen()) { in read()
174 if (isOpen()) { in ready()
192 if (isOpen()) { in reset()
212 if (isOpen()) { in skip()
/external/jetty/src/java/org/eclipse/jetty/io/
DUncheckedPrintWriter.java144 private void isOpen() throws IOException in isOpen() method in UncheckedPrintWriter
164 isOpen(); in flush()
209 isOpen(); in write()
241 isOpen(); in write()
287 isOpen(); in write()
321 isOpen(); in newLine()
/external/jetty/src/java/org/eclipse/jetty/io/nio/
DChannelEndPoint.java107 public boolean isOpen() in isOpen() method in ChannelEndPoint
109 return _channel.isOpen(); in isOpen()
120 if (_channel.isOpen()) in shutdownChannelInput()
159 if (_channel.isOpen()) in shutdownChannelOutput()
196 return _oshut || !_channel.isOpen() || _socket != null && _socket.isOutputShutdown(); in isOutputShutdown()
201 return _ishut || !_channel.isOpen() || _socket != null && _socket.isInputShutdown(); in isInputShutdown()
244 if (len<0 && isOpen()) in fill()
257 if (_channel.isOpen()) in fill()
DDirectNIOBuffer.java240 if (_in==null || !_in.isOpen() || in!=_inStream) in readFrom()
291 if (_in!=null && !_in.isOpen()) in readFrom()
305 if (_out==null || !_out.isOpen() || out!=_outStream) in writeTo()
316 while(hasContent() && _out.isOpen()) in writeTo()
341 if (_out!=null && !_out.isOpen()) in writeTo()
DSslConnection.java210 if (!_ishut && _sslEndPoint.isInputShutdown() && _sslEndPoint.isOpen()) in handle()
408 if (_endp.isOpen() && _endp.isInputShutdown() && !_inbound.hasContent()) in process()
411 if (_endp.isOpen() && _engine.isOutboundDone() && !_outbound.hasContent()) in process()
648 return _oshut||!isOpen()||_engine.isOutboundDone(); in isOutputShutdown()
726 public boolean isOpen() in isOpen() method in SslConnection.SslEndPoint
728 return _endp.isOpen(); in isOpen()
DSelectChannelEndPoint.java583 if (getChannel().isOpen()) in updateKey()
620 if (getChannel().isOpen()) in doUpdateKey()
732 if (!_ishut && isInputShutdown() && isOpen()) in handle()
840 isOpen(), in toString()
/external/apache-http/src/org/apache/http/impl/conn/
DSingleClientConnManager.java233 if (uniquePoolEntry.connection.isOpen()) {
311 if (sca.isOpen() && (this.alwaysShutDown ||
356 if ((managedConn == null) && uniquePoolEntry.connection.isOpen()) {
432 if (connection.isOpen())
444 if (connection.isOpen())
DAbstractClientConnAdapter.java173 public boolean isOpen() { in isOpen() method in AbstractClientConnAdapter
178 return conn.isOpen(); in isOpen()
334 if (!isOpen()) in getSSLSession()
/external/jetty/src/java/org/eclipse/jetty/server/
DHttpOutput.java141 if (!_generator.isOpen()) in write()
150 if (!_generator.isOpen()) in write()
168 while (buffer.length() > 0 && _generator.isOpen()) in write()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteOpenHelperTest.java77 assertThat(database.isOpen(), equalTo(true)); in testClose()
79 assertThat(database.isOpen(), equalTo(false)); in testClose()
94 assertThat(database.isOpen(), equalTo(true)); in assertDatabaseOpened()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketConnectionD00.java104 while(_endp.isOpen()) in handle()
157 if (_endp.isOpen()) in handle()
168 if (_endp.isOpen()) in handle()
199 public boolean isOpen() in isOpen() method in WebSocketConnectionD00
201 return _endp!=null&&_endp.isOpen(); in isOpen()
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DManualLocalTransactionsTest.java69 assertTrue("EntityManager appears to have been closed across txns!", em.isOpen()); in testSimpleCrossTxnWork()
82 assertFalse(em.isOpen()); in testSimpleCrossTxnWork()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java106 public synchronized boolean isOpen() { in isOpen() method in FramedStream
263 open = isOpen(); in receiveHeaders()
294 open = isOpen(); in receiveFin()
453 open = isOpen(); in cancelStreamIfNecessary()
/external/jetty/src/java/org/eclipse/jetty/server/nio/
DBlockingChannelConnector.java166 if (_acceptChannel==null || !_acceptChannel.isOpen()) in getLocalPort()
276 while (isOpen()) in run()
359 isOpen(), in toString()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java184 if (!isOpen()) { in execSQL()
267 public boolean isOpen() {
273 if (!isOpen()) {
297 if (!isOpen()) {
/external/jetty/src/java/org/eclipse/jetty/io/bio/
DStreamEndPoint.java65 public boolean isOpen() in isOpen() method in StreamEndPoint
75 return !isOpen(); in isClosed()
DSocketEndPoint.java74 public boolean isOpen() in isOpen() method in SocketEndPoint
76 return super.isOpen() && _socket!=null && !_socket.isClosed(); in isOpen()
/external/jetty/src/java/org/eclipse/jetty/http/
DAbstractGenerator.java102 public boolean isOpen() in isOpen() method in AbstractGenerator
104 return _endp.isOpen(); in isOpen()
445 …null && content.length()>0 ||buffer!=null && buffer.length()>0) && _endp.isOpen()&& !_endp.isOutpu… in flush()
/external/apache-http/src/org/apache/http/
DHttpConnection.java65 public boolean isOpen(); in isOpen() method
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTransportWrapper.java81 public boolean isOpen(); in isOpen() method
/external/jetty/src/java/org/eclipse/jetty/client/
DBlockingHttpConnection.java111 while (_endp.isOpen() && connection==this) in handle()
113 LOG.debug("open={} more={}",_endp.isOpen(),_parser.isMoreInBuffer()); in handle()

123456