Searched refs:HASTZINFO (Results 1 – 2 of 2) sorted by relevance
93 #define HASTZINFO(p) (((_PyDateTime_BaseTZInfo *)(p))->hastzinfo) macro804 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()806 else if (PyTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()2895 if (! HASTZINFO(dt) || dt->tzinfo != (PyObject *)self) { in tzinfo_fromutc()3124 PyObject *result = HASTZINFO(self) ? self->tzinfo : Py_None; in time_tzinfo()3210 if (HASTZINFO(self)) { in time_dealloc()3223 return offset_as_timedelta(HASTZINFO(self) ? self->tzinfo : Py_None, in time_utcoffset()3229 return offset_as_timedelta(HASTZINFO(self) ? self->tzinfo : Py_None, in time_dst()3235 return call_tzname(HASTZINFO(self) ? self->tzinfo : Py_None, in time_tzname()3264 if (result != NULL && HASTZINFO(self)) in time_repr()[all …]
104 #define HASTZINFO(p) (((_PyDateTime_BaseTZInfo *)(p))->hastzinfo) macro105 #define GET_TIME_TZINFO(p) (HASTZINFO(p) ? \107 #define GET_DT_TZINFO(p) (HASTZINFO(p) ? \1128 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()1130 else if (PyTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()3776 if (!HASTZINFO(dt) || dt->tzinfo != (PyObject *)self) { in timezone_fromutc()3892 PyObject *result = HASTZINFO(self) ? self->tzinfo : Py_None; in time_tzinfo()4019 if (HASTZINFO(self)) { in time_dealloc()4068 if (result != NULL && HASTZINFO(self)) in time_repr()4133 if (result == NULL || !HASTZINFO(self) || self->tzinfo == Py_None) in time_isoformat()[all …]