| /external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
| D | RealBufferedSink.java | 27 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/ |
| D | RealBufferedSink.java | 26 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/ |
| D | RealBufferedSink.kt | 31 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/python/pyfakefs/pyfakefs/tests/ |
| D | fake_stat_time_test.py | 64 closed = self.stat_time(self.file_path) 65 return created, closed 73 closed = self.stat_time(self.file_path) 75 return created, written, closed 84 closed = self.stat_time(self.file_path) 86 return before, opened, closed 97 closed = self.stat_time(self.file_path) 99 return before, opened, written, closed 110 closed = self.stat_time(self.file_path) 112 return before, opened, flushed, closed [all …]
|
| /external/python/cpython3/Lib/test/test_tools/ |
| D | test_pindent.py | 41 closed = f.read() 43 f.write(closed) 51 self.assertEqual(f.read(), closed) 55 self.assertEqual(self.pindent(clean, '-c'), closed) 56 self.assertEqual(self.pindent(closed, '-d'), clean) 64 self.assertEqual(f.read(), closed) 66 broken = self.lstriplines(closed) 79 def pindent_test(self, clean, closed): argument 80 self.assertEqual(self.pindent(clean, '-c'), closed) 81 self.assertEqual(self.pindent(closed, '-d'), clean) [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/collect/ |
| D | RangeTest.java | 19 import static com.google.common.collect.BoundType.CLOSED; 72 Range<Integer> range = Range.closed(5, 7); in testClosed() 76 assertEquals(CLOSED, range.lowerBoundType()); in testClosed() 79 assertEquals(CLOSED, range.upperBoundType()); in testClosed() 87 Range.closed(4, 3); in testClosed_invalid() 101 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed() 112 assertEquals(CLOSED, range.lowerBoundType()); in testClosedOpen() 122 assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6))); in testIsConnected() 123 assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected() 124 assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5))); in testIsConnected() [all …]
|
| D | GeneralRangeTest.java | 17 import static com.google.common.collect.BoundType.CLOSED; 63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds() 72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds() 81 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds() 89 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange() 100 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), in testLowerRange() 115 ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), 138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); 141 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED))); 145 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); [all …]
|
| D | ContiguousSetTest.java | 19 import static com.google.common.collect.BoundType.CLOSED; 80 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() [all …]
|
| D | TreeRangeSetTest.java | 366 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedWithOverlap() 377 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedDisjoint() 388 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound() 391 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound() 399 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound() 400 rangeSet.add(Range.closed(1, 4)); in testIgnoresSmallerSharingLowerBound() 402 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound() 410 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound() 411 rangeSet.add(Range.closed(3, 6)); in testIgnoresSmallerSharingUpperBound() 413 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound() [all …]
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| D | RangeTest.java | 19 import static com.google.common.collect.BoundType.CLOSED; 72 Range<Integer> range = Range.closed(5, 7); in testClosed() 76 assertEquals(CLOSED, range.lowerBoundType()); in testClosed() 79 assertEquals(CLOSED, range.upperBoundType()); in testClosed() 87 Range.closed(4, 3); in testClosed_invalid() 101 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed() 112 assertEquals(CLOSED, range.lowerBoundType()); in testClosedOpen() 122 assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6))); in testIsConnected() 123 assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6))); in testIsConnected() 124 assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5))); in testIsConnected() [all …]
|
| D | GeneralRangeTest.java | 17 import static com.google.common.collect.BoundType.CLOSED; 63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds() 72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds() 81 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds() 89 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange() 100 ORDERING.compare(i, 3) > 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), in testLowerRange() 115 ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), 138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); 141 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED))); 145 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN); [all …]
|
| D | ContiguousSetTest.java | 19 import static com.google.common.collect.BoundType.CLOSED; 80 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() [all …]
|
| D | TreeRangeSetTest.java | 366 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedWithOverlap() 377 rangeSet.add(Range.closed(1, 4)); in testMergesConnectedDisjoint() 388 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound() 391 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingNoBound() 399 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound() 400 rangeSet.add(Range.closed(1, 4)); in testIgnoresSmallerSharingLowerBound() 402 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingLowerBound() 410 rangeSet.add(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound() 411 rangeSet.add(Range.closed(3, 6)); in testIgnoresSmallerSharingUpperBound() 413 assertThat(rangeSet.asRanges()).contains(Range.closed(1, 6)); in testIgnoresSmallerSharingUpperBound() [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_tools.py | 66 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/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
| D | AutoCloseInputStreamTest.java | 38 private boolean closed; field in AutoCloseInputStreamTest 46 closed = true; in setUp() 49 closed = false; in setUp() 55 assertTrue(closed, "closed"); in testClose() 62 assertTrue(closed, "closed"); in testFinalize() 70 assertFalse(closed, "closed"); in testRead() 73 assertTrue(closed, "closed"); in testRead() 81 assertFalse(closed, "closed"); in testReadBuffer() 88 assertTrue(closed, "closed"); in testReadBuffer() 97 assertFalse(closed, "closed"); in testReadBufferOffsetLength() [all …]
|
| /external/rust/crates/tokio-util/src/sync/ |
| D | mpsc.rs | 10 /// Error returned by the `PollSender` when the channel is closed. 26 write!(fmt, "channel closed") in fmt() 37 Closed, enumerator 78 mem::replace(&mut self.state, State::Closed) in take_state() 93 /// If the channel is closed, an error will be returned. This is a permanent state. 108 // Channel is closed. in poll_reserve() 109 Poll::Ready(Err(e)) => (Some(Poll::Ready(Err(e))), State::Closed), in poll_reserve() 113 // We're closed, either by choice or because the underlying sender was closed. in poll_reserve() 114 s @ State::Closed => (Some(Poll::Ready(Err(PollSendError(None)))), s), in poll_reserve() 133 /// If the channel is closed, an error will be returned. This is a permanent state. [all …]
|
| /external/python/cpython2/Lib/bsddb/ |
| D | dbrecio.py | 41 self.closed = 0 45 if not self.closed: 46 self.closed = 1 50 if self.closed: 51 raise ValueError, "I/O operation on closed file" 55 if self.closed: 56 raise ValueError, "I/O operation on closed file" 64 if self.closed: 65 raise ValueError, "I/O operation on closed file" 69 if self.closed: [all …]
|
| /external/javaparser/ |
| D | changelog.md | 3 [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/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/ |
| D | XMLElement.java | 46 private boolean closed; field in XMLElement 57 this.closed = false; in XMLElement() 76 * output stream will be closed if the root element is closed 99 * before the parent element has been closed. 107 * parent element is already closed 118 if (closed) { in addChildElement() 119 throw new IOException(format("Element %s already closed.", name)); in addChildElement() 161 * element is added or this element has been closed. The attribute value 171 * element is already closed. 178 if (closed || openTagDone) { in attr() [all …]
|
| /external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/ |
| D | Channel.kt | 26 …* Returns `true` if this channel was closed by an invocation of [close] or its receiving side was … 30 …* channel can be concurrently closed right after the check. For such scenarios, it is recommended … 41 …* or if it does not exist, or throws an exception if the channel [is closed for `send`][isClosedFo… 68 …* The [select] invocation fails with an exception if the channel [is closed for `send`][isClosedFo… in send() 74 * and returns the successful result. Otherwise, returns failed or closed result. in send() 93 …* A channel that was closed without a [cause] throws a [ClosedSendChannelException] on attempts to… in send() 95 …* A channel that was closed with non-null [cause] is called a _failed_ channel. Attempts to send or in send() 101 * Registers a [handler] which is synchronously invoked once the channel is [closed][close] in send() 105 * If the channel is closed already, the handler is invoked immediately. in send() 108 * - `null` if the channel was closed normally without the corresponding argument. in send() [all …]
|
| /external/autotest/client/cros/graphics/ |
| D | graphics_utils_unittest.py | 15 frecon: 3 objects, 72192000 bytes (0 active, 0 inactive, 0 unbound, 0 closed) 16 chrome: 6 objects, 74629120 bytes (0 active, 0 inactive, 901120 unbound, 0 closed) 17 chrome: 14 objects, 1765376 bytes (0 active, 552960 inactive, 1212416 unbound, 0 closed) 18 chrome: 291 objects, 152686592 bytes (0 active, 0 inactive, 1183744 unbound, 0 closed) 19 chrome: 291 objects, 152686592 bytes (0 active, 75231232 inactive, 1183744 unbound, 0 closed) 20 chrome: 291 objects, 152686592 bytes (0 active, 155648 inactive, 1183744 unbound, 0 closed) 21 chrome: 291 objects, 152686592 bytes (64241664 active, 60248064 inactive, 1183744 unbound, 0 closed) 22 chrome: 291 objects, 152686592 bytes (0 active, 106496 inactive, 1183744 unbound, 0 closed) 23 chrome: 291 objects, 152686592 bytes (0 active, 724992 inactive, 1183744 unbound, 0 closed) 24 chrome: 291 objects, 152686592 bytes (0 active, 122880 inactive, 1183744 unbound, 0 closed) [all …]
|
| /external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
| D | MultisetNavigationTester.java | 17 import static com.google.common.collect.BoundType.CLOSED; 149 assertEquals(a, sortedMultiset.headMultiset(e0(), CLOSED).lastEntry()); in testSingletonMultisetNearby() 150 assertEquals(a, sortedMultiset.tailMultiset(e0(), CLOSED).firstEntry()); in testSingletonMultisetNearby() 198 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor() 199 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor() 200 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor() 207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling() 208 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling() 209 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling() 301 expectAddFailure(sortedMultiset.tailMultiset(b.getElement(), CLOSED), a); in testAddOutOfTailBoundsSeveral() local [all …]
|
| /external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
| D | MultisetNavigationTester.java | 17 import static com.google.common.collect.BoundType.CLOSED; 149 assertEquals(a, sortedMultiset.headMultiset(e0(), CLOSED).lastEntry()); in testSingletonMultisetNearby() 150 assertEquals(a, sortedMultiset.tailMultiset(e0(), CLOSED).firstEntry()); in testSingletonMultisetNearby() 198 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor() 199 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor() 200 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor() 207 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling() 208 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling() 209 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling() 301 expectAddFailure(sortedMultiset.tailMultiset(b.getElement(), CLOSED), a); in testAddOutOfTailBoundsSeveral() local [all …]
|
| /external/webrtc/test/pc/e2e/ |
| D | test_peer.h | 53 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in ReleaseVideoSource() 58 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in pc_factory() 62 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in pc() 66 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in observer() 74 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in CreateOffer() 78 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in CreateOffer() 83 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in CreateAnswer() 89 RTC_CHECK(wrapper_) << "TestPeer is already closed"; 100 RTC_CHECK(wrapper_) << "TestPeer is already closed"; in AddTransceiver() 107 RTC_CHECK(wrapper_) << "TestPeer is already closed"; [all …]
|
| /external/okio/okio/src/jvmMain/kotlin/okio/ |
| D | RealBufferedSink.kt | 46 @JvmField actual var closed: Boolean = false variable in okio.RealBufferedSink 65 check(!closed) { "closed" } in buffer() 76 check(!closed) { "closed" } in writeString() 86 check(!closed) { "closed" } in write() 109 if (closed) throw IOException("closed") in writeAll() 115 if (closed) throw IOException("closed") in writeAll() 121 // For backwards compatibility, a flush() on a closed stream is a no-op. in writeAll() 122 if (!closed) { in writeAll() 135 override fun isOpen() = !closed
|