/external/guava/guava-tests/test/com/google/common/collect/ |
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 && 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 …]
|
D | RangeTest.java | 19 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 …]
|
D | ContiguousSetTest.java | 19 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 …]
|
D | TreeMultisetTest.java | 19 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()
|
D | ForwardingSortedMultisetTest.java | 17 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/ |
D | GeneralRangeTest.java | 17 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 …]
|
D | ContiguousSetTest.java | 19 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 …]
|
D | TreeMultisetTest.java | 19 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/ |
D | MultisetNavigationTester.java | 17 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/guava/guava/src/com/google/common/collect/ |
D | BoundType.java | 34 return CLOSED; in flip() 40 CLOSED { enumConstant 51 return inclusive ? CLOSED : OPEN; in forBoolean()
|
D | SortedMultisets.java | 19 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()
|
D | Cut.java | 247 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()
|
D | RegularImmutableSortedMultiset.java | 19 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()
|
D | GeneralRange.java | 19 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()
|
D | RegularContiguousSet.java | 19 import static com.google.common.collect.BoundType.CLOSED; 152 return range(CLOSED, CLOSED);
|
/external/ppp/pppd/ |
D | fsm.c | 103 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/ |
D | SortedMultisets.java | 19 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()
|
D | RegularContiguousSet.java | 19 import static com.google.common.collect.BoundType.CLOSED; 133 return range(CLOSED, CLOSED); in range()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | WebSocketChannelClient.java | 60 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/ |
D | DoorAnimationComponent.java | 25 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/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 431 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 440 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 447 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 456 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 477 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_Closed() 481 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_Closed()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 429 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 438 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 445 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 454 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_CloseOutbound() 475 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_Closed() 479 assertEquals(Status.CLOSED, res.getStatus()); in test_SSLEngine_Closed()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 43 import static javax.net.ssl.SSLEngineResult.Status.CLOSED; 106 new SSLEngineResult(CLOSED, NEED_UNWRAP, 0, 0); 109 new SSLEngineResult(CLOSED, NEED_WRAP, 0, 0); 111 new SSLEngineResult(CLOSED, NOT_HANDSHAKING, 0, 0); 761 return new SSLEngineResult(Status.CLOSED, getHandshakeStatusInternal(), 0, 0); 880 return new SSLEngineResult(Status.CLOSED, 1363 return CLOSED; 1424 return new SSLEngineResult(Status.CLOSED, getHandshakeStatusInternal(), 0, 0);
|
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
D | PeerConnection.java | 52 NEW, CHECKING, CONNECTED, COMPLETED, FAILED, DISCONNECTED, CLOSED enumConstant 58 HAVE_REMOTE_PRANSWER, CLOSED enumConstant
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | ConscryptEngine.java | 44 import static javax.net.ssl.SSLEngineResult.Status.CLOSED; 107 new SSLEngineResult(CLOSED, NEED_UNWRAP, 0, 0); 110 new SSLEngineResult(CLOSED, NEED_WRAP, 0, 0); 112 new SSLEngineResult(CLOSED, NOT_HANDSHAKING, 0, 0); 762 return new SSLEngineResult(Status.CLOSED, getHandshakeStatusInternal(), 0, 0); 881 return new SSLEngineResult(Status.CLOSED, 1364 return CLOSED; 1425 return new SSLEngineResult(Status.CLOSED, getHandshakeStatusInternal(), 0, 0);
|