Home
last modified time | relevance | path

Searched refs:timecnt (Results 1 – 4 of 4) sorted by relevance

/PHP-5.4/ext/date/lib/
H A Dparse_tz.c78 tz->timecnt = timelib_conv_int(buffer[3]); in read_header()
90 if (tz->timecnt) { in read_transistions()
96 *tzf += (sizeof(int32_t) * tz->timecnt); in read_transistions()
97 for (i = 0; i < tz->timecnt; i++) { in read_transistions()
107 *tzf += sizeof(unsigned char) * tz->timecnt; in read_transistions()
240 for (i = 0; i < tz->timecnt; i++) { in timelib_dump_tzinfo()
341 if (!tz->timecnt || !tz->trans) { in fetch_timezone_offset()
358 while (j < tz->timecnt && tz->type[j].isdst) { in fetch_timezone_offset()
361 if (j == tz->timecnt) { in fetch_timezone_offset()
369 for (i = 0; i < tz->timecnt; i++) { in fetch_timezone_offset()
[all …]
H A Dtimelib.c120 tmp->timecnt = tz->timecnt; in timelib_tzinfo_clone()
124 tmp->trans = (int32_t *) malloc(tz->timecnt * sizeof(int32_t)); in timelib_tzinfo_clone()
125 tmp->trans_idx = (unsigned char*) malloc(tz->timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
126 memcpy(tmp->trans, tz->trans, tz->timecnt * sizeof(int32_t)); in timelib_tzinfo_clone()
127 memcpy(tmp->trans_idx, tz->trans_idx, tz->timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
H A Dtimelib_structs.h110 uint32_t timecnt; member
/PHP-5.4/ext/date/
H A Dphp_date.c3413 #define add_last() add(tzobj->tzi.tz->timecnt - 1, timestamp_begin) in PHP_FUNCTION()
3424 if (tzobj->tzi.tz->timecnt > 0) { in PHP_FUNCTION()
3436 } while (begin < tzobj->tzi.tz->timecnt); in PHP_FUNCTION()
3441 if (tzobj->tzi.tz->timecnt > 0) { in PHP_FUNCTION()
3447 for (i = begin; i < tzobj->tzi.tz->timecnt; ++i) { in PHP_FUNCTION()

Completed in 23 milliseconds