/PHP-7.3/ext/date/lib/ |
H A D | timelib.h | 404 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb, int *erro… 462 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra… 483 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra… 497 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra… 555 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra… 668 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb); 685 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code); 744 const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *co… 765 void timelib_zoneinfo_dtor(timelib_tzdb *tzdb);
|
H A D | parse_tz.c | 415 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) in seek_to_tz_position() argument 417 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position() 419 if (tzdb->index_size == 0) { in seek_to_tz_position() 425 int cmp = timelib_strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position() 432 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position() 448 *count = tzdb->index_size; in timelib_timezone_identifiers_list() 449 return tzdb->index; in timelib_timezone_identifiers_list() 452 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument 455 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid() 494 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb, int *error_code) in timelib_parse_tzfile() argument [all …]
|
H A D | parse_date.re | 139 const timelib_tzdb *tzdb; 851 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { 1240 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1281 … s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper); 1306 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1508 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1611 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1724 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1777 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… 1873 in.tzdb = tzdb; [all …]
|
H A D | parse_date.c | 141 const timelib_tzdb *tzdb; member 853 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { in timelib_parse_zone() 1586 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 6483 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 16196 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 17289 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 21756 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 22020 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan() 22189 in.tzdb = tzdb; in timelib_strtotime() 22357 in.tzdb = tzdb; in timelib_parse_from_format_with_map() [all …]
|
/PHP-7.3/ext/date/ |
H A D | php_date.c | 959 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local 997 return php_date_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile_wrapper() 1025 static char* guess_timezone(const timelib_tzdb *tzdb) in guess_timezone() argument 1480 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument 1485 php_date_global_timezone_db = tzdb; in php_date_set_tzdb() 4814 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4833 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() 4840 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION() 4855 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4857 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() [all …]
|
H A D | php_date.h | 220 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
|