Home
last modified time | relevance | path

Searched refs:tzdb (Results 1 – 6 of 6) sorted by relevance

/PHP-8.0/ext/date/lib/
H A Dtimelib.h405 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(const char *tzname, const timelib_tzdb *tzdb, int…
463 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
484 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
498 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
556 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra…
669 int timelib_timezone_id_is_valid(const char *timezone, const timelib_tzdb *tzdb);
698 timelib_tzinfo *timelib_parse_tzfile(const char *timezone, const timelib_tzdb *tzdb, int *error_cod…
757 const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *co…
778 void timelib_zoneinfo_dtor(timelib_tzdb *tzdb);
H A Dparse_tz.c440 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position()
442 if (tzdb->index_size == 0) { in seek_to_tz_position()
448 int cmp = timelib_strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
455 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
469 const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *co… in timelib_timezone_identifiers_list() argument
471 *count = tzdb->index_size; in timelib_timezone_identifiers_list()
472 return tzdb->index; in timelib_timezone_identifiers_list()
475 int timelib_timezone_id_is_valid(const char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument
478 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid()
517 timelib_tzinfo *timelib_parse_tzfile(const char *timezone, const timelib_tzdb *tzdb, int *error_cod… in timelib_parse_tzfile() argument
[all …]
H A Dparse_date.re139 const timelib_tzdb *tzdb;
874 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) {
1271 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1312 s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1337 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1551 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1654 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1767 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1820 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1916 in.tzdb = tzdb;
[all …]
H A Dparse_date.c141 const timelib_tzdb *tzdb; member
876 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { in timelib_parse_zone()
1059 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
4934 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
9511 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
11788 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
13272 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
15746 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
25146 in.tzdb = tzdb; in timelib_strtotime()
25315 in.tzdb = tzdb; in timelib_parse_from_format_with_map()
[all …]
/PHP-8.0/ext/date/
H A Dphp_date.h122 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
H A Dphp_date.c76 static char* guess_timezone(const timelib_tzdb *tzdb);
454 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
492 return php_date_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile_wrapper()
979 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument
984 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
4403 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4423 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4430 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4443 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4447 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]

Completed in 68 milliseconds