Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/lib/
H A Dparse_tz.c84 tz->bit32.typecnt = timelib_conv_int(buffer[4]); in read_header()
129 *tzf += sizeof(unsigned char) * 6 * tz->bit64.typecnt; in skip_64bit_types()
148 buffer = (unsigned char*) malloc(tz->bit32.typecnt * sizeof(unsigned char) * 6); in read_types()
152 memcpy(buffer, *tzf, sizeof(unsigned char) * 6 * tz->bit32.typecnt); in read_types()
153 *tzf += sizeof(unsigned char) * 6 * tz->bit32.typecnt; in read_types()
155 tz->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in read_types()
161 for (i = 0; i < tz->bit32.typecnt; i++) { in read_types()
268 printf("Local types count: %lu\n", (unsigned long) tz->bit32.typecnt); in timelib_dump_tzinfo()
369 tz->bit64.typecnt = timelib_conv_int(buffer[4]); in read_64bit_header()
410 if (tz->bit32.typecnt == 1) { in fetch_timezone_offset()
H A Dtimelib_structs.h112 uint32_t typecnt; member
120 uint64_t typecnt; member
H A Dtimelib.c123 tmp->bit32.typecnt = tz->bit32.typecnt; in timelib_tzinfo_clone()
131 tmp->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()
132 memcpy(tmp->type, tz->type, tz->bit32.typecnt * sizeof(struct ttinfo)); in timelib_tzinfo_clone()

Completed in 12 milliseconds