Lines Matching defs:dstoff
25 PyObject *dstoff;
480 Py_INCREF(tti->dstoff);
481 return tti->dstoff;
770 out->dstoff = NULL;
779 out->dstoff = load_timedelta(dstoffset);
780 if (out->dstoff == NULL) {
796 Py_XDECREF(ttinfo->dstoff);
811 if ((rv = PyObject_RichCompareBool(tti0->dstoff, tti1->dstoff, Py_EQ)) <
828 * C values and calculates derived values (e.g. dstoff) in C.
841 long *dstoff = NULL;
985 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long));
986 if (dstoff == NULL) {
990 // Derive dstoff and trans_list_wall from the information we've loaded
991 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions,
1000 // Build _ttinfo objects from utcoff, dstoff and abbr
1012 if (build_ttinfo(utcoff[i], dstoff[i], tzname, &(self->_ttinfos[i]))) {
1069 // that the dstoff is set correctly in that case.
1070 if (PyObject_IsTrue(tti->dstoff)) {
1072 Py_DECREF(tti_after->dstoff);
1073 tti_after->dstoff = tti->dstoff;
1074 Py_INCREF(tti_after->dstoff);
1152 if (dstoff != NULL) {
1153 PyMem_Free(dstoff);
2000 long dstoff = 0;
2004 dstoff = utcoff - utcoffs[comp_idx];
2007 if (!dstoff && idx < (num_ttinfos - 1)) {
2017 dstoff = utcoff - utcoffs[comp_idx];
2020 if (dstoff) {
2022 dstoffs[idx] = dstoff;
2028 // with dstoff = 0 for something where isdst=1. This is obviously
2690 NO_TTINFO.dstoff = Py_None;