Searched refs:PyDateTime_Time (Results 1 – 3 of 3) sorted by relevance
86 } PyDateTime_Time; /* hastzinfo true */ typedef139 #define PyDateTime_TIME_GET_HOUR(o) (((PyDateTime_Time*)o)->data[0])140 #define PyDateTime_TIME_GET_MINUTE(o) (((PyDateTime_Time*)o)->data[1])141 #define PyDateTime_TIME_GET_SECOND(o) (((PyDateTime_Time*)o)->data[2])143 ((((PyDateTime_Time*)o)->data[3] << 16) | \144 (((PyDateTime_Time*)o)->data[4] << 8) | \145 ((PyDateTime_Time*)o)->data[5])146 #define PyDateTime_TIME_GET_FOLD(o) (((PyDateTime_Time*)o)->fold)148 ((PyDateTime_Time *)(o))->tzinfo : Py_None)
200 :c:data:`PyDateTime_Time`, including subclasses. The argument must not be ``NULL``,203 .. c:function:: int PyDateTime_TIME_GET_HOUR(PyDateTime_Time *o)208 .. c:function:: int PyDateTime_TIME_GET_MINUTE(PyDateTime_Time *o)213 .. c:function:: int PyDateTime_TIME_GET_SECOND(PyDateTime_Time *o)218 .. c:function:: int PyDateTime_TIME_GET_MICROSECOND(PyDateTime_Time *o)222 .. c:function:: PyObject* PyDateTime_TIME_GET_TZINFO(PyDateTime_Time *o)
638 size_t size = aware ? sizeof(PyDateTime_Time) : sizeof(_PyDateTime_BaseTime); in time_alloc()975 PyDateTime_Time *self; in new_time_ex2()985 self = (PyDateTime_Time *) (type->tp_alloc(type, aware)); in new_time_ex2()1141 tzinfo = ((PyDateTime_Time *)self)->tzinfo; in get_tzinfo_member()4091 time_hour(PyDateTime_Time *self, void *unused) in time_hour()4097 time_minute(PyDateTime_Time *self, void *unused) in time_minute()4104 py_time_second(PyDateTime_Time *self, void *unused) in py_time_second()4110 time_microsecond(PyDateTime_Time *self, void *unused) in time_microsecond()4116 time_tzinfo(PyDateTime_Time *self, void *unused) in time_tzinfo()4124 time_fold(PyDateTime_Time *self, void *unused) in time_fold()[all …]