Home
last modified time | relevance | path

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

/PHP-5.4/ext/date/lib/
H A Dparse_tz.c77 tz->leapcnt = timelib_conv_int(buffer[2]); in read_header()
148 if (tz->leapcnt) { in read_types()
149 leap_buffer = (int32_t *) malloc(tz->leapcnt * 2 * sizeof(int32_t)); in read_types()
153 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->leapcnt * 2); in read_types()
154 *tzf += sizeof(int32_t) * tz->leapcnt * 2; in read_types()
156 tz->leap_times = (tlinfo*) malloc(tz->leapcnt * sizeof(tlinfo)); in read_types()
161 for (i = 0; i < tz->leapcnt; i++) { in read_types()
226 printf("Leap.sec. count: %lu\n", (unsigned long) tz->leapcnt); in timelib_dump_tzinfo()
251 for (i = 0; i < tz->leapcnt; i++) { in timelib_dump_tzinfo()
383 if (!tz->leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
[all …]
H A Dtimelib.c119 tmp->leapcnt = tz->leapcnt; in timelib_tzinfo_clone()
135 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()
H A Dtimelib_structs.h109 uint32_t leapcnt; member

Completed in 12 milliseconds