Home
last modified time | relevance | path

Searched refs:GET_TD_DAYS (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c82 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days) macro
841 const int days = GET_TD_DAYS(u); in call_utc_tzinfo_method()
1508 x1 = PyInt_FromLong(GET_TD_DAYS(self)); in delta_to_microseconds()
1684 int days = GET_TD_DAYS(left) + GET_TD_DAYS(right); in delta_add()
1699 return new_delta(-GET_TD_DAYS(self), in delta_negative()
1711 return new_delta(GET_TD_DAYS(self), in delta_positive()
1725 if (GET_TD_DAYS(self) < 0) in delta_abs()
1743 int days = GET_TD_DAYS(left) - GET_TD_DAYS(right); in delta_subtract()
1765 diff = GET_TD_DAYS(self) - GET_TD_DAYS(other); in delta_richcompare()
2018 return (GET_TD_DAYS(self) != 0 in delta_nonzero()
[all …]