Lines Matching refs:leap_times
251 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in read_types()
252 if (!tz->leap_times) { in read_types()
257 tz->leap_times[i].trans = timelib_conv_int_signed(leap_buffer[i * 2]); in read_types()
258 tz->leap_times[i].offset = timelib_conv_int_signed(leap_buffer[i * 2 + 1]); in read_types()
371 tz->leap_times[i].trans, in timelib_dump_tzinfo()
372 (long) tz->leap_times[i].trans, in timelib_dump_tzinfo()
373 tz->leap_times[i].offset); in timelib_dump_tzinfo()
519 TIMELIB_TIME_FREE(tz->leap_times); in timelib_tzinfo_dtor()
549 tmp->leap_times = (tlinfo*) timelib_malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
550 memcpy(tmp->leap_times, tz->leap_times, tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
604 if (!tz->bit32.leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
609 if (ts > tz->leap_times[i].trans) { in fetch_leaptime_offset()
610 return &(tz->leap_times[i]); in fetch_leaptime_offset()