Searched refs:CancelledError (Results 1 – 25 of 43) sorted by relevance
12
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | statusor_test.cc | 374 absl::StatusOr<int> thing(absl::CancelledError()); in TEST() 375 EXPECT_DEATH_OR_THROW(thing.value(), absl::CancelledError()); in TEST() 389 absl::StatusOr<int*> thing(absl::CancelledError()); in TEST() 390 EXPECT_DEATH_OR_THROW(thing.value(), absl::CancelledError()); in TEST() 394 const absl::StatusOr<int*> thing(absl::CancelledError()); in TEST() 395 EXPECT_DEATH_OR_THROW(thing.value(), absl::CancelledError()); in TEST() 444 const absl::Status kError = absl::CancelledError("message"); in TEST() 450 absl::StatusOr<int> thing(absl::CancelledError()); in TEST() 525 absl::StatusOr<int> original(absl::CancelledError()); in TEST() 548 absl::StatusOr<int> original(absl::CancelledError()); in TEST() [all …]
|
D | status.h | 597 friend Status CancelledError(); 728 Status CancelledError(absl::string_view message); 876 inline Status CancelledError() { return Status(absl::StatusCode::kCancelled); } in CancelledError() function
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_tasks.py | 133 with self.assertRaises(asyncio.CancelledError): 144 with self.assertRaises(asyncio.CancelledError): 411 self.assertRaises(asyncio.CancelledError, 645 with self.assertRaises(asyncio.CancelledError): 676 with self.assertRaises(asyncio.CancelledError) as cm: 683 (asyncio.CancelledError, expected_args, 2)) 710 with self.assertRaises(asyncio.CancelledError) as cm: 717 (asyncio.CancelledError, expected_args, 2)) 734 with self.assertRaises(asyncio.CancelledError) as cm: 741 (asyncio.CancelledError, ('my message',), 2)) [all …]
|
D | test_server.py | 56 with self.assertRaises(asyncio.CancelledError): 109 with self.assertRaises(asyncio.CancelledError):
|
D | test_runners.py | 127 except asyncio.CancelledError: 165 except asyncio.CancelledError:
|
D | test_queues.py | 367 except asyncio.CancelledError: 398 except asyncio.CancelledError: 428 except asyncio.CancelledError: 547 with self.assertRaises(asyncio.CancelledError): 575 with self.assertRaises(asyncio.CancelledError):
|
D | test_asyncio_waitfor.py | 26 except asyncio.CancelledError:
|
D | test_locks.py | 150 with self.assertRaises(asyncio.CancelledError): 231 with self.assertRaises(asyncio.CancelledError): 357 with self.assertRaises(asyncio.CancelledError): 471 with self.assertRaises(asyncio.CancelledError): 495 except asyncio.CancelledError: 881 with self.assertRaises(asyncio.CancelledError):
|
D | test_windows_events.py | 157 with self.assertRaises(asyncio.CancelledError): 203 with self.assertRaises(asyncio.CancelledError):
|
D | test_subprocess.py | 415 except asyncio.CancelledError: 436 except asyncio.CancelledError: 454 except asyncio.CancelledError:
|
D | test_futures.py | 227 with self.assertRaises(asyncio.CancelledError): 238 with self.assertRaises(asyncio.CancelledError): 247 self.assertRaises(asyncio.CancelledError, f.result) 248 self.assertRaises(asyncio.CancelledError, f.exception)
|
/third_party/python/Lib/asyncio/ |
D | futures.py | 136 exc = exceptions.CancelledError() 138 exc = exceptions.CancelledError(self._cancel_message) 317 if exc_class is concurrent.futures.CancelledError: 318 return exceptions.CancelledError(*exc.args)
|
D | tasks.py | 220 if not isinstance(exc, exceptions.CancelledError): 242 except exceptions.CancelledError as exc: 419 except exceptions.CancelledError as exc: 433 except exceptions.CancelledError: 457 except exceptions.CancelledError as exc: 751 res = exceptions.CancelledError(
|
D | locks.py | 116 except exceptions.CancelledError: 280 except exceptions.CancelledError: 284 raise exceptions.CancelledError
|
D | exceptions.py | 9 class CancelledError(BaseException): class
|
D | proactor_events.py | 312 except exceptions.CancelledError: 572 except exceptions.CancelledError: 780 except exceptions.CancelledError: 848 except exceptions.CancelledError:
|
/third_party/python/Lib/concurrent/futures/ |
D | _base.py | 49 class CancelledError(Error): class 437 raise CancelledError() 444 raise CancelledError() 473 raise CancelledError() 480 raise CancelledError()
|
D | __init__.py | 11 CancelledError,
|
/third_party/python/Doc/library/ |
D | asyncio-exceptions.rst | 23 .. exception:: CancelledError 33 :exc:`CancelledError` is now a subclass of :class:`BaseException`.
|
D | asyncio-task.rst | 366 treated as if it raised :exc:`CancelledError` -- the ``gather()`` 462 still raises a :exc:`CancelledError`. 473 except CancelledError: 842 will cause the Task to throw a :exc:`CancelledError` exception into 848 suppress the :exc:`CancelledError` exception and was actually 876 This arranges for a :exc:`CancelledError` exception to be thrown 881 ... ``except CancelledError`` ... :keyword:`finally` block. 901 except asyncio.CancelledError: 917 except asyncio.CancelledError: 935 :exc:`CancelledError` exception thrown into it. [all …]
|
D | asyncio-api-index.rst | 211 * - :exc:`asyncio.CancelledError` 217 * :ref:`Handling CancelledError to run code on cancellation request
|
/third_party/python/Lib/unittest/test/ |
D | test_async_case.py | 267 raise asyncio.CancelledError() 289 except asyncio.CancelledError:
|
/third_party/python/Lib/unittest/ |
D | async_case.py | 106 except (BaseException, asyncio.CancelledError) as ex:
|
/third_party/python/Lib/test/ |
D | test_asyncgen.py | 1255 with self.assertRaises(asyncio.CancelledError): 1348 except asyncio.CancelledError: 1354 with self.assertRaises(asyncio.CancelledError): 1455 with self.assertRaises(asyncio.CancelledError): 1457 with self.assertRaises(asyncio.CancelledError):
|
D | test_concurrent_futures.py | 1446 self.assertRaises(futures.CancelledError, 1448 self.assertRaises(futures.CancelledError, 1478 self.assertRaises(futures.CancelledError, 1487 self.assertRaises(futures.CancelledError, 1489 self.assertRaises(futures.CancelledError,
|
12