Home
last modified time | relevance | path

Searched refs:CLOSED (Results 1 – 25 of 73) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java17 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 && lBoundType == CLOSED), range.contains(i)); in testLowerRange()
113 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
134 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
136 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED)));
140 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
[all …]
DRangeTest.java19 import static com.google.common.collect.BoundType.CLOSED;
76 assertEquals(CLOSED, range.lowerBoundType()); in testClosed()
79 assertEquals(CLOSED, range.upperBoundType()); in testClosed()
101 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed()
112 assertEquals(CLOSED, range.lowerBoundType()); in testClosedOpen()
145 assertEquals(CLOSED, range.lowerBoundType()); in testSingleton()
148 assertEquals(CLOSED, range.upperBoundType()); in testSingleton()
161 assertEquals(CLOSED, range.lowerBoundType()); in testEmpty1()
180 assertEquals(CLOSED, range.upperBoundType()); in testEmpty2()
221 assertEquals(CLOSED, range.lowerBoundType()); in testAtLeast()
[all …]
DContiguousSetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
264 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, CLOSED)); in testRange()
266 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, CLOSED)); in testRange()
268 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, CLOSED)); in testRange()
270 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
282 ContiguousSet.create(Range.closed(1, 3), integers()).range(CLOSED, OPEN)); in testRange()
284 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(CLOSED, OPEN)); in testRange()
286 ContiguousSet.create(Range.open(0, 4), integers()).range(CLOSED, OPEN)); in testRange()
288 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(CLOSED, OPEN)); in testRange()
295 ContiguousSet.create(Range.<Integer>all(), integers()).range(CLOSED, OPEN)); in testRange_unboundedRange()
[all …]
DTreeMultisetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
346 assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size()); in testSubMultisetSize()
347 assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size()); in testSubMultisetSize()
348 assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size()); in testSubMultisetSize()
350 assertEquals(3, ms.tailMultiset("c", CLOSED).size()); in testSubMultisetSize()
351 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
352 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
DForwardingSortedMultisetTest.java17 import static com.google.common.collect.BoundType.CLOSED;
254 forward().headMultiset("abcd", CLOSED);
259 forward().subMultiset("abcd", CLOSED, "dcba", OPEN);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DGeneralRangeTest.java17 import static com.google.common.collect.BoundType.CLOSED;
61 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
70 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
79 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds()
87 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange()
98 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i)); in testLowerRange()
111 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
132 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
134 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED)));
138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
[all …]
DContiguousSetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
226 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, CLOSED)); in testRange()
228 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, CLOSED)); in testRange()
230 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, CLOSED)); in testRange()
232 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
244 ContiguousSet.create(Range.closed(1, 3), integers()).range(CLOSED, OPEN)); in testRange()
246 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(CLOSED, OPEN)); in testRange()
248 ContiguousSet.create(Range.open(0, 4), integers()).range(CLOSED, OPEN)); in testRange()
250 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(CLOSED, OPEN)); in testRange()
257 ContiguousSet.create(Range.<Integer>all(), integers()).range(CLOSED, OPEN)); in testRange_unboundedRange()
[all …]
DTreeMultisetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
266 assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size()); in testSubMultisetSize()
267 assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size()); in testSubMultisetSize()
268 assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size()); in testSubMultisetSize()
270 assertEquals(3, ms.tailMultiset("c", CLOSED).size()); in testSubMultisetSize()
271 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
272 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java17 import static com.google.common.collect.BoundType.CLOSED;
149 assertEquals(a, sortedMultiset.headMultiset(samples.e0, CLOSED).lastEntry()); in testSingletonMultisetNearby()
150 assertEquals(a, sortedMultiset.tailMultiset(samples.e0, CLOSED).firstEntry()); in testSingletonMultisetNearby()
197 assertEquals(a, sortedMultiset.headMultiset(a.getElement(), CLOSED).lastEntry()); in testFloor()
198 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), CLOSED).lastEntry()); in testFloor()
199 assertEquals(c, sortedMultiset.headMultiset(c.getElement(), CLOSED).lastEntry()); in testFloor()
206 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
207 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling()
294 expectAddFailure(sortedMultiset.tailMultiset(b.getElement(), CLOSED), a); in testAddOutOfTailBoundsSeveral() local
[all …]
/external/jmdns/src/javax/jmdns/impl/constants/
DDNSState.java61 CLOSED("closed", StateClass.closed); enumConstant
113 return CLOSED; in advance()
114 case CLOSED: in advance()
115 return CLOSED; in advance()
144 case CLOSED: in revert()
145 return CLOSED; in revert()
/external/guava/guava/src/com/google/common/collect/
DBoundType.java34 return CLOSED; in flip()
40 CLOSED { enumConstant
51 return inclusive ? CLOSED : OPEN; in forBoolean()
DSortedMultisets.java19 import static com.google.common.collect.BoundType.CLOSED;
65 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); in subSet()
73 return multiset().tailMultiset(fromElement, CLOSED).elementSet(); in tailSet()
101 return getElementOrNull(multiset().headMultiset(e, CLOSED).lastEntry()); in floor()
106 return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry()); in ceiling()
DCut.java247 return BoundType.CLOSED; in typeAsLowerBound()
254 case CLOSED: in withLowerBoundType()
265 case CLOSED: in withUpperBoundType()
311 return BoundType.CLOSED; in typeAsUpperBound()
317 case CLOSED: in withLowerBoundType()
329 case CLOSED: in withUpperBoundType()
DRegularImmutableSortedMultiset.java19 import static com.google.common.collect.BoundType.CLOSED;
87 return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED)); in headMultiset()
92 return getSubMultiset(elementSet.tailIndex(lowerBound, checkNotNull(boundType) == CLOSED), in tailMultiset()
DGeneralRange.java19 import static com.google.common.collect.BoundType.CLOSED;
212 upType = CLOSED; in intersect()
260 .append(lowerBoundType == CLOSED ? '[' : '(') in toString()
264 .append(upperBoundType == CLOSED ? ']' : ')') in toString()
DRegularContiguousSet.java19 import static com.google.common.collect.BoundType.CLOSED;
152 return range(CLOSED, CLOSED);
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEngineImpl.java41 import static javax.net.ssl.SSLEngineResult.Status.CLOSED;
91 new SSLEngineResult(CLOSED, NEED_UNWRAP, 0, 0);
94 new SSLEngineResult(CLOSED, NEED_WRAP, 0, 0);
96 new SSLEngineResult(CLOSED, NOT_HANDSHAKING, 0, 0);
146 CLOSED, enumConstant
338 case CLOSED: in beginHandshakeInternal()
375 engineState = EngineState.CLOSED; in beginHandshakeInternal()
384 if (engineState == EngineState.CLOSED) { in closeInbound()
388 engineState = EngineState.CLOSED; in closeInbound()
399 if (engineState == EngineState.CLOSED || engineState == EngineState.CLOSED_OUTBOUND) { in closeOutbound()
[all …]
/external/ppp/pppd/
Dfsm.c103 f->state = CLOSED;
132 case CLOSED:
181 case CLOSED:
231 f->state = nextstate == CLOSING ? CLOSED : STOPPED;
261 f->state = CLOSED;
293 f->state = (f->state == CLOSING)? CLOSED: STOPPED;
422 case CLOSED:
502 case CLOSED:
574 case CLOSED:
650 f->state = CLOSED;
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSortedMultisets.java19 import static com.google.common.collect.BoundType.CLOSED;
62 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); in subSet()
70 return multiset().tailMultiset(fromElement, CLOSED).elementSet(); in tailSet()
DRegularContiguousSet.java19 import static com.google.common.collect.BoundType.CLOSED;
133 return range(CLOSED, CLOSED); in range()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DWebSocketChannelClient.java60 NEW, CONNECTED, REGISTERED, CLOSED, ERROR enumConstant
146 case CLOSED: in send()
186 state = WebSocketConnectionState.CLOSED; in disconnect()
273 if (state != WebSocketConnectionState.CLOSED) { in onClose()
274 state = WebSocketConnectionState.CLOSED; in onClose()
/external/replicaisland/src/com/replica/replicaisland/
DDoorAnimationComponent.java25 public static final int CLOSED = 0; field in DoorAnimationComponent.Animation
111 mSprite.playAnimation(Animation.CLOSED); in close()
161 mSprite.playAnimation(Animation.CLOSED); in update()
/external/libvncserver/webclients/novnc/include/web-socket-js/
Dweb_socket.js104 this.readyState = WebSocket.CLOSED;
107 if (this.readyState == WebSocket.CLOSED || this.readyState == WebSocket.CLOSING) {
222 WebSocket.CLOSED = 3;
/external/syslinux/core/lwip/src/core/
Dtcp.c167 case CLOSED: in tcp_close_shutdown()
406 LWIP_ERROR("tcp_bind: can only bind in state CLOSED", pcb->state == CLOSED, return ERR_VAL); in tcp_bind()
488 LWIP_ERROR("tcp_listen: pcb already connected", pcb->state == CLOSED, return NULL); in tcp_listen_with_backlog()
656 …LWIP_ERROR("tcp_connect: can only connect from state CLOSED", pcb->state == CLOSED, return ERR_ISC… in tcp_connect()
770 LWIP_ASSERT("tcp_slowtmr: active pcb->state != CLOSED\n", pcb->state != CLOSED); in tcp_slowtmr()
1365 if (pcb->state != CLOSED && in tcp_pcb_purge()
1453 pcb->state = CLOSED; in tcp_pcb_remove()
1624 LWIP_ASSERT("tcp_pcbs_sane: active pcb->state != CLOSED", pcb->state != CLOSED); in tcp_pcbs_sane()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DPeerConnection.java52 NEW, CHECKING, CONNECTED, COMPLETED, FAILED, DISCONNECTED, CLOSED enumConstant
58 HAVE_REMOTE_PRANSWER, CLOSED enumConstant

123