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.c73 #define DATE_GET_SECOND PyDateTime_DATE_GET_SECOND macro
4782 return PyLong_FromLong(DATE_GET_SECOND(self)); in datetime_second()
5381 int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor; in add_datetime_timedelta()
5478 (DATE_GET_SECOND(left) - in datetime_subtract()
5479 DATE_GET_SECOND(right)); in datetime_subtract()
5519 DATE_GET_SECOND(self), in datetime_repr()
5522 else if (DATE_GET_SECOND(self)) { in datetime_repr()
5528 DATE_GET_SECOND(self)); in datetime_repr()
5601 DATE_GET_SECOND(self), us); in datetime_isoformat()
5623 DATE_GET_SECOND(self)); in datetime_ctime()
[all …]