Searched refs:PyDateTime_Time (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Include/ |
D | datetime.h | 86 } PyDateTime_Time; /* hastzinfo true */ typedef 139 #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)
|
/external/python/cpython2/Include/ |
D | datetime.h | 85 } PyDateTime_Time; /* hastzinfo true */ typedef 130 #define PyDateTime_TIME_GET_HOUR(o) (((PyDateTime_Time*)o)->data[0]) 131 #define PyDateTime_TIME_GET_MINUTE(o) (((PyDateTime_Time*)o)->data[1]) 132 #define PyDateTime_TIME_GET_SECOND(o) (((PyDateTime_Time*)o)->data[2]) 134 ((((PyDateTime_Time*)o)->data[3] << 16) | \ 135 (((PyDateTime_Time*)o)->data[4] << 8) | \ 136 ((PyDateTime_Time*)o)->data[5])
|
/external/python/cpython2/Doc/c-api/ |
D | datetime.rst | 192 :c:data:`PyDateTime_Time`, including subclasses. The argument must not be *NULL*, 196 .. c:function:: int PyDateTime_TIME_GET_HOUR(PyDateTime_Time *o) 203 .. c:function:: int PyDateTime_TIME_GET_MINUTE(PyDateTime_Time *o) 210 .. c:function:: int PyDateTime_TIME_GET_SECOND(PyDateTime_Time *o) 217 .. c:function:: int PyDateTime_TIME_GET_MICROSECOND(PyDateTime_Time *o)
|
/external/python/cpython3/Doc/c-api/ |
D | datetime.rst | 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)
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 612 sizeof(PyDateTime_Time) : in time_alloc() 702 PyDateTime_Time *self; in new_time_ex() 705 self = (PyDateTime_Time *) (type->tp_alloc(type, aware)); in new_time_ex() 807 tzinfo = ((PyDateTime_Time *)self)->tzinfo; in get_tzinfo_member() 3097 time_hour(PyDateTime_Time *self, void *unused) in time_hour() 3103 time_minute(PyDateTime_Time *self, void *unused) in time_minute() 3110 py_time_second(PyDateTime_Time *self, void *unused) in py_time_second() 3116 time_microsecond(PyDateTime_Time *self, void *unused) in time_microsecond() 3122 time_tzinfo(PyDateTime_Time *self, void *unused) in time_tzinfo() 3163 PyDateTime_Time *me; in time_new() [all …]
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 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 …]
|