Lines Matching refs:leapcnt

163 	tz->_bit32.leapcnt    = timelib_conv_int_unsigned(buffer[2]);  in read_32bit_header()
253 if (tz->bit64.leapcnt) { in read_64bit_types()
254 leap_buffer = (int32_t *) timelib_malloc(tz->bit64.leapcnt * (sizeof(int64_t) + sizeof(int32_t))); in read_64bit_types()
258 memcpy(leap_buffer, *tzf, tz->bit64.leapcnt * (sizeof(int64_t) + sizeof(int32_t))); in read_64bit_types()
259 *tzf += tz->bit64.leapcnt * (sizeof(int64_t) + sizeof(int32_t)); in read_64bit_types()
261 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in read_64bit_types()
266 for (i = 0; i < tz->bit64.leapcnt; i++) { in read_64bit_types()
315 if (tz->_bit32.leapcnt) { in skip_32bit_types()
316 *tzf += sizeof(int32_t) * tz->_bit32.leapcnt * 2; in skip_32bit_types()
382 printf("Leap.sec. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit64.leapcnt); in timelib_dump_tzinfo()
407 for (i = 0; i < tz->bit64.leapcnt; i++) { in timelib_dump_tzinfo()
478 tz->bit64.leapcnt = timelib_conv_int_unsigned(buffer[2]); in read_64bit_header()
568 tmp->_bit32.leapcnt = tz->_bit32.leapcnt; in timelib_tzinfo_clone()
574 tmp->bit64.leapcnt = tz->bit64.leapcnt; in timelib_tzinfo_clone()
592 if (tz->bit64.leapcnt) { in timelib_tzinfo_clone()
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()
643 for (i = tz->bit64.leapcnt - 1; i > 0; i--) { in fetch_leaptime_offset()