Home
last modified time | relevance | path

Searched refs:trans_list_utc (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/zoneinfo/
D_common.py61 trans_list_utc = struct.unpack(
66 trans_list_utc = ()
124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
D_zoneinfo.py362 def _ts_to_local(trans_idx, trans_list_utc, utcoffsets): argument
366 if not trans_list_utc:
370 trans_list_wall = [list(trans_list_utc), list(trans_list_utc)]
/external/python/cpython3/Modules/
D_zoneinfo.c41 int64_t *trans_list_utc; member
307 if (self->trans_list_utc != NULL) { in zoneinfo_dealloc()
308 PyMem_Free(self->trans_list_utc); in zoneinfo_dealloc()
517 if (num_trans >= 1 && timestamp < self->trans_list_utc[0]) { in zoneinfo_fromutc()
521 timestamp > self->trans_list_utc[num_trans - 1]) { in zoneinfo_fromutc()
540 timestamp < (self->trans_list_utc[num_trans - 1] + diff)) { in zoneinfo_fromutc()
546 size_t idx = _bisect(timestamp, self->trans_list_utc, num_trans); in zoneinfo_fromutc()
561 if (shift > (timestamp - self->trans_list_utc[idx - 1])) { in zoneinfo_fromutc()
843 self->trans_list_utc = NULL; in load_data()
910 self->trans_list_utc = in load_data()
[all …]
/external/python/dateutil/dateutil/tz/
Dtz.py532 out.trans_list_utc = list(struct.unpack(">%dl" % timecnt,
535 out.trans_list_utc = []
631 if not out.trans_list_utc:
698 out.trans_list.append(out.trans_list_utc[i] + adjustment)
702 out.trans_list_utc = tuple(out.trans_list_utc)