Lines Matching refs:tti
457 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_utcoffset() local
458 if (tti == NULL) { in zoneinfo_utcoffset()
461 Py_INCREF(tti->utcoff); in zoneinfo_utcoffset()
462 return tti->utcoff; in zoneinfo_utcoffset()
468 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_dst() local
469 if (tti == NULL) { in zoneinfo_dst()
472 Py_INCREF(tti->dstoff); in zoneinfo_dst()
473 return tti->dstoff; in zoneinfo_dst()
479 _ttinfo *tti = find_ttinfo((PyZoneInfo_ZoneInfo *)self, dt); in zoneinfo_tzname() local
480 if (tti == NULL) { in zoneinfo_tzname()
483 Py_INCREF(tti->tzname); in zoneinfo_tzname()
484 return tti->tzname; in zoneinfo_tzname()
514 _ttinfo *tti = NULL; in zoneinfo_fromutc() local
518 tti = self->ttinfo_before; in zoneinfo_fromutc()
522 tti = find_tzrule_ttinfo_fromutc(&(self->tzrule_after), timestamp, in zoneinfo_fromutc()
538 int64_t diff = tti_prev->utcoff_seconds - tti->utcoff_seconds; in zoneinfo_fromutc()
551 tti = self->trans_ttinfos[idx - 1]; in zoneinfo_fromutc()
555 tti = self->trans_ttinfos[0]; in zoneinfo_fromutc()
560 (int64_t)(tti_prev->utcoff_seconds - tti->utcoff_seconds); in zoneinfo_fromutc()
566 PyObject *tmp = PyNumber_Add(dt, tti->utcoff); in zoneinfo_fromutc()
1048 _ttinfo *tti = &(self->_ttinfos[idx]); in load_data() local
1049 build_tzrule(tti->tzname, NULL, tti->utcoff_seconds, 0, NULL, NULL, in load_data()
1056 if (PyObject_IsTrue(tti->dstoff)) { in load_data()
1059 tti_after->dstoff = tti->dstoff; in load_data()