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.c94 #define TIME_GET_HOUR PyDateTime_TIME_GET_HOUR macro
4102 return PyLong_FromLong(TIME_GET_HOUR(self)); in time_hour()
4288 int h = TIME_GET_HOUR(self); in time_repr()
4364 TIME_GET_HOUR(self), TIME_GET_MINUTE(self), in time_isoformat()
4399 TIME_GET_HOUR(self), in time_strftime()
4454 offsecs1 = TIME_GET_HOUR(self) * 3600 + in time_richcompare()
4459 offsecs2 = TIME_GET_HOUR(other) * 3600 + in time_richcompare()
4495 self0 = new_time_ex2(TIME_GET_HOUR(self), in time_hash()
4522 seconds = TIME_GET_HOUR(self) * 3600 + in time_hash()
4550 int hh = TIME_GET_HOUR(self); in time_replace()
[all …]