Lines Matching refs:raise
296 pytime_fromtimespec(_PyTime_t *tp, struct timespec *ts, int raise) in pytime_fromtimespec() argument
305 if (raise) { in pytime_fromtimespec()
319 if (raise) { in pytime_fromtimespec()
342 pytime_fromtimeval(_PyTime_t *tp, struct timeval *tv, int raise) in pytime_fromtimeval() argument
351 if (raise) { in pytime_fromtimeval()
365 if (raise) { in pytime_fromtimeval()
578 _PyTime_round_t round, int raise) in _PyTime_AsTimevalStruct_impl() argument
595 if (raise) { in _PyTime_AsTimevalStruct_impl()
659 py_get_system_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise) in py_get_system_clock() argument
665 assert(info == NULL || raise); in py_get_system_clock()
700 assert(info == NULL || raise); in py_get_system_clock()
710 if (raise) { in py_get_system_clock()
715 if (pytime_fromtimespec(tp, &ts, raise) < 0) { in py_get_system_clock()
743 if (raise) { in py_get_system_clock()
748 if (pytime_fromtimeval(tp, &tv, raise) < 0) { in py_get_system_clock()
788 py_mach_timebase_info(_PyTime_t *pnumer, _PyTime_t *pdenom, int raise) in py_mach_timebase_info() argument
797 if (raise) { in py_mach_timebase_info()
822 if (raise) { in py_mach_timebase_info()
837 py_get_monotonic_clock(_PyTime_t *tp, _Py_clock_info_t *info, int raise) in py_get_monotonic_clock() argument
843 assert(info == NULL || raise); in py_get_monotonic_clock()
850 if (raise) { in py_get_monotonic_clock()
880 if (py_mach_timebase_info(&timebase_numer, &timebase_denom, raise) < 0) { in py_get_monotonic_clock()
900 if (raise) { in py_get_monotonic_clock()
925 assert(info == NULL || raise); in py_get_monotonic_clock()
928 if (raise) { in py_get_monotonic_clock()
946 if (pytime_fromtimespec(tp, &ts, raise) < 0) { in py_get_monotonic_clock()
974 win_perf_counter_frequency(LONGLONG *pfrequency, int raise) in win_perf_counter_frequency() argument
980 if (raise) { in win_perf_counter_frequency()
989 if (raise) { in win_perf_counter_frequency()
1011 if (raise) { in win_perf_counter_frequency()
1024 py_get_win_perf_counter(_PyTime_t *tp, _Py_clock_info_t *info, int raise) in py_get_win_perf_counter() argument
1028 if (win_perf_counter_frequency(&frequency, raise) < 0) { in py_get_win_perf_counter()