Lines Matching refs:tti
461 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_utcoffset() local
462 if (tti == NULL) { in zoneinfo_utcoffset()
465 Py_INCREF(tti->utcoff); in zoneinfo_utcoffset()
466 return tti->utcoff; in zoneinfo_utcoffset()
472 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_dst() local
473 if (tti == NULL) { in zoneinfo_dst()
476 Py_INCREF(tti->dstoff); in zoneinfo_dst()
477 return tti->dstoff; in zoneinfo_dst()
483 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_tzname() local
484 if (tti == NULL) { in zoneinfo_tzname()
487 Py_INCREF(tti->tzname); in zoneinfo_tzname()
488 return tti->tzname; in zoneinfo_tzname()
516 _ttinfo *tti = NULL; in zoneinfo_fromutc() local
520 tti = self->ttinfo_before; in zoneinfo_fromutc()
524 tti = find_tzrule_ttinfo_fromutc(&(self->tzrule_after), timestamp, in zoneinfo_fromutc()
540 int64_t diff = tti_prev->utcoff_seconds - tti->utcoff_seconds; in zoneinfo_fromutc()
553 tti = self->trans_ttinfos[idx - 1]; in zoneinfo_fromutc()
557 tti = self->trans_ttinfos[0]; in zoneinfo_fromutc()
562 (int64_t)(tti_prev->utcoff_seconds - tti->utcoff_seconds); in zoneinfo_fromutc()
568 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
1058 _ttinfo *tti = &(self->_ttinfos[idx]); in load_data() local
1059 build_tzrule(tti->tzname, NULL, tti->utcoff_seconds, 0, NULL, NULL, in load_data()
1066 if (PyObject_IsTrue(tti->dstoff)) { in load_data()
1069 tti_after->dstoff = tti->dstoff; in load_data()