Lines Matching defs:raise_exc
459 pytime_fromtimespec(_PyTime_t *tp, struct timespec *ts, int raise_exc)
474 if (raise_exc && (res1 < 0 || res2 < 0)) {
491 pytime_fromtimeval(_PyTime_t *tp, struct timeval *tv, int raise_exc)
504 if (raise_exc && (res1 < 0 || res2 < 0)) {
770 _PyTime_round_t round, int raise_exc)
787 if (raise_exc && (res < 0 || res2 < 0)) {
829 pytime_as_timespec(_PyTime_t t, struct timespec *ts, int raise_exc)
841 if (raise_exc && (res < 0 || res2 < 0)) {
863 py_get_system_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc)
865 assert(info == NULL || raise_exc);
913 if (raise_exc) {
918 if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
947 if (raise_exc) {
952 if (pytime_fromtimeval(tp, &tv, raise_exc) < 0) {
1046 py_get_monotonic_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc)
1048 assert(info == NULL || raise_exc);
1067 if (raise_exc && res < 0) {
1091 if (py_mach_timebase_info(&timebase_numer, &timebase_denom, raise_exc) < 0) {
1116 if (raise_exc) {
1143 if (raise_exc) {
1150 if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
1228 py_get_win_perf_counter(_PyTime_t *tp, _Py_clock_info_t *info, int raise_exc)
1230 assert(info == NULL || raise_exc);
1234 if (py_win_perf_counter_frequency(&frequency, raise_exc) < 0) {