Home
last modified time | relevance | path

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

1234

/external/gptfdisk/
Ddiskio-unix.cc53 if (isOpen) { // file is already open in OpenForRead()
71 isOpen = 0; in OpenForRead()
74 isOpen = 0; in OpenForRead()
88 isOpen = 1; in OpenForRead()
93 return isOpen; in OpenForRead()
99 if ((isOpen) && (openForWrite)) in OpenForWrite()
115 isOpen = 1; in OpenForWrite()
118 isOpen = 0; in OpenForWrite()
121 return isOpen; in OpenForWrite()
127 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.cc46 isOpen = 0; in DiskIO()
58 if (isOpen) { // file is already open in OpenForRead()
72 return isOpen; in OpenForRead()
80 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { in OpenForWrite()
Ddiskio.h52 int isOpen; variable
76 int IsOpen(void) {return isOpen;} in IsOpen()
/external/catch2/projects/SelfTest/IntrospectiveTests/
DPartTracker.tests.cpp44 REQUIRE( testCase.isOpen() );
47 REQUIRE( s1.isOpen() );
72 REQUIRE( testCase2.isOpen() );
75 REQUIRE( s1b.isOpen() == false );
85 REQUIRE( testCase2.isOpen() );
88 REQUIRE( s1b.isOpen() == false );
91 REQUIRE( s2.isOpen() );
106 REQUIRE( s2.isOpen() == false );
114 REQUIRE( testCase2.isOpen() );
117 REQUIRE( s1b.isOpen() == false );
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDeclaration.java31 private boolean isOpen; field in ModuleDeclaration
39 public ModuleDeclaration(Name name, boolean isOpen) { in ModuleDeclaration() argument
40 this(null, new NodeList<>(), name, isOpen, new NodeList<>()); in ModuleDeclaration()
44 …public ModuleDeclaration(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList… in ModuleDeclaration() argument
45 this(null, annotations, name, isOpen, moduleStmts); in ModuleDeclaration()
52 …nge tokenRange, NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleSt… in ModuleDeclaration() argument
56 setOpen(isOpen); in ModuleDeclaration()
132 public boolean isOpen() { in isOpen() method in ModuleDeclaration
133 return isOpen; in isOpen()
137 public ModuleDeclaration setOpen(final boolean isOpen) { in setOpen() argument
[all …]
/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/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java322 assertTrue(channel().isOpen()); in streamErrorShouldNotCloseChannel()
340 assertFalse(channel().isOpen()); in closeShouldCloseChannel()
352 assertFalse(channel().isOpen()); in exceptionCaughtShouldCloseConnection()
587 assertTrue(channel().isOpen()); in keepAliveManager_pingSent()
598 assertTrue(channel().isOpen()); in keepAliveManager_pingTimeout()
602 assertTrue(!channel().isOpen()); in keepAliveManager_pingTimeout()
696 assertTrue(channel().isOpen()); in noGoAwaySentBeforeMaxConnectionIdleReached()
703 assertTrue(channel().isOpen()); in maxConnectionIdle_goAwaySent_pingAck()
722 assertTrue(channel().isOpen()); in maxConnectionIdle_goAwaySent_pingAck()
731 assertTrue(!channel().isOpen()); in maxConnectionIdle_goAwaySent_pingAck()
[all …]
DProtocolNegotiatorsTest.java118 assertFalse(channel.isOpen()); in tlsAdapter_exceptionClosesChannel()
163 assertFalse(channel.isOpen()); in tlsHandler_userEventTriggeredSslEvent_unsupportedProtocol()
178 assertFalse(channel.isOpen()); in tlsHandler_userEventTriggeredSslEvent_handshakeFailure()
201 assertTrue(channel.isOpen()); in tlsHandler_userEventTriggeredSslEvent_supportedProtocolH2()
224 assertTrue(channel.isOpen()); in tlsHandler_userEventTriggeredSslEvent_supportedProtocolGrpcExp()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStream.java105 if (!isOpen()) { in write()
114 if (!isOpen()) { in write()
130 if (!isOpen()) { in write()
165 public boolean isOpen() { in isOpen() method in FixedLengthBlockOutputStream
166 if (!out.isOpen()) { in isOpen()
234 if (!isOpen()) { in write()
257 public boolean isOpen() { in isOpen() method in FixedLengthBlockOutputStream.BufferAtATimeOutputChannel
DSeekableInMemoryByteChannel.java129 public boolean isOpen() { in isOpen() method in SeekableInMemoryByteChannel
184 if (!isOpen()) { in ensureOpen()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java89 assertThat(database.isOpen()).isTrue(); in testClose()
91 assertThat(database.isOpen()).isFalse(); in testClose()
117 assertThat(database1.isOpen()).isTrue(); in testCloseMultipleDbs()
118 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
120 assertThat(database1.isOpen()).isFalse(); in testCloseMultipleDbs()
121 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
123 assertThat(database2.isOpen()).isFalse(); in testCloseMultipleDbs()
212 assertThat(db1.isOpen()).isTrue(); in testCloseThenOpen()
227 assertThat(database.isOpen()).isTrue(); in assertDatabaseOpened()
DShadowSQLiteConnectionTest.java97 assertThat(conn.isOpen()).named("open").isTrue(); in nativeOpen_addsConnectionToPool()
103 assertThat(conn.isOpen()).named("open").isFalse(); in nativeClose_closesConnection()
109 assertThat(conn.isOpen()).named("open").isFalse(); in reset_closesConnection()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DSocketTransportService.java396 public boolean isOpen() { in isOpen() method in SocketConnection
403 if (!isOpen()) { in readPacket()
416 if (!isOpen()) { in readPacket()
452 if (!isOpen()) { in readPacket()
470 if (!isOpen()) { in writePacket()
504 if (!isOpen()) { in writePacket()
/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/honggfuzz/socketfuzzer/
Dhonggfuzz_socketclient.py68 isOpen = False
71 while isOpen is False:
74 isOpen = True
78 isOpen = False
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStreamTest.java168 assertTrue(out.isOpen()); in getClosedFLBOS()
170 assertFalse(out.isOpen()); in getClosedFLBOS()
182 assertTrue(out.isOpen()); in testWriteFailsAfterDestClosedThrowsException()
189 assertFalse(out.isOpen()); in testWriteFailsAfterDestClosedThrowsException()
374 public boolean isOpen() { in isOpen() method in FixedLengthBlockOutputStreamTest.MockWritableByteChannel
/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()
86 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/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedStream.java108 public synchronized boolean isOpen() { in isOpen() method in FramedStream
265 open = isOpen(); in receiveHeaders()
296 open = isOpen(); in receiveFin()
455 open = isOpen(); in cancelStreamIfNecessary()
/external/catch2/include/internal/
Dcatch_test_case_tracker.h41 virtual bool isOpen() const = 0; // Started but not complete
111 bool isOpen() const override;
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java70 assertEquals(false, module.isOpen()); in jlsExample1()
105 assertEquals(true, module.isOpen()); in jlsExample2HasAnOpenModule()
/external/apache-http/src/org/apache/http/
DHttpConnection.java65 public boolean isOpen(); in isOpen() method
/external/oj-libjdwp/src/share/classes/com/sun/jdi/connect/spi/
DConnection.java200 public abstract boolean isOpen(); in isOpen() method in Connection

1234