Lines Matching refs:num_ttinfos
40 size_t num_ttinfos; member
111 size_t num_ttinfos);
114 int64_t *trans_local[2], size_t num_ttinfos,
318 for (size_t i = 0; i < self->num_ttinfos; ++i) { in zoneinfo_dealloc()
901 Py_ssize_t num_ttinfos = PyTuple_Size(utcoff_list); in load_data() local
902 if (num_ttinfos < 0) { in load_data()
907 self->num_ttinfos = (size_t)num_ttinfos; in load_data()
935 if (trans_idx[i] > self->num_ttinfos) { in load_data()
946 utcoff = PyMem_Malloc(self->num_ttinfos * sizeof(long)); in load_data()
947 isdst = PyMem_Malloc(self->num_ttinfos * sizeof(unsigned char)); in load_data()
952 for (size_t i = 0; i < self->num_ttinfos; ++i) { in load_data()
977 dstoff = PyMem_Calloc(self->num_ttinfos, sizeof(long)); in load_data()
984 self->num_ttinfos); in load_data()
987 self->trans_list_wall, self->num_ttinfos, in load_data()
993 self->_ttinfos = PyMem_Malloc(self->num_ttinfos * sizeof(_ttinfo)); in load_data()
994 for (size_t i = 0; i < self->num_ttinfos; ++i) { in load_data()
1011 assert(ttinfo_idx < self->num_ttinfos); in load_data()
1016 for (size_t i = 0; i < self->num_ttinfos; ++i) { in load_data()
1025 if (self->ttinfo_before == NULL && self->num_ttinfos > 0) { in load_data()
1035 if (!self->num_ttinfos) { in load_data()
1042 idx = self->num_ttinfos - 1; in load_data()
1082 if (self->num_ttinfos > 1 || !self->tzrule_after.std_only) { in load_data()
1085 else if (self->num_ttinfos == 0) { in load_data()
1971 size_t num_ttinfos) in utcoff_to_dstoff() argument
1975 for (size_t i = 0; i < num_ttinfos; ++i) { in utcoff_to_dstoff()
1999 if (!dstoff && idx < (num_ttinfos - 1)) { in utcoff_to_dstoff()
2022 for (size_t idx = 0; idx < num_ttinfos; ++idx) { in utcoff_to_dstoff()
2054 int64_t *trans_local[2], size_t num_ttinfos, in ts_to_local() argument
2072 if (num_ttinfos > 1) { in ts_to_local()