Lines Matching refs:utcoff
19 PyObject *utcoff; member
113 ts_to_local(size_t *trans_idx, int64_t *trans_utc, long *utcoff,
461 Py_INCREF(tti->utcoff); in zoneinfo_utcoffset()
462 return tti->utcoff; in zoneinfo_utcoffset()
566 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
767 out->utcoff = NULL; in build_ttinfo()
772 out->utcoff = load_timedelta(utcoffset); in build_ttinfo()
773 if (out->utcoff == NULL) { in build_ttinfo()
793 Py_XDECREF(ttinfo->utcoff); in xdecref_ttinfo()
804 if ((rv = PyObject_RichCompareBool(tti0->utcoff, tti1->utcoff, Py_EQ)) < in ttinfo_eq()
838 long *utcoff = NULL; in load_data() local
946 utcoff = PyMem_Malloc(self->num_ttinfos * sizeof(long)); in load_data()
949 if (utcoff == NULL || isdst == NULL) { in load_data()
958 utcoff[i] = PyLong_AsLong(num); in load_data()
959 if (utcoff[i] == -1 && PyErr_Occurred()) { in load_data()
983 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions, in load_data()
986 if (ts_to_local(trans_idx, self->trans_list_utc, utcoff, in load_data()
1001 if (build_ttinfo(utcoff[i], dstoff[i], tzname, &(self->_ttinfos[i]))) { in load_data()
1134 if (utcoff != NULL) { in load_data()
1135 PyMem_Free(utcoff); in load_data()
1993 long utcoff = utcoffs[idx]; in utcoff_to_dstoff() local
1996 dstoff = utcoff - utcoffs[comp_idx]; in utcoff_to_dstoff()
2009 dstoff = utcoff - utcoffs[comp_idx]; in utcoff_to_dstoff()
2053 ts_to_local(size_t *trans_idx, int64_t *trans_utc, long *utcoff, in ts_to_local() argument
2073 offset_0 = utcoff[0]; in ts_to_local()
2074 offset_1 = utcoff[trans_idx[0]]; in ts_to_local()
2081 offset_0 = utcoff[0]; in ts_to_local()
2082 offset_1 = utcoff[0]; in ts_to_local()
2089 offset_0 = utcoff[trans_idx[i - 1]]; in ts_to_local()
2090 offset_1 = utcoff[trans_idx[i]]; in ts_to_local()
2664 if (NO_TTINFO.utcoff == NULL) { in zoneinfomodule_exec()
2665 NO_TTINFO.utcoff = Py_None; in zoneinfomodule_exec()