Lines Matching refs:aware
622 time_alloc(PyTypeObject *type, Py_ssize_t aware) in time_alloc() argument
627 PyObject_MALLOC(aware ? in time_alloc()
637 datetime_alloc(PyTypeObject *type, Py_ssize_t aware) in datetime_alloc() argument
642 PyObject_MALLOC(aware ? in datetime_alloc()
887 char aware = tzinfo != Py_None; in new_datetime_ex2() local
899 self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware)); in new_datetime_ex2()
901 self->hastzinfo = aware; in new_datetime_ex2()
907 if (aware) { in new_datetime_ex2()
968 char aware = tzinfo != Py_None; in new_time_ex2() local
977 self = (PyDateTime_Time *) (type->tp_alloc(type, aware)); in new_time_ex2()
979 self->hastzinfo = aware; in new_time_ex2()
985 if (aware) { in new_time_ex2()
3924 char aware = (char)(tzinfo != Py_None); in time_from_pickle() local
3926 if (aware && check_tzinfo_subclass(tzinfo) < 0) { in time_from_pickle()
3931 me = (PyDateTime_Time *) (type->tp_alloc(type, aware)); in time_from_pickle()
3937 me->hastzinfo = aware; in time_from_pickle()
3938 if (aware) { in time_from_pickle()
4590 char aware = (char)(tzinfo != Py_None); in datetime_from_pickle() local
4592 if (aware && check_tzinfo_subclass(tzinfo) < 0) { in datetime_from_pickle()
4597 me = (PyDateTime_DateTime *) (type->tp_alloc(type , aware)); in datetime_from_pickle()
4603 me->hastzinfo = aware; in datetime_from_pickle()
4604 if (aware) { in datetime_from_pickle()