Searched refs:leap_buffer (Results 1 – 1 of 1) sorted by relevance
211 int32_t *leap_buffer; in read_types() local244 leap_buffer = (int32_t *) timelib_malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); in read_types()245 if (!leap_buffer) { in read_types()248 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->bit32.leapcnt * 2); in read_types()253 timelib_free(leap_buffer); 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()260 timelib_free(leap_buffer); in read_types()
Completed in 8 milliseconds