Lines Matching refs:leapcnt
88 tz->bit32.leapcnt = timelib_conv_int(buffer[2]); in read_header()
137 if (tz->bit64.leapcnt) { in skip_64bit_types()
138 *tzf += sizeof(int64_t) * tz->bit64.leapcnt * 2; in skip_64bit_types()
182 if (tz->bit32.leapcnt) { in read_types()
183 leap_buffer = (int32_t *) timelib_malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); in read_types()
187 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->bit32.leapcnt * 2); in read_types()
188 *tzf += sizeof(int32_t) * tz->bit32.leapcnt * 2; in read_types()
190 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in read_types()
195 for (i = 0; i < tz->bit32.leapcnt; i++) { in read_types()
272 printf("Leap.sec. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.leapcnt); in timelib_dump_tzinfo()
297 for (i = 0; i < tz->bit32.leapcnt; i++) { in timelib_dump_tzinfo()
373 tz->bit64.leapcnt = timelib_conv_int(buffer[2]); in read_64bit_header()
456 if (!tz->bit32.leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
460 for (i = tz->bit32.leapcnt - 1; i > 0; i--) { in fetch_leaptime_offset()