Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddatetimemodule.c69 #define TIME_GET_HOUR PyDateTime_TIME_GET_HOUR macro
3099 return PyInt_FromLong(TIME_GET_HOUR(self)); in time_hour()
3248 int h = TIME_GET_HOUR(self); in time_repr()
3323 TIME_GET_HOUR(self), in time_strftime()
3379 offset1 = TIME_GET_HOUR(self) * 3600 + in time_richcompare()
3382 offset2 = TIME_GET_HOUR(other) * 3600 + in time_richcompare()
3422 hour = divmod(TIME_GET_HOUR(self) * 60 + in time_hash()
3450 int hh = TIME_GET_HOUR(self); in time_replace()
3486 return (TIME_GET_MINUTE(self) - offset + TIME_GET_HOUR(self)*60) != 0; in time_nonzero()
4020 TIME_GET_HOUR(time), in datetime_combine()
/external/python/cpython3/Modules/
D_datetimemodule.c78 #define TIME_GET_HOUR PyDateTime_TIME_GET_HOUR macro
3867 return PyLong_FromLong(TIME_GET_HOUR(self)); in time_hour()
4053 int h = TIME_GET_HOUR(self); in time_repr()
4129 TIME_GET_HOUR(self), TIME_GET_MINUTE(self), in time_isoformat()
4164 TIME_GET_HOUR(self), in time_strftime()
4219 offsecs1 = TIME_GET_HOUR(self) * 3600 + in time_richcompare()
4224 offsecs2 = TIME_GET_HOUR(other) * 3600 + in time_richcompare()
4260 self0 = new_time_ex2(TIME_GET_HOUR(self), in time_hash()
4287 seconds = TIME_GET_HOUR(self) * 3600 + in time_hash()
4315 int hh = TIME_GET_HOUR(self); in time_replace()
[all …]