Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/lib/
H A Dparse_tz.c82 tz->bit32.leapcnt = timelib_conv_int(buffer[2]); in read_header()
131 if (tz->bit64.leapcnt) { in skip_64bit_types()
132 *tzf += sizeof(int64_t) * tz->bit64.leapcnt * 2; in skip_64bit_types()
176 if (tz->bit32.leapcnt) { in read_types()
181 memcpy(leap_buffer, *tzf, sizeof(int32_t) * tz->bit32.leapcnt * 2); in read_types()
182 *tzf += sizeof(int32_t) * tz->bit32.leapcnt * 2; in read_types()
189 for (i = 0; i < tz->bit32.leapcnt; i++) { in read_types()
291 for (i = 0; i < tz->bit32.leapcnt; i++) { in timelib_dump_tzinfo()
367 tz->bit64.leapcnt = timelib_conv_int(buffer[2]); in read_64bit_header()
450 if (!tz->bit32.leapcnt || !tz->leap_times) { in fetch_leaptime_offset()
[all …]
H A Dtimelib_structs.h110 uint32_t leapcnt; member
118 uint64_t leapcnt; member
H A Dtimelib.c121 tmp->bit32.leapcnt = tz->bit32.leapcnt; in timelib_tzinfo_clone()
137 tmp->leap_times = (tlinfo*) malloc(tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()
138 memcpy(tmp->leap_times, tz->leap_times, tz->bit32.leapcnt * sizeof(tlinfo)); in timelib_tzinfo_clone()

Completed in 125 milliseconds