Lines Matching refs:GET_TD_SECONDS
94 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds) macro
1088 if ((GET_TD_DAYS(offset) == -1 && GET_TD_SECONDS(offset) == 0) || in new_timezone()
1158 if ((GET_TD_DAYS(offset) == -1 && GET_TD_SECONDS(offset) == 0) || in call_tzinfo_method()
1383 seconds = GET_TD_SECONDS(offset); in format_utcoffset()
1758 x1 = PyLong_FromLong(GET_TD_SECONDS(self)); /* seconds */ in delta_to_microseconds()
2058 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); in delta_add()
2073 -GET_TD_SECONDS(self), in delta_negative()
2085 GET_TD_SECONDS(self), in delta_positive()
2096 assert(GET_TD_SECONDS(self) >= 0); in delta_abs()
2117 int seconds = GET_TD_SECONDS(left) - GET_TD_SECONDS(right); in delta_subtract()
2133 diff = GET_TD_SECONDS(self) - GET_TD_SECONDS(other); in delta_cmp()
2520 || GET_TD_SECONDS(self) != 0 in delta_bool()
2543 if (GET_TD_SECONDS(self) != 0) { in delta_repr()
2545 GET_TD_SECONDS(self))); in delta_repr()
2577 int seconds = GET_TD_SECONDS(self); in delta_str()
2609 GET_TD_SECONDS(self), in delta_getstate()
3707 GET_TD_SECONDS(self->offset) == 0 && in timezone_str()
3724 seconds = GET_TD_SECONDS(offset); in timezone_str()
4223 GET_TD_SECONDS(offset1); in time_richcompare()
4228 GET_TD_SECONDS(offset2); in time_richcompare()
5143 int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor; in add_datetime_timedelta()
5519 diff = GET_TD_SECONDS(delta) | in datetime_richcompare()