Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddatetimemodule.c84 #define GET_TD_MICROSECONDS(o) (((PyDateTime_Delta *)(o))->microseconds) macro
850 if (ss || GET_TD_MICROSECONDS(u)) { in call_utc_tzinfo_method()
1536 x2 = PyInt_FromLong(GET_TD_MICROSECONDS(self)); in delta_to_microseconds()
1688 int microseconds = GET_TD_MICROSECONDS(left) + in delta_add()
1689 GET_TD_MICROSECONDS(right); in delta_add()
1703 -GET_TD_MICROSECONDS(self), in delta_negative()
1715 GET_TD_MICROSECONDS(self), in delta_positive()
1724 assert(GET_TD_MICROSECONDS(self) >= 0); in delta_abs()
1747 int microseconds = GET_TD_MICROSECONDS(left) - in delta_subtract()
1748 GET_TD_MICROSECONDS(right); in delta_subtract()
[all …]
/external/python/cpython3/Modules/
D_datetimemodule.c95 #define GET_TD_MICROSECONDS(o) (((PyDateTime_Delta *)(o))->microseconds) macro
1382 microseconds = GET_TD_MICROSECONDS(offset); in format_utcoffset()
1776 x2 = PyLong_FromLong(GET_TD_MICROSECONDS(self)); in delta_to_microseconds()
2059 int microseconds = GET_TD_MICROSECONDS(left) + in delta_add()
2060 GET_TD_MICROSECONDS(right); in delta_add()
2074 -GET_TD_MICROSECONDS(self), in delta_negative()
2086 GET_TD_MICROSECONDS(self), in delta_positive()
2095 assert(GET_TD_MICROSECONDS(self) >= 0); in delta_abs()
2118 int microseconds = GET_TD_MICROSECONDS(left) - in delta_subtract()
2119 GET_TD_MICROSECONDS(right); in delta_subtract()
[all …]