Lines Matching refs:leapcnt
77 tz->leapcnt = timelib_conv_int(buffer[2]); in read_header()
148 if (tz->leapcnt) { in read_types()
149 leap_buffer = (int32_t *) malloc(tz->leapcnt * 2 * sizeof(int32_t)); in read_types()
153 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->leapcnt * 2); in read_types()
154 *tzf += sizeof(int32_t) * tz->leapcnt * 2; in read_types()
156 tz->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in read_types()
161 for (i = 0; i < tz->leapcnt; i++) { in read_types()
226 printf("Leap.sec. count: %lu\n", (unsigned long) tz->leapcnt); in timelib_dump_tzinfo()
251 for (i = 0; i < tz->leapcnt; i++) { in timelib_dump_tzinfo()
383 if (!tz->leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
387 for (i = tz->leapcnt - 1; i > 0; i--) { in fetch_leaptime_offset()