Searched refs:leap_buffer (Results 1 – 1 of 1) sorted by relevance
151 int32_t *leap_buffer; in read_types() local183 leap_buffer = (int32_t *) timelib_malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); in read_types()184 if (!leap_buffer) { in read_types()187 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->bit32.leapcnt * 2); in read_types()192 timelib_free(leap_buffer); in read_types()196 tz->leap_times[i].trans = timelib_conv_int(leap_buffer[i * 2]); in read_types()197 tz->leap_times[i].offset = timelib_conv_int(leap_buffer[i * 2 + 1]); in read_types()199 timelib_free(leap_buffer); in read_types()
Completed in 5 milliseconds