Home
last modified time | relevance | path

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

/PHP-7.4/ext/date/lib/
H A Dparse_tz.c261 tz->leap_times = (tlinfo*) timelib_malloc(tz->bit64.leapcnt * sizeof(tlinfo)); in read_64bit_types()
262 if (!tz->leap_times) { in read_64bit_types()
268 tz->leap_times[i].offset = timelib_conv_int_signed(leap_buffer[i * 3 + 2]); in read_64bit_types()
409 tz->leap_times[i].trans, in timelib_dump_tzinfo()
410 (long) tz->leap_times[i].trans, in timelib_dump_tzinfo()
411 tz->leap_times[i].offset); in timelib_dump_tzinfo()
557 TIMELIB_TIME_FREE(tz->leap_times); in timelib_tzinfo_dtor()
594 memcpy(tmp->leap_times, tz->leap_times, tz->bit64.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
639 if (!tz->bit64.leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
644 if (ts > tz->leap_times[i].trans) { in fetch_leaptime_offset()
[all …]
H A Dtimelib.h173 tlinfo *leap_times; member

Completed in 20 milliseconds