Home
last modified time | relevance | path

Searched refs:CANCELLED_AND_NOTIFIED (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/concurrent/futures/
D_base.py22 CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED' variable
29 CANCELLED_AND_NOTIFIED,
37 CANCELLED_AND_NOTIFIED: "cancelled",
159 f._state not in [CANCELLED_AND_NOTIFIED, FINISHED] for f in fs)
222 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED])
286 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED])
358 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
370 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
380 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
400 if self._state not in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]:
[all …]
/external/python/futures/concurrent/futures/
D_base.py24 CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED' variable
31 CANCELLED_AND_NOTIFIED,
39 CANCELLED_AND_NOTIFIED: "cancelled",
161 f._state not in [CANCELLED_AND_NOTIFIED, FINISHED] for f in fs)
224 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED])
292 if f._state in [CANCELLED_AND_NOTIFIED, FINISHED])
381 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
393 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
403 return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
430 if self._state not in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]:
[all …]
/external/python/futures/
Dtest_futures.py17 PENDING, RUNNING, CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED, Future)
117 CANCELLED_AND_NOTIFIED_FUTURE = create_future(state=CANCELLED_AND_NOTIFIED)
649 f4 = create_future(state=CANCELLED_AND_NOTIFIED)
663 self.assertEqual(f4._state, CANCELLED_AND_NOTIFIED)
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py25 PENDING, RUNNING, CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED, Future,
42 CANCELLED_AND_NOTIFIED_FUTURE = create_future(state=CANCELLED_AND_NOTIFIED)
619 futures_list.append(create_future(state=CANCELLED_AND_NOTIFIED))
1094 f4 = create_future(state=CANCELLED_AND_NOTIFIED)
1108 self.assertEqual(f4._state, CANCELLED_AND_NOTIFIED)