Lines Matching refs:time_t
64 time_t
72 Py_BUILD_ASSERT(sizeof(time_t) <= sizeof(long)); in _PyLong_AsTime_t()
81 return (time_t)val; in _PyLong_AsTime_t()
85 _PyLong_FromTime_t(time_t t) in _PyLong_FromTime_t()
90 Py_BUILD_ASSERT(sizeof(time_t) <= sizeof(long)); in _PyLong_FromTime_t()
132 _PyTime_DoubleToDenominator(double d, time_t *sec, long *numerator, in _PyTime_DoubleToDenominator()
154 if (!_Py_InIntegralTypeRange(time_t, intpart)) { in _PyTime_DoubleToDenominator()
158 *sec = (time_t)intpart; in _PyTime_DoubleToDenominator()
165 _PyTime_ObjectToDenominator(PyObject *obj, time_t *sec, long *numerator, in _PyTime_ObjectToDenominator()
183 if (*sec == (time_t)-1 && PyErr_Occurred()) { in _PyTime_ObjectToDenominator()
191 _PyTime_ObjectToTime_t(PyObject *obj, time_t *sec, _PyTime_round_t round) in _PyTime_ObjectToTime_t()
207 if (!_Py_InIntegralTypeRange(time_t, intpart)) { in _PyTime_ObjectToTime_t()
211 *sec = (time_t)intpart; in _PyTime_ObjectToTime_t()
216 if (*sec == (time_t)-1 && PyErr_Occurred()) { in _PyTime_ObjectToTime_t()
224 _PyTime_ObjectToTimespec(PyObject *obj, time_t *sec, long *nsec, in _PyTime_ObjectToTimespec()
231 _PyTime_ObjectToTimeval(PyObject *obj, time_t *sec, long *usec, in _PyTime_ObjectToTimeval()
610 _PyTime_AsTimevalTime_t(_PyTime_t t, time_t *p_secs, int *us, in _PyTime_AsTimevalTime_t()
640 ts->tv_sec = (time_t)secs; in _PyTime_AsTimespec()
1052 _PyTime_localtime(time_t t, struct tm *tm) in _PyTime_localtime()
1079 _PyTime_gmtime(time_t t, struct tm *tm) in _PyTime_gmtime()