Home
last modified time | relevance | path

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

/PHP-5.4/ext/date/lib/
H A Dparse_tz.c156 tz->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in read_types()
157 if (!tz->leap_times) { in read_types()
162 tz->leap_times[i].trans = timelib_conv_int(leap_buffer[i * 2]); in read_types()
163 tz->leap_times[i].offset = timelib_conv_int(leap_buffer[i * 2 + 1]); in read_types()
253 tz->leap_times[i].trans, in timelib_dump_tzinfo()
254 (long) tz->leap_times[i].trans, in timelib_dump_tzinfo()
255 tz->leap_times[i].offset); in timelib_dump_tzinfo()
383 if (!tz->leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
388 if (ts > tz->leap_times[i].trans) { in fetch_leaptime_offset()
389 return &(tz->leap_times[i]); in fetch_leaptime_offset()
H A Dtimelib.c135 tmp->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
136 memcpy(tmp->leap_times, tz->leap_times, tz->leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
148 TIMELIB_TIME_FREE(tz->leap_times); in timelib_tzinfo_dtor()
H A Dtimelib_structs.h120 tlinfo *leap_times; member

Completed in 30 milliseconds