Lines Matching defs:second

491                         "second must be in 0..59");
642 int *hour, int *minute, int *second,
645 normalize_pair(second, microsecond, 1000000);
646 normalize_pair(minute, second, 60);
810 int *minute, int *second, int *microsecond)
812 *hour = *minute = *second = *microsecond = 0;
815 int *vals[3] = {hour, minute, second};
876 int *second, int *microsecond, int *tzoffset,
898 int rv = parse_hh_mm_ss_ff(dtstr, tzinfo_pos, hour, minute, second,
989 int second, int usecond, PyObject *tzinfo, int fold, PyTypeObject *type)
997 if (check_time_args(hour, minute, second, usecond, fold) < 0) {
1010 DATE_SET_SECOND(self, second);
1023 int second, int usecond, PyObject *tzinfo, PyTypeObject *type)
1025 return new_datetime_ex2(year, month, day, hour, minute, second, usecond,
1035 int second, int usecond, PyObject *tzinfo,
1040 dt = new_datetime(year, month, day, hour, minute, second, usecond,
1050 second,
1060 int second, int usecond, PyObject *tzinfo,
1063 second, usecond, tzinfo, 0,
1069 new_time_ex2(int hour, int minute, int second, int usecond,
1075 if (check_time_args(hour, minute, second, usecond, fold) < 0) {
1088 TIME_SET_SECOND(self, second);
1100 new_time_ex(int hour, int minute, int second, int usecond,
1103 return new_time_ex2(hour, minute, second, usecond, tzinfo, 0, type);
2516 PyObject *second = NULL;
2534 &day, &second, &us,
2556 if (second) {
2557 y = accum("seconds", x, second, us_per_second, &leftover_us);
2751 PyDoc_STR("Number of microseconds (>= 0 and less than 1 second).")},
4191 {"second", (getter)py_time_second},
4202 static char *time_kws[] = {"hour", "minute", "second", "microsecond",
4244 int second = 0;
4289 &hour, &minute, &second, &usecond,
4291 self = new_time_ex2(hour, minute, second, usecond, tzinfo, fold,
4651 int hour = 0, minute = 0, second = 0, microsecond = 0;
4654 &hour, &minute, &second, &microsecond,
4670 t = new_time(hour, minute, second, microsecond, tzinfo, 0);
4673 hour, minute, second, microsecond, tzinfo);
4770 PyDoc_STR("time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object\n\
4866 {"second", (getter)datetime_second},
4878 "year", "month", "day", "hour", "minute", "second",
4924 int second = 0;
4970 &second, &usecond, &tzinfo, &fold)) {
4972 hour, minute, second, usecond,
4990 int hour, int minute, int second)
5001 return ((ordinal * 24 + hour) * 60 + minute) * 60 + second;
5035 int year, month, day, hour, minute, second, fold = 0;
5051 second = Py_MIN(59, tm.tm_sec);
5073 hour, minute, second);
5092 second, us, tzinfo, fold, cls);
5469 int hour = 0, minute = 0, second = 0, microsecond = 0;
5496 rv = parse_isoformat_time(p, len, &hour, &minute, &second,
5509 second, microsecond, tzinfo, cls);
5576 int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor;
5582 &hour, &minute, &second, &microsecond) < 0) {
5587 hour, minute, second, microsecond,
6177 int hour, int minute, int second, int fold);
6329 int hour, int minute, int second, int fold)
6332 t = utc_to_seconds(year, month, day, hour, minute, second);
6611 PyDoc_STR("datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])\n\