Lines Matching refs:HASTZINFO
104 #define HASTZINFO(p) (((_PyDateTime_BaseTZInfo *)(p))->hastzinfo) macro
105 #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()
4264 HASTZINFO(self) ? self->tzinfo : Py_None, in time_hash()
4286 assert(HASTZINFO(self)); in time_hash()
4319 PyObject *tzinfo = HASTZINFO(self) ? self->tzinfo : Py_None; in time_replace()
4411 if (! HASTZINFO(self) || self->tzinfo == Py_None) in time_getstate()
4556 PyObject *result = HASTZINFO(self) ? self->tzinfo : Py_None; in datetime_tzinfo()
4953 if (HASTZINFO(time)) in datetime_combine()
5098 if (HASTZINFO(self)) { in datetime_dealloc()
5155 HASTZINFO(date) ? date->tzinfo : Py_None, 0); in add_datetime_timedelta()
5300 if (baserepr == NULL || ! HASTZINFO(self)) in datetime_repr()
5365 if (!result || !HASTZINFO(self)) in datetime_isoformat()
5399 HASTZINFO(dt) ? in flip_fold()
5563 HASTZINFO(self) ? self->tzinfo : Py_None, in datetime_hash()
5586 assert(HASTZINFO(self)); in datetime_hash()
5626 PyObject *tzinfo = HASTZINFO(self) ? self->tzinfo : Py_None; in datetime_replace()
5781 if (!HASTZINFO(self) || self->tzinfo == Py_None) { in datetime_astimezone()
5821 if (!HASTZINFO(result)) { in datetime_astimezone()
5873 if (HASTZINFO(self) && self->tzinfo != Py_None) { in datetime_timetuple()
5948 if (HASTZINFO(self) && self->tzinfo != Py_None) { in datetime_timestamp()
6063 if (! HASTZINFO(self) || self->tzinfo == Py_None) in datetime_getstate()