Home
last modified time | relevance | path

Searched refs:closed (Results 1 – 25 of 1059) sorted by relevance

12345678910>>...43

/external/python/cpython3/Lib/test/test_tools/
Dtest_pindent.py40 closed = f.read()
42 f.write(closed)
50 self.assertEqual(f.read(), closed)
54 self.assertEqual(self.pindent(clean, '-c'), closed)
55 self.assertEqual(self.pindent(closed, '-d'), clean)
63 self.assertEqual(f.read(), closed)
65 broken = self.lstriplines(closed)
78 def pindent_test(self, clean, closed): argument
79 self.assertEqual(self.pindent(clean, '-c'), closed)
80 self.assertEqual(self.pindent(closed, '-d'), clean)
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_stat_time_test.py59 closed = self.stat_time(self.file_path)
61 return created, closed
68 closed = self.stat_time(self.file_path)
70 return created, written, closed
78 closed = self.stat_time(self.file_path)
80 return before, opened, closed
90 closed = self.stat_time(self.file_path)
92 return before, opened, written, closed
102 closed = self.stat_time(self.file_path)
104 return before, opened, flushed, closed
[all …]
/external/python/cpython2/Lib/test/
Dtest_tools.py66 closed = f.read()
68 f.write(closed)
76 self.assertEqual(f.read(), closed)
80 self.assertEqual(self.pindent(clean, '-c'), closed)
81 self.assertEqual(self.pindent(closed, '-d'), clean)
89 self.assertEqual(f.read(), closed)
91 broken = self.lstriplines(closed)
104 def pindent_test(self, clean, closed): argument
105 self.assertEqual(self.pindent(clean, '-c'), closed)
106 self.assertEqual(self.pindent(closed, '-d'), clean)
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DRealBufferedSink.java27 private boolean closed; field in RealBufferedSink
45 if (closed) throw new IllegalStateException("closed"); in write()
51 if (closed) throw new IllegalStateException("closed"); in write()
57 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
64 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
70 if (closed) throw new IllegalStateException("closed"); in writeUtf8CodePoint()
76 if (closed) throw new IllegalStateException("closed"); in writeString()
83 if (closed) throw new IllegalStateException("closed"); in writeString()
89 if (closed) throw new IllegalStateException("closed"); in write()
95 if (closed) throw new IllegalStateException("closed"); in write()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSink.java26 private boolean closed; field in RealBufferedSink
44 if (closed) throw new IllegalStateException("closed"); in write()
50 if (closed) throw new IllegalStateException("closed"); in write()
56 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
63 if (closed) throw new IllegalStateException("closed"); in writeUtf8()
69 if (closed) throw new IllegalStateException("closed"); in writeUtf8CodePoint()
75 if (closed) throw new IllegalStateException("closed"); in writeString()
82 if (closed) throw new IllegalStateException("closed"); in writeString()
88 if (closed) throw new IllegalStateException("closed"); in write()
94 if (closed) throw new IllegalStateException("closed"); in write()
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DRealBufferedSink.kt31 check(!closed) { "closed" } in commonWrite()
37 check(!closed) { "closed" } in commonWrite()
47 check(!closed) { "closed" } in commonWrite()
53 check(!closed) { "closed" } in commonWriteUtf8()
63 check(!closed) { "closed" } in commonWriteUtf8()
69 check(!closed) { "closed" } in commonWriteUtf8CodePoint()
75 check(!closed) { "closed" } in commonWrite()
85 check(!closed) { "closed" } in commonWrite()
113 check(!closed) { "closed" } in commonWriteByte()
119 check(!closed) { "closed" } in commonWriteShort()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java71 Range<Integer> range = Range.closed(5, 7); in testClosed()
86 Range.closed(4, 3); in testClosed_invalid()
121 assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6))); in testIsConnected()
122 assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected()
123 assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5))); in testIsConnected()
124 assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5))); in testIsConnected()
125 assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected()
126 assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8))); in testIsConnected()
127 assertTrue(Range.open(3, 7).isConnected(Range.closed(5, 6))); in testIsConnected()
128 assertFalse(Range.closed(3, 5).isConnected(Range.closed(7, 8))); in testIsConnected()
[all …]
DTreeRangeSetTest.java363 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedWithOverlap()
374 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedDisjoint()
385 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound()
388 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound()
396 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound()
397 rangeSet.add(Range.closed(1, 4)); in testIgnoresSmallerSharingLowerBound()
399 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound()
407 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound()
408 rangeSet.add(Range.closed(3, 6)); in testIgnoresSmallerSharingUpperBound()
410 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound()
[all …]
DContiguousSetTest.java80 ContiguousSet.closed(2, 1); in testInvalidIntRange()
93 ContiguousSet.closed(2L, 1L); in testInvalidLongRange()
107 ContiguousSet.create(Range.closed(1, 3), integers()), in testEquals()
108 ContiguousSet.closed(1, 3), in testEquals()
113 ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS), in testEquals()
127 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
130 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
133 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
143 ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers()); in testSerialization()
187 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet()
[all …]
DImmutableRangeSetTest.java159 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedRange()
165 assertTrue(rangeSet.encloses(Range.closed(3, 4))); in testSingleBoundedRange()
186 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedBelowRange()
192 assertTrue(rangeSet.encloses(Range.closed(3, 4))); in testSingleBoundedBelowRange()
209 assertTrue(rangeSet.intersects(Range.closed(3, 4))); in testSingleBoundedAboveRange()
216 assertTrue(rangeSet.encloses(Range.closed(2, 3))); in testSingleBoundedAboveRange()
231 .add(Range.closed(5, 8)) in testMultipleBoundedRanges()
236 .containsExactly(Range.closedOpen(1, 3), Range.closed(5, 8)) in testMultipleBoundedRanges()
239 assertTrue(rangeSet.intersects(Range.closed(1, 2))); in testMultipleBoundedRanges()
241 assertFalse(rangeSet.intersects(Range.closed(3, 4))); in testMultipleBoundedRanges()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DRangeTest.java71 Range<Integer> range = Range.closed(5, 7); in testClosed()
86 Range.closed(4, 3); in testClosed_invalid()
121 assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6))); in testIsConnected()
122 assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected()
123 assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5))); in testIsConnected()
124 assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5))); in testIsConnected()
125 assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected()
126 assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8))); in testIsConnected()
127 assertTrue(Range.open(3, 7).isConnected(Range.closed(5, 6))); in testIsConnected()
128 assertFalse(Range.closed(3, 5).isConnected(Range.closed(7, 8))); in testIsConnected()
[all …]
DTreeRangeSetTest.java363 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedWithOverlap()
374 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedDisjoint()
385 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound()
388 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound()
396 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound()
397 rangeSet.add(Range.closed(1, 4)); in testIgnoresSmallerSharingLowerBound()
399 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound()
407 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound()
408 rangeSet.add(Range.closed(3, 6)); in testIgnoresSmallerSharingUpperBound()
410 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound()
[all …]
DContiguousSetTest.java80 ContiguousSet.closed(2, 1); in testInvalidIntRange()
93 ContiguousSet.closed(2L, 1L); in testInvalidLongRange()
107 ContiguousSet.create(Range.closed(1, 3), integers()), in testEquals()
108 ContiguousSet.closed(1, 3), in testEquals()
113 ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS), in testEquals()
127 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
130 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
133 ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), in testEquals()
143 ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers()); in testSerialization()
187 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet()
[all …]
DTreeRangeMapTest.java55 mapEntry(Range.closed(20, 22), "umbrella")); in suite()
111 mapEntry(Range.closed(20, 22), "umbrella")); in suite()
166 mapEntry(Range.closed(20, 22), "umbrella")); in suite()
225 mapEntry(Range.closed(20, 22), "umbrella")); in suite()
584 rangeMap.put(Range.closed(9, 10), 2); in testSubSubRangeMap()
585 rangeMap.put(Range.closed(12, 16), 3); in testSubSubRangeMap()
586 RangeMap<Integer, Integer> sub1 = rangeMap.subRangeMap(Range.closed(5, 11)); in testSubSubRangeMap()
588 ImmutableMap.of(Range.closedOpen(5, 7), 1, Range.closed(9, 10), 2), sub1.asMapOfRanges()); in testSubSubRangeMap()
591 ImmutableMap.of(Range.open(6, 7), 1, Range.closed(9, 10), 2), sub2.asMapOfRanges()); in testSubSubRangeMap()
597 rangeMap.put(Range.closed(9, 10), 2); in testSubRangeMapPut()
[all …]
/external/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
DREADME.md40 [2018/11/15 09:53:21:0976] USER: callback_minimal_spam: established (try 10, est 0, closed 0, err 0)
41 [2018/11/15 09:53:21:1041] USER: callback_minimal_spam: established (try 10, est 1, closed 0, err 0)
42 [2018/11/15 09:53:21:1089] USER: callback_minimal_spam: established (try 10, est 2, closed 0, err 0)
43 [2018/11/15 09:53:21:1132] USER: callback_minimal_spam: established (try 10, est 3, closed 0, err 0)
44 [2018/11/15 09:53:21:1166] USER: callback_minimal_spam: established (try 10, est 4, closed 0, err 0)
45 [2018/11/15 09:53:21:1531] USER: callback_minimal_spam: established (try 10, est 5, closed 0, err 0)
46 [2018/11/15 09:53:21:1563] USER: callback_minimal_spam: established (try 10, est 6, closed 0, err 0)
47 [2018/11/15 09:53:21:1589] USER: callback_minimal_spam: established (try 10, est 7, closed 0, err 0)
48 [2018/11/15 09:53:21:1616] USER: callback_minimal_spam: established (try 10, est 8, closed 0, err 0)
49 [2018/11/15 09:53:21:1671] USER: callback_minimal_spam: established (try 10, est 9, closed 0, err 0)
[all …]
/external/python/cpython2/Lib/bsddb/
Ddbrecio.py41 self.closed = 0
45 if not self.closed:
46 self.closed = 1
50 if self.closed:
55 if self.closed:
64 if self.closed:
69 if self.closed:
115 if self.closed:
127 if self.closed:
141 if self.closed:
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DAbstractChannel.kt157 private fun helpCloseAndGetSendException(element: E, closed: Closed<*>): Throwable { in <lambda>()
160 helpClose(closed) in <lambda>()
164 it.addSuppressed(closed.sendException) in <lambda>()
167 return closed.sendException in <lambda>()
208 private fun Continuation<*>.helpCloseAndResumeWithSendException(element: E, closed: Closed<*>) { in <lambda>()
209 helpClose(closed) in <lambda>()
210 val sendException = closed.sendException in <lambda>()
242 val closed = Closed<E>(cause) in <lambda>() constant
249 val closeAdded = queue.addLastIfPrev(closed) { it !is Closed<*> } in <lambda>()
250 val actuallyClosed = if (closeAdded) closed else queue.prevNode as Closed<*> in <lambda>()
[all …]
/external/python/cpython2/Lib/
DStringIO.py38 def _complain_ifclosed(closed): argument
39 if closed:
62 self.closed = False
75 _complain_ifclosed(self.closed)
84 if not self.closed:
85 self.closed = True
92 _complain_ifclosed(self.closed)
104 _complain_ifclosed(self.closed)
116 _complain_ifclosed(self.closed)
127 _complain_ifclosed(self.closed)
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttp1xStream.java270 private boolean closed; field in Http1xStream.FixedLengthSink
282 if (closed) throw new IllegalStateException("closed"); in write()
293 if (closed) return; // Don't throw; this stream might have been closed on the caller's behalf. in flush()
298 if (closed) return; in close()
299 closed = true; in close()
313 private boolean closed; field in Http1xStream.ChunkedSink
320 if (closed) throw new IllegalStateException("closed"); in write()
330 if (closed) return; // Don't throw; this stream might have been closed on the caller's behalf. in flush()
335 if (closed) return; in close()
336 closed = true; in close()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DTestInputStream.java35 private boolean closed; field in TestInputStream
47 public boolean closed() { in closed() method in TestInputStream
48 return closed; in closed()
53 throwIf(closed); in read()
60 throwIf(closed); in read()
67 throwIf(closed); in skip()
74 throwIf(closed); in available()
80 closed = true; in close()
/external/guava/guava-tests/test/com/google/common/io/
DTestInputStream.java35 private boolean closed; field in TestInputStream
47 public boolean closed() { in closed() method in TestInputStream
48 return closed; in closed()
53 throwIf(closed); in read()
60 throwIf(closed); in read()
67 throwIf(closed); in skip()
74 throwIf(closed); in available()
80 closed = true; in close()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DFileSystemStateTest.java83 assertFalse(resource.closed); in testClose_registeredResourceIsClosed()
85 assertTrue(resource.closed); in testClose_registeredResourceIsClosed()
92 assertFalse(resource.closed); in testClose_unregisteredResourceIsNotClosed()
95 assertFalse(resource.closed); in testClose_unregisteredResourceIsNotClosed()
104 assertFalse(resource.closed); in testClose_multipleRegisteredResourcesAreClosed()
108 assertTrue(resource.closed); in testClose_multipleRegisteredResourcesAreClosed()
125 assertFalse(resource.closed); in testClose_resourcesThatThrowOnClose()
141 assertTrue(resource.closed); in testClose_resourcesThatThrowOnClose()
147 boolean closed = false; field in FileSystemStateTest.TestCloseable
151 closed = true; in close()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp1xStream.java272 private boolean closed; field in Http1xStream.FixedLengthSink
284 if (closed) throw new IllegalStateException("closed"); in write()
295 if (closed) return; // Don't throw; this stream might have been closed on the caller's behalf. in flush()
300 if (closed) return; in close()
301 closed = true; in close()
315 private boolean closed; field in Http1xStream.ChunkedSink
322 if (closed) throw new IllegalStateException("closed"); in write()
332 if (closed) return; // Don't throw; this stream might have been closed on the caller's behalf. in flush()
337 if (closed) return; in close()
338 closed = true; in close()
[all …]
/external/javaparser/
Dchangelog.md3 [issues resolved](https://github.com/javaparser/javaparser/milestone/145?closed=1)
7 [issues resolved](https://github.com/javaparser/javaparser/milestone/144?closed=1)
11 [issues resolved](https://github.com/javaparser/javaparser/milestone/143?closed=1)
15 [issues resolved](https://github.com/javaparser/javaparser/milestone/142?closed=1)
19 [issues resolved](https://github.com/javaparser/javaparser/milestone/141?closed=1)
23 [issues resolved](https://github.com/javaparser/javaparser/milestone/140?closed=1)
27 [issues resolved](https://github.com/javaparser/javaparser/milestone/139?closed=1)
31 [issues resolved](https://github.com/javaparser/javaparser/milestone/138?closed=1)
35 [issues resolved](https://github.com/javaparser/javaparser/milestone/137?closed=1)
43 [issues resolved](https://github.com/javaparser/javaparser/milestone/136?closed=1)
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessTransport.java156 listener.closed(capturedStatus, new Metadata());
315 private boolean closed;
338 if (!closed) {
352 if (closed) {
362 if (closed) {
366 closed = true;
368 clientStreamListener.closed(clientNotifyStatus, clientNotifyTrailers);
380 if (closed) {
402 if (closed) {
410 if (closed) {
[all …]

12345678910>>...43