Home
last modified time | relevance | path

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

1234567891011

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DParserSequenceTest.java17 assertFalse(p1.isClosed()); in testSimple()
18 assertFalse(p2.isClosed()); in testSimple()
19 assertFalse(seq.isClosed()); in testSimple()
24 assertFalse(p1.isClosed()); in testSimple()
25 assertFalse(p2.isClosed()); in testSimple()
26 assertFalse(seq.isClosed()); in testSimple()
30 assertTrue(p1.isClosed()); in testSimple()
31 assertFalse(p2.isClosed()); in testSimple()
32 assertFalse(seq.isClosed()); in testSimple()
37 assertTrue(p1.isClosed()); in testSimple()
[all …]
DParserClosingTest.java42 assertFalse(input.isClosed()); in testNoAutoCloseReader()
48 assertFalse(input.isClosed()); in testNoAutoCloseReader()
51 assertFalse(input.isClosed()); in testNoAutoCloseReader()
64 assertFalse(input.isClosed()); in testAutoCloseReader()
68 assertTrue(input.isClosed()); in testAutoCloseReader()
73 assertFalse(input.isClosed()); in testAutoCloseReader()
78 assertTrue(input.isClosed()); in testAutoCloseReader()
92 assertFalse(input.isClosed()); in testNoAutoCloseInputStream()
98 assertFalse(input.isClosed()); in testNoAutoCloseInputStream()
101 assertFalse(input.isClosed()); in testNoAutoCloseInputStream()
[all …]
DParserWithObjectsTest.java46 assertFalse(jp.isClosed()); in testIsClosed()
51 assertFalse(jp.isClosed()); in testIsClosed()
55 assertTrue(jp.isClosed()); in testIsClosed()
60 assertTrue(jp.isClosed()); in testIsClosed()
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java62 assertFalse(c1.isClosed()); in testNoExceptionsThrown()
63 assertFalse(c2.isClosed()); in testNoExceptionsThrown()
64 assertFalse(c3.isClosed()); in testNoExceptionsThrown()
68 assertTrue(c1.isClosed()); in testNoExceptionsThrown()
69 assertTrue(c2.isClosed()); in testNoExceptionsThrown()
70 assertTrue(c3.isClosed()); in testNoExceptionsThrown()
95 assertTrue(c1.isClosed()); in testExceptionThrown_fromTryBlock()
96 assertTrue(c2.isClosed()); in testExceptionThrown_fromTryBlock()
121 assertTrue(c1.isClosed()); in testExceptionThrown_whenCreatingCloseables()
122 assertTrue(c2.isClosed()); in testExceptionThrown_whenCreatingCloseables()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DCloserTest.java62 assertFalse(c1.isClosed()); in testNoExceptionsThrown()
63 assertFalse(c2.isClosed()); in testNoExceptionsThrown()
64 assertFalse(c3.isClosed()); in testNoExceptionsThrown()
68 assertTrue(c1.isClosed()); in testNoExceptionsThrown()
69 assertTrue(c2.isClosed()); in testNoExceptionsThrown()
70 assertTrue(c3.isClosed()); in testNoExceptionsThrown()
95 assertTrue(c1.isClosed()); in testExceptionThrown_fromTryBlock()
96 assertTrue(c2.isClosed()); in testExceptionThrown_fromTryBlock()
121 assertTrue(c1.isClosed()); in testExceptionThrown_whenCreatingCloseables()
122 assertTrue(c2.isClosed()); in testExceptionThrown_whenCreatingCloseables()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java56 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
61 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
66 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
71 assertTrue(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
76 assertTrue(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
90 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
95 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
100 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
121 assertFalse(c1.socket.isClosed()); in cleanupPrioritizesEarliestEviction()
122 assertTrue(c2.socket.isClosed()); in cleanupPrioritizesEarliestEviction()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtensionTest.java64 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
66 assertThat(r.isClosed()).isTrue(); in testCloseResourceViaReflection()
70 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
75 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
77 assertThat(r.isClosed()).isTrue(); in testCloseResourceViaReflection()
81 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
125 assertThat(r.isClosed()).isFalse(); in testCloseResource()
127 assertThat(r.isClosed()).isTrue(); in testCloseResource()
131 assertThat(r.isClosed()).isFalse(); in testCloseResource()
134 assertThat(r.isClosed()).isTrue(); in testCloseResource()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java48 private boolean isClosed; field in Pipeline
132 if (this.isClosed) in write()
143 if (this.isClosed) in write()
153 this.isClosed = true; in close()
173 if (this.isClosed && this.buffList.isEmpty()) in read()
179 if (this.isClosed) in read()
/external/perfetto/ui/src/frontend/
Ddetails_panel.ts74 private isClosed = this.height <= DRAG_HANDLE_HEIGHT_PX;
82 this.isClosed = this.height <= DRAG_HANDLE_HEIGHT_PX;
95 this.isClosed = this.height <= DRAG_HANDLE_HEIGHT_PX;
101 this.isClosed = newHeight <= DRAG_HANDLE_HEIGHT_PX;
114 const icon = this.isClosed ? UP_ICON : DOWN_ICON;
115 const title = this.isClosed ? 'Show panel' : 'Hide panel';
147 this.isClosed = false;
160 this.isClosed = false;
167 this.isClosed = true;
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DInMemoryResultsUploader.java40 private boolean isClosed; field in InMemoryResultsUploader
47 checkState(!isClosed); in close()
48 isClosed = true; in close()
52 checkState(!isClosed); in processTrial()
/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java107 private boolean isClosed = false; field in StreamGobbler
145 if (isClosed) { in read()
173 if (isClosed) { in available()
189 if (isClosed) { in close()
192 isClosed = true; in close()
214 if (isClosed) { in read()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorCloseTest.java48 assertFalse(output.isClosed()); in testNoAutoCloseGenerator()
52 assertFalse(output.isClosed()); in testNoAutoCloseGenerator()
64 assertFalse(output.isClosed()); in testCloseGenerator()
68 assertTrue(output.isClosed()); in testCloseGenerator()
79 assertFalse(output.isClosed()); in testNoAutoCloseOutputStream()
82 assertFalse(output.isClosed()); in testNoAutoCloseOutputStream()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelReceiveOrClosedTest.kt24 assertTrue(closed.isClosed) in <lambda>()
58 assertTrue(closed.isClosed) in <lambda>()
61 assertTrue(closed2.isClosed) in <lambda>()
99 assertTrue(closed.isClosed) in <lambda>()
120 assertTrue(closeCause.isClosed) in <lambda>()
/external/skia/docs/examples/
DPath_isRect.cpp10 bool isClosed; in draw() local
11 path.isRect(&rect, &isClosed, &direction) ? in draw()
13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in draw()
/external/skia/src/gpu/
DGrRenderTask.cpp31 SkASSERT(this->isClosed()); in disown()
46 SkASSERT(this->isClosed()); in makeSkippable()
70 if (this->isClosed()) { in makeClosed()
132 SkASSERT(!this->isClosed()); in addDependency()
188 SkASSERT(!dependedOnTask || dependedOnTask->isClosed()); in addDependency()
280 if (!fDependents[i]->isClosed()) { in closeThoseWhoDependOnMe()
304 SkASSERT(!this->isClosed()); in addTarget()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
DTcpConnection.java64 if (!socket.isClosed()) { in run()
81 if (initialized && !socket.isClosed()) { in writeExecutionData()
92 if (!socket.isClosed()) { in close()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMergeCursorTest.java257 assertThat(cursor.isClosed()).isFalse(); in testCloseCursors()
258 assertThat(dbCursor1.isClosed()).isFalse(); in testCloseCursors()
259 assertThat(dbCursor2.isClosed()).isFalse(); in testCloseCursors()
263 assertThat(cursor.isClosed()).isTrue(); in testCloseCursors()
264 assertThat(dbCursor1.isClosed()).isTrue(); in testCloseCursors()
265 assertThat(dbCursor2.isClosed()).isTrue(); in testCloseCursors()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DDatabaseContentProvider.java214 if (isClosed(db)) { in delete()
262 if (isClosed(db)) { in insert()
326 if (isClosed(db)) { in query()
345 if (isClosed(db)) { in update()
383 if (isClosed(db)) { in bulkInsert()
426 private boolean isClosed(SQLiteDatabase db) { in isClosed() method in DatabaseContentProvider
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/
DBaseTaskApi.java49 public boolean isClosed() { in isClosed() method in BaseTaskApi
68 if (isClosed()) { in checkNotClosed()
/external/conscrypt/common/src/jni/main/include/conscrypt/
DNetFd.h30 bool isClosed() { in isClosed() function
64 if (fd.isClosed() || errno != EINTR) { \
/external/conscrypt/common/src/main/java/org/conscrypt/
DAbstractConscryptSocket.java172 if (autoClose && !socket.isClosed()) { in close()
176 if (!super.isClosed()) { in close()
472 public boolean isClosed() { in isClosed() method in AbstractConscryptSocket
474 return socket.isClosed(); in isClosed()
476 return super.isClosed(); in isClosed()
573 if (isClosed()) { in checkOpen()
/external/skqp/src/pathops/
DSkPathOpsSimplify.cpp49 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeWinding()
126 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
127 if (!writer->isClosed()) { in bridgeXor()
/external/skia/src/pathops/
DSkPathOpsSimplify.cpp49 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeWinding()
126 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
127 if (!writer->isClosed()) { in bridgeXor()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DMessageDeframer.java157 if (isClosed()) { in request()
188 if (isClosed()) { in closeWhenComplete()
209 if (isClosed()) { in close()
235 public boolean isClosed() { in isClosed() method in MessageDeframer
241 return isClosed() || closeWhenComplete; in isClosedOrScheduledToClose()
DAbstractStream.java52 if (!framer().isClosed()) { in writeMessage()
62 if (!framer().isClosed()) { in flush()
82 if (framer().isClosed()) { in isReady()

1234567891011