Home
last modified time | relevance | path

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

12345

/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java17 import static com.google.common.collect.BoundType.CLOSED;
64 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
73 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
82 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); in testCreateSingletonRangeSucceeds()
90 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); in testSingletonRange()
101 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i)); in testLowerRange()
114 || (ORDERING.compare(i, 3) == 0 && lBoundType == CLOSED), range.contains(i));
135 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
137 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED)));
141 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
[all …]
DRangesTest.java19 import static com.google.common.collect.BoundType.CLOSED;
72 Ranges.downTo(1, CLOSED)) in testEquivalentFactories()
78 Ranges.upTo(7, CLOSED)) in testEquivalentFactories()
87 Ranges.range(1, OPEN, 7, CLOSED)) in testEquivalentFactories()
90 Ranges.range(1, CLOSED, 7, CLOSED)) in testEquivalentFactories()
93 Ranges.range(1, CLOSED, 7, OPEN)) in testEquivalentFactories()
DBstRangeOpsTest.java17 import static com.google.common.collect.BoundType.CLOSED;
80 if (type == BoundType.CLOSED) { in testCountInRangeUpperBound()
104 if (ub == BoundType.CLOSED) { in testCountInRangeBothBounds()
142 GeneralRange<Character> range1 = GeneralRange.downTo(Ordering.natural(), 'f', CLOSED); in testClearRangeLowerBound()
148 GeneralRange<Character> range3 = GeneralRange.downTo(Ordering.natural(), 'a', CLOSED); in testClearRangeLowerBound()
157 GeneralRange<Character> range6 = GeneralRange.downTo(Ordering.natural(), 'c', CLOSED); in testClearRangeLowerBound()
175 GeneralRange<Character> range1 = GeneralRange.upTo(Ordering.natural(), 'f', CLOSED); in testClearRangeUpperBound()
181 GeneralRange<Character> range3 = GeneralRange.upTo(Ordering.natural(), 'a', CLOSED); in testClearRangeUpperBound()
190 GeneralRange<Character> range6 = GeneralRange.upTo(Ordering.natural(), 'c', CLOSED); in testClearRangeUpperBound()
209 GeneralRange.range(Ordering.natural(), 'c', OPEN, 'f', CLOSED); in testClearRangeDoublyBounded()
[all …]
DContiguousSetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
233 Ranges.closed(1, 3).asSet(integers()).range(OPEN, CLOSED)); in testRange()
235 Ranges.closedOpen(1, 4).asSet(integers()).range(OPEN, CLOSED)); in testRange()
236 assertEquals(Ranges.openClosed(0, 3), Ranges.open(0, 4).asSet(integers()).range(OPEN, CLOSED)); in testRange()
238 Ranges.openClosed(0, 3).asSet(integers()).range(OPEN, CLOSED)); in testRange()
246 Ranges.closed(1, 3).asSet(integers()).range(CLOSED, OPEN)); in testRange()
248 Ranges.closedOpen(1, 4).asSet(integers()).range(CLOSED, OPEN)); in testRange()
249 assertEquals(Ranges.closedOpen(1, 4), Ranges.open(0, 4).asSet(integers()).range(CLOSED, OPEN)); in testRange()
251 Ranges.openClosed(0, 3).asSet(integers()).range(CLOSED, OPEN)); in testRange()
258 Ranges.<Integer>all().asSet(integers()).range(CLOSED, OPEN)); in testRange_unboundedRanges()
[all …]
DTreeMultisetTest.java19 import static com.google.common.collect.BoundType.CLOSED;
322 assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size()); in testSubMultisetSize()
323 assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size()); in testSubMultisetSize()
324 assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size()); in testSubMultisetSize()
326 assertEquals(3, ms.tailMultiset("c", CLOSED).size()); in testSubMultisetSize()
327 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
328 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
DRangeTest.java19 import static com.google.common.collect.BoundType.CLOSED;
73 assertEquals(CLOSED, range.lowerBoundType()); in testClosed()
76 assertEquals(CLOSED, range.upperBoundType()); in testClosed()
98 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed()
109 assertEquals(CLOSED, range.lowerBoundType()); in testClosedOpen()
142 assertEquals(CLOSED, range.lowerBoundType()); in testSingleton()
145 assertEquals(CLOSED, range.upperBoundType()); in testSingleton()
158 assertEquals(CLOSED, range.lowerBoundType()); in testEmpty1()
177 assertEquals(CLOSED, range.upperBoundType()); in testEmpty2()
218 assertEquals(CLOSED, range.lowerBoundType()); in testAtLeast()
[all …]
/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/chromium_org/components/web_modal/
Dweb_contents_modal_dialog_manager_unittest.cc25 CLOSED enumerator
66 tracker_->SetState(NativeManagerTracker::CLOSED); in Close()
263 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker1.state_); in TEST_F()
264 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker2.state_); in TEST_F()
314 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker1.state_); in TEST_F()
323 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker1.state_); in TEST_F()
325 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker3.state_); in TEST_F()
333 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker1.state_); in TEST_F()
334 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker2.state_); in TEST_F()
335 EXPECT_EQ(NativeManagerTracker::CLOSED, tracker3.state_); in TEST_F()
[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/chromium_org/third_party/WebKit/Source/modules/websockets/
DDOMWebSocket.cpp286 m_state = CLOSED; in connect()
291 m_state = CLOSED; in connect()
297 m_state = CLOSED; in connect()
302 m_state = CLOSED; in connect()
314 m_state = CLOSED; in connect()
324 m_state = CLOSED; in connect()
333 m_state = CLOSED; in connect()
345 m_state = CLOSED; in connect()
384 if (m_state == CLOSING || m_state == CLOSED) { in send()
402 if (m_state == CLOSING || m_state == CLOSED) { in send()
[all …]
DDOMWebSocketTest.cpp145 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
156 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
167 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
178 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
198 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
238 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
300 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
468 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
472 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
533 EXPECT_EQ(DOMWebSocket::CLOSED, m_websocket->readyState()); in TEST_F()
[all …]
/external/chromium_org/google_apis/gcm/base/
Dsocket_stream.cc75 DCHECK_NE(GetState(), CLOSED); in ByteCount()
81 DCHECK_NE(GetState(), CLOSED); in UnreadByteCount()
88 DCHECK_NE(GetState(), CLOSED); in Refresh()
125 DCHECK_NE(GetState(), CLOSED); in RebuildBuffer()
151 return CLOSED; in GetState()
167 if (GetState() == CLOSED) in RefreshCompletionCallback()
228 DCHECK_NE(GetState(), CLOSED); in Next()
249 DCHECK_NE(GetState(), CLOSED); in ByteCount()
282 return CLOSED; in GetState()
302 if (GetState() == CLOSED) in FlushCompletionCallback()
/external/chromium_org/ppapi/shared_impl/
Dppb_tcp_socket_shared.cc33 state_ = success ? CONNECTED : CLOSED; in CompletePendingTransition()
36 state_ = success ? SSL_CONNECTED : CLOSED; in CompletePendingTransition()
43 state_ = CLOSED; in CompletePendingTransition()
85 return state_ != INITIAL && state_ != CLOSED; in IsBound()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventSource.cpp110 ASSERT(m_state == CLOSED); in ~EventSource()
164 if (m_state != CLOSED) in networkRequestEnded()
197 if (m_state == CLOSED) { in close()
210 m_state = CLOSED; in close()
293 ASSERT(m_state != CLOSED); in didFail()
297 m_state = CLOSED; in didFail()
321 m_state = CLOSED; in abortConnectionAttempt()
324 ASSERT(m_state == CLOSED); in abortConnectionAttempt()
363 if (m_state == CLOSED) in parseEventStream()
429 return m_state != CLOSED; in hasPendingActivity()
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
DWorkgroupQueue.java33 private Status status = Status.CLOSED;
186 public static final Status CLOSED = new Status("closed"); field in WorkgroupQueue.Status
206 else if (CLOSED.toString().equals(type)) { in fromString()
207 return CLOSED; in fromString()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLEngineImpl.java87 CLOSED, enumConstant
134 if (engineState == EngineState.CLOSED || engineState == EngineState.CLOSED_OUTBOUND in beginHandshake()
181 engineState = EngineState.CLOSED; in beginHandshake()
191 if (engineState == EngineState.CLOSED) { in closeInbound()
195 engineState = EngineState.CLOSED; in closeInbound()
206 if (engineState == EngineState.CLOSED || engineState == EngineState.CLOSED_OUTBOUND) { in closeOutbound()
213 engineState = EngineState.CLOSED; in closeOutbound()
268 case CLOSED: in getHandshakeStatus()
318 return engineState == EngineState.CLOSED in isInboundDone()
330 return engineState == EngineState.CLOSED in isOutboundDone()
[all …]
/external/chromium_org/net/websockets/
Dwebsocket_job.cc84 DCHECK_EQ(CLOSED, state_); in ~WebSocketJob()
118 case CLOSED: in SendData()
125 if (state_ == CLOSED) in Close()
133 state_ = CLOSED; in Close()
143 state_ = CLOSED; in DetachDelegate()
187 if (state_ == CLOSED) in OnConnected()
197 if (state_ == CLOSED) in OnSentData()
232 if (state_ == CLOSED) in OnReceivedData()
244 state_ = CLOSED; in OnClose()
284 if (state_ == CLOSED) { in OnCreatedSpdyStream()
[all …]
Dwebsocket_channel.cc350 return state_ == SEND_CLOSED || state_ == CLOSE_WAIT || state_ == CLOSED; in InClosingState()
477 SetState(CLOSED); in StartClosingHandshake()
581 SetState(CLOSED); in OnConnectFailure()
685 SetState(CLOSED); in OnWriteDone()
705 DCHECK_NE(CLOSED, state_); in ReadFrames()
729 DCHECK_NE(CLOSED, state_); in OnReadDone()
747 SetState(CLOSED); in OnReadDone()
800 DCHECK_NE(CLOSED, state_); in HandleFrameByState()
994 DCHECK_NE(CLOSED, state_); in FailChannel()
1006 SetState(CLOSED); in FailChannel()
[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/src/com/google/common/collect/
DBoundType.java38 CLOSED; enumConstant
44 return inclusive ? CLOSED : OPEN; in forBoolean()
DCut.java241 return BoundType.CLOSED; in typeAsLowerBound()
248 case CLOSED: in withLowerBoundType()
259 case CLOSED: in withUpperBoundType()
302 return BoundType.CLOSED; in typeAsUpperBound()
308 case CLOSED: in withLowerBoundType()
320 case CLOSED: in withUpperBoundType()
/external/chromium_org/ash/wm/
Dimmersive_fullscreen_controller.cc245 reveal_state_(CLOSED), in ImmersiveFullscreenController()
315 reveal_state_ = CLOSED; in SetEnabled()
332 return enabled_ && reveal_state_ != CLOSED; in IsRevealed()
572 DCHECK(reveal_state_ == SLIDING_CLOSED || reveal_state_ == CLOSED); in UpdateTopEdgeHoverTimer()
632 if (reveal_state_ == CLOSED || reveal_state_ == SLIDING_CLOSED) in UpdateLocatedEventRevealedLock()
756 if (reveal_state_ == SLIDING_CLOSED || reveal_state_ == CLOSED) { in UpdateRevealedLocksForSwipe()
768 if (reveal_state_ == SLIDING_CLOSED || reveal_state_ == CLOSED) { in UpdateRevealedLocksForSwipe()
810 if (previous_reveal_state == CLOSED) { in MaybeStartReveal()
847 if (reveal_state_ == CLOSED || in MaybeEndReveal()
865 reveal_state_ = CLOSED; in OnSlideClosedAnimationCompleted()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLEngineImplTest.java457 SSLEngineResult.Status.CLOSED); in testCloseOutbound()
479 SSLEngineResult.Status.CLOSED); in testCloseInbound()
540 SSLEngineResult.Status.CLOSED, in testCloseInbound2()
634 SSLEngineResult.Status.CLOSED, in testErrorProcessing()
651 SSLEngineResult.Status.CLOSED, in testErrorProcessing()
1167 SSLEngineResult.Status.CLOSED, in doClose()
1180 SSLEngineResult.Status.CLOSED, in doClose()
1217 SSLEngineResult.Status.CLOSED, in doClose()
1242 SSLEngineResult.Status.CLOSED, in doClose()
1262 SSLEngineResult.Status.CLOSED, in doClose()
[all …]
/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/chromium_org/ppapi/proxy/
Daudio_input_resource.cc96 if (open_state_ == CLOSED || (open_state_ == BEFORE_OPEN && in StartCapture()
116 if (open_state_ == CLOSED) in StopCapture()
137 if (open_state_ == CLOSED) in Close()
140 open_state_ = CLOSED; in Close()

12345