Home
last modified time | relevance | path

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

/PHP-7.1/ext/date/lib/
H A Dparse_tz.c90 tz->bit32.typecnt = timelib_conv_int(buffer[4]); in read_header()
135 *tzf += sizeof(unsigned char) * 6 * tz->bit64.typecnt; in skip_64bit_types()
154 buffer = (unsigned char*) timelib_malloc(tz->bit32.typecnt * sizeof(unsigned char) * 6); in read_types()
158 memcpy(buffer, *tzf, sizeof(unsigned char) * 6 * tz->bit32.typecnt); in read_types()
159 *tzf += sizeof(unsigned char) * 6 * tz->bit32.typecnt; in read_types()
161 tz->type = (ttinfo*) timelib_malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in read_types()
167 for (i = 0; i < tz->bit32.typecnt; i++) { in read_types()
274 printf("Local types count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.typecnt); in timelib_dump_tzinfo()
375 tz->bit64.typecnt = timelib_conv_int(buffer[4]); in read_64bit_header()
416 if (tz->bit32.typecnt == 1) { in fetch_timezone_offset()
H A Dtimelib.c145 tmp->bit32.typecnt = tz->bit32.typecnt; in timelib_tzinfo_clone()
153 tmp->type = (ttinfo*) timelib_malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()
154 memcpy(tmp->type, tz->type, tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()
H A Dtimelib_structs.h188 uint32_t typecnt; member
196 uint64_t typecnt; member

Completed in 16 milliseconds