Home
last modified time | relevance | path

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

/PHP-7.0/ext/date/lib/
H A Dparse_tz.c130 tz->trans_idx = cbuffer; in read_transistions()
288 tz->trans[i], tz->trans[i], tz->trans_idx[i], in timelib_dump_tzinfo()
289 (long int) tz->type[tz->trans_idx[i]].offset, in timelib_dump_tzinfo()
290 tz->type[tz->trans_idx[i]].isdst, in timelib_dump_tzinfo()
291 tz->type[tz->trans_idx[i]].abbr_idx, in timelib_dump_tzinfo()
292 &tz->timezone_abbr[tz->type[tz->trans_idx[i]].abbr_idx], in timelib_dump_tzinfo()
293 tz->type[tz->trans_idx[i]].isstdcnt, in timelib_dump_tzinfo()
294 tz->type[tz->trans_idx[i]].isgmtcnt in timelib_dump_tzinfo()
437 return &(tz->type[tz->trans_idx[j]]); in fetch_timezone_offset()
445 return &(tz->type[tz->trans_idx[i - 1]]); in fetch_timezone_offset()
[all …]
H A Dtimelib.c149 tmp->trans_idx = (unsigned char*) timelib_malloc(tz->bit32.timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
151 memcpy(tmp->trans_idx, tz->trans_idx, tz->bit32.timecnt * sizeof(unsigned char)); in timelib_tzinfo_clone()
169 TIMELIB_TIME_FREE(tz->trans_idx); in timelib_tzinfo_dtor()
H A Dtimelib_structs.h201 unsigned char *trans_idx; member
/PHP-7.0/ext/date/
H A Dphp_date.c3924 add_assoc_long(&element, "offset", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].offset); \ in PHP_FUNCTION()
3925 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].isdst); \ in PHP_FUNCTION()
3926 …abbr", &tzobj->tzi.tz->timezone_abbr[tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].abbr_idx]); \ in PHP_FUNCTION()

Completed in 23 milliseconds