Home
last modified time | relevance | path

Searched refs:isOpen (Results 1 – 25 of 78) 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/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteOpenHelperTest.java89 assertThat(database.isOpen()).isTrue(); in testClose()
91 assertThat(database.isOpen()).isFalse(); in testClose()
112 assertThat(database1.isOpen()).isTrue(); in testCloseMultipleDbs()
113 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
115 assertThat(database1.isOpen()).isFalse(); in testCloseMultipleDbs()
116 assertThat(database2.isOpen()).isTrue(); in testCloseMultipleDbs()
118 assertThat(database2.isOpen()).isFalse(); in testCloseMultipleDbs()
204 assertThat(db1.isOpen()).isTrue(); in testCloseThenOpen()
219 assertThat(database.isOpen()).isTrue(); in assertDatabaseOpened()
DShadowSQLiteConnectionTest.java97 assertThat(conn.isOpen()).as("open").isTrue(); in nativeOpen_addsConnectionToPool()
103 assertThat(conn.isOpen()).as("open").isFalse(); in nativeClose_closesConnection()
109 assertThat(conn.isOpen()).as("open").isFalse(); in reset_closesConnection()
DSQLiteDatabaseTest.java458 assertThat(database.isOpen()).isTrue(); in testIsOpen()
460 assertThat(database.isOpen()).isFalse(); in testIsOpen()
621 assertThat(db.isOpen()).isTrue(); in shouldOpenExistingDatabaseFromFileSystemIfFileExists()
623 assertThat(db.isOpen()).isFalse(); in shouldOpenExistingDatabaseFromFileSystemIfFileExists()
627 assertThat(reopened.isOpen()).isTrue(); in shouldOpenExistingDatabaseFromFileSystemIfFileExists()
640 assertThat(db.isOpen()).isTrue(); in shouldUseInMemoryDatabaseWhenCallingCreate()
/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()
DDefaultClientConnectionOperator.java126 if (conn.isOpen()) { in openConnection()
226 if (!conn.isOpen()) { in updateSecureConnection()
/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/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()
DManagedLocalTransactionsAcrossRequestTest.java92 assertTrue("Em was closed after txn!", em.isOpen()); in testSimpleTransactionWithMerge()
117 assertTrue("Em was closed after txn!", em.isOpen()); in disabled_testSimpleTransactionWithMergeAndDF()
DEntityManagerFactoryProvisionTest.java54 assertTrue(injector.getInstance(EntityManager.class).isOpen()); in testSessionCreateOnInjection()
/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/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/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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTransportWrapper.java81 public boolean isOpen(); in isOpen() method
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DByteBufferByteChannel.java44 public boolean isOpen() { in isOpen() method in ByteBufferByteChannel
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannel.java39 public boolean isOpen() { in isOpen() method in BrotliDecoderChannel
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpServerConnection.java81 if (isOpen()) { in toString()
DDefaultHttpClientConnection.java83 if (isOpen()) { in toString()

1234