/PHP-7.1/ext/date/lib/ |
H A D | timelib.h | 74 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb); 87 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra… 88 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra… 116 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb); 117 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb); 124 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra…
|
H A D | parse_tz.c | 305 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) in seek_to_tz_position() argument 307 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position() 320 int cmp = strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position() 327 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position() 355 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument 358 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid() 380 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) in timelib_parse_tzfile() argument 386 if (seek_to_tz_position(&tzf, timezone, tzdb)) { in timelib_parse_tzfile()
|
H A D | parse_date.re | 163 const timelib_tzdb *tzdb; 805 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { 1194 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1235 … s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper); 1260 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1462 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1565 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1678 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1731 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1827 in.tzdb = tzdb; [all …]
|
H A D | parse_iso_intervals.re | 197 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb)
|
H A D | parse_iso_intervals.c | 199 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) in timelib_get_zone() argument
|
H A D | parse_date.c | 165 const timelib_tzdb *tzdb; member 807 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_parse_zone() 989 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 4882 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 9313 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 11587 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 13069 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 15540 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 24933 in.tzdb = tzdb; in timelib_strtotime() 25026 in.tzdb = tzdb; in timelib_parse_from_format() [all …]
|
/PHP-7.1/ext/date/ |
H A D | php_date.c | 922 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local 950 tzi = timelib_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile() 1444 php_date_global_timezone_db = tzdb; in php_date_set_tzdb() 4743 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4760 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() 4761 item_count = tzdb->index_size; in PHP_FUNCTION() 4762 table = tzdb->index; in PHP_FUNCTION() 4768 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION() 4783 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4785 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() [all …]
|
H A D | php_date.h | 218 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
|