Lines Matching refs:local_time_tm
5655 struct tm local_time_tm; in local_timezone_from_timestamp() local
5659 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp()
5662 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp()
5663 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp()
5669 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp()
5671 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp()
5672 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp()
5673 local_time_tm.tm_mday, in local_timezone_from_timestamp()
5674 local_time_tm.tm_hour, in local_timezone_from_timestamp()
5675 local_time_tm.tm_min, in local_timezone_from_timestamp()
5676 local_time_tm.tm_sec, 0, Py_None, 0); in local_timezone_from_timestamp()