Lines Matching defs:round

3823 check_time_rounding(int round)
3825 if (round != _PyTime_ROUND_FLOOR
3826 && round != _PyTime_ROUND_CEILING
3827 && round != _PyTime_ROUND_HALF_EVEN
3828 && round != _PyTime_ROUND_UP) {
3840 int round;
3841 if (!PyArg_ParseTuple(args, "Oi:pytime_object_to_time_t", &obj, &round))
3843 if (check_time_rounding(round) < 0)
3845 if (_PyTime_ObjectToTime_t(obj, &sec, round) == -1)
3856 int round;
3857 if (!PyArg_ParseTuple(args, "Oi:pytime_object_to_timeval", &obj, &round))
3859 if (check_time_rounding(round) < 0)
3861 if (_PyTime_ObjectToTimeval(obj, &sec, &usec, round) == -1)
3872 int round;
3873 if (!PyArg_ParseTuple(args, "Oi:pytime_object_to_timespec", &obj, &round))
3875 if (check_time_rounding(round) < 0)
3877 if (_PyTime_ObjectToTimespec(obj, &sec, &nsec, round) == -1)
4815 int round;
4816 if (!PyArg_ParseTuple(args, "Oi", &obj, &round)) {
4819 if (check_time_rounding(round) < 0) {
4823 if (_PyTime_FromSecondsObject(&ts, obj, round) == -1) {
4848 int round;
4849 if (!PyArg_ParseTuple(args, "Oi", &obj, &round)) {
4852 if (check_time_rounding(round) < 0) {
4860 if (_PyTime_AsTimeval(t, &tv, round) < 0) {
4875 int round;
4876 if (!PyArg_ParseTuple(args, "Oi", &obj, &round)) {
4879 if (check_time_rounding(round) < 0) {
4887 _PyTime_AsTimeval_clamp(t, &tv, round);
4936 int round;
4937 if (!PyArg_ParseTuple(args, "Oi", &obj, &round)) {
4944 if (check_time_rounding(round) < 0) {
4947 _PyTime_t ms = _PyTime_AsMilliseconds(t, round);
4956 int round;
4957 if (!PyArg_ParseTuple(args, "Oi", &obj, &round)) {
4964 if (check_time_rounding(round) < 0) {
4967 _PyTime_t us = _PyTime_AsMicroseconds(t, round);