Home
last modified time | relevance | path

Searched refs:raise_exc (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Python/
H A Dpytime.c459 pytime_fromtimespec(_PyTime_t *tp, struct timespec *ts, int raise_exc) in pytime_fromtimespec() argument
474 if (raise_exc && (res1 < 0 || res2 < 0)) { in pytime_fromtimespec()
491 pytime_fromtimeval(_PyTime_t *tp, struct timeval *tv, int raise_exc) in pytime_fromtimeval() argument
504 if (raise_exc && (res1 < 0 || res2 < 0)) { in pytime_fromtimeval()
770 _PyTime_round_t round, int raise_exc) in pytime_as_timeval_struct()
787 if (raise_exc && (res < 0 || res2 < 0)) { in pytime_as_timeval_struct()
829 pytime_as_timespec(_PyTime_t t, struct timespec *ts, int raise_exc) in pytime_as_timespec() argument
841 if (raise_exc && (res < 0 || res2 < 0)) { in pytime_as_timespec()
863 py_get_system_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc) in py_get_system_clock() argument
865 assert(info == NULL || raise_exc); in py_get_system_clock()
769 pytime_as_timeval_struct(_PyTime_t t, struct timeval *tv, _PyTime_round_t round, int raise_exc) pytime_as_timeval_struct() argument
1046 py_get_monotonic_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc) py_get_monotonic_clock() argument
1228 py_get_win_perf_counter(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc) py_get_win_perf_counter() argument
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_futures2.py16 async def raise_exc(): function
19 future = self.cls(raise_exc())
H A Dtest_taskgroups.py756 async def raise_exc(): function
771 tg.create_task(raise_exc())
/third_party/python/Lib/test/
H A Dtest_contextlib.py781 def raise_exc(exc): function
786 stack.callback(raise_exc, ValueError)
797 ('raise_exc', 'raise exc')]
857 def raise_exc(exc): function
868 stack.callback(raise_exc, IndexError)
869 stack.callback(raise_exc, KeyError)
870 stack.callback(raise_exc, AttributeError)
872 stack.callback(raise_exc, ValueError)
922 def raise_exc(exc): function
931 stack.callback(raise_exc, IndexErro
[all...]
H A Dtest_contextlib_async.py682 async def raise_exc(exc): function
693 stack.push_async_callback(raise_exc, IndexError)
694 stack.push_async_callback(raise_exc, KeyError)
695 stack.push_async_callback(raise_exc, AttributeError)
697 stack.push_async_callback(raise_exc, ValueError)
H A Dtest_abc.py453 def raise_exc(): function
457 __subclasses__ = raise_exc
H A Dtest_traceback.py2535 def raise_exc(): function
2543 raise_exc()

Completed in 13 milliseconds