Lines Matching refs:trans_idx
109 utcoff_to_dstoff(size_t *trans_idx, long *utcoffs, long *dstoffs,
113 ts_to_local(size_t *trans_idx, int64_t *trans_utc, long *utcoff,
840 size_t *trans_idx = NULL; in load_data() local
912 trans_idx = PyMem_Malloc(self->num_transitions * sizeof(Py_ssize_t)); in load_data()
934 trans_idx[i] = (size_t)cur_trans_idx; in load_data()
935 if (trans_idx[i] > self->num_ttinfos) { 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()
1010 size_t ttinfo_idx = trans_idx[i]; in load_data()
1045 idx = trans_idx[self->num_transitions - 1]; in load_data()
1146 if (trans_idx != NULL) { in load_data()
1147 PyMem_Free(trans_idx); in load_data()
1969 utcoff_to_dstoff(size_t *trans_idx, long *utcoffs, long *dstoffs, in utcoff_to_dstoff() argument
1984 size_t idx = trans_idx[i]; in utcoff_to_dstoff()
1985 size_t comp_idx = trans_idx[i - 1]; in utcoff_to_dstoff()
2000 comp_idx = trans_idx[i + 1]; in utcoff_to_dstoff()
2053 ts_to_local(size_t *trans_idx, int64_t *trans_utc, long *utcoff, in ts_to_local() argument
2074 offset_1 = utcoff[trans_idx[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()