Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddatetimemodule.c50 #define DATE_GET_SECOND PyDateTime_DATE_GET_SECOND macro
1382 DATE_GET_SECOND(dt)); in isoformat_time()
2924 ss = DATE_GET_SECOND(dt); in tzinfo_fromutc()
3636 return PyInt_FromLong(DATE_GET_SECOND(self)); in datetime_second()
4084 int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor; in add_datetime_timedelta()
4158 (DATE_GET_SECOND(left) - in datetime_subtract()
4159 DATE_GET_SECOND(right)); in datetime_subtract()
4197 DATE_GET_SECOND(self), in datetime_repr()
4200 else if (DATE_GET_SECOND(self)) { in datetime_repr()
4206 DATE_GET_SECOND(self)); in datetime_repr()
[all …]
/external/python/cpython3/Modules/
D_datetimemodule.c57 #define DATE_GET_SECOND PyDateTime_DATE_GET_SECOND macro
4544 return PyLong_FromLong(DATE_GET_SECOND(self)); in datetime_second()
5143 int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor; in add_datetime_timedelta()
5239 (DATE_GET_SECOND(left) - in datetime_subtract()
5240 DATE_GET_SECOND(right)); in datetime_subtract()
5280 DATE_GET_SECOND(self), in datetime_repr()
5283 else if (DATE_GET_SECOND(self)) { in datetime_repr()
5289 DATE_GET_SECOND(self)); in datetime_repr()
5362 DATE_GET_SECOND(self), us); in datetime_isoformat()
5384 DATE_GET_SECOND(self)); in datetime_ctime()
[all …]