Home
last modified time | relevance | path

Searched refs:leap_buffer (Results 1 – 1 of 1) sorted by relevance

/PHP-8.2/ext/date/lib/
H A Dparse_tz.c244 int32_t *leap_buffer; in read_64bit_types() local
282 leap_buffer = (int32_t *) timelib_malloc(tz->bit64.leapcnt * (sizeof(int64_t) + sizeof(int32_t))); in read_64bit_types()
283 if (!leap_buffer) { in read_64bit_types()
286 memcpy(leap_buffer, *tzf, tz->bit64.leapcnt * (sizeof(int64_t) + sizeof(int32_t))); in read_64bit_types()
291 timelib_free(leap_buffer); in read_64bit_types()
295 …tz->leap_times[i].trans = timelib_conv_int64_signed(leap_buffer[i * 3 + 1] * 4294967296 + leap_buf… in read_64bit_types()
296 tz->leap_times[i].offset = timelib_conv_int_signed(leap_buffer[i * 3 + 2]); in read_64bit_types()
298 timelib_free(leap_buffer); in read_64bit_types()

Completed in 5 milliseconds