Lines Matching refs:leap_times
261 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in read_64bit_types()
262 if (!tz->leap_times) { in read_64bit_types()
267 …tz->leap_times[i].trans = timelib_conv_int64_signed(leap_buffer[i * 3 + 1] * 4294967296 + leap_buf… in read_64bit_types()
268 tz->leap_times[i].offset = timelib_conv_int_signed(leap_buffer[i * 3 + 2]); in read_64bit_types()
409 tz->leap_times[i].trans, in timelib_dump_tzinfo()
410 (long) tz->leap_times[i].trans, in timelib_dump_tzinfo()
411 tz->leap_times[i].offset); in timelib_dump_tzinfo()
557 TIMELIB_TIME_FREE(tz->leap_times); in timelib_tzinfo_dtor()
593 tmp->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
594 memcpy(tmp->leap_times, tz->leap_times, tz->bit64.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
639 if (!tz->bit64.leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
644 if (ts > tz->leap_times[i].trans) { in fetch_leaptime_offset()
645 return &(tz->leap_times[i]); in fetch_leaptime_offset()