Home
last modified time | relevance | path

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

/php-src/ext/date/lib/
H A Dtimelib.h458 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(const char *tzname, const timelib_tzdb *tzdb, int…
516 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
537 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
551 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
609 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra…
736 int timelib_timezone_id_is_valid(const char *timezone, const timelib_tzdb *tzdb);
765 timelib_tzinfo *timelib_parse_tzfile(const char *timezone, const timelib_tzdb *tzdb, int *error_cod…
847 const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *co…
868 void timelib_zoneinfo_dtor(timelib_tzdb *tzdb);
H A Dparse_tz.c582 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position()
584 if (tzdb->index_size == 0) { in seek_to_tz_position()
590 int cmp = timelib_strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
597 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
611 const timelib_tzdb_index_entry *timelib_timezone_identifiers_list(const timelib_tzdb *tzdb, int *co… in timelib_timezone_identifiers_list() argument
613 *count = tzdb->index_size; in timelib_timezone_identifiers_list()
614 return tzdb->index; in timelib_timezone_identifiers_list()
617 int timelib_timezone_id_is_valid(const char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument
620 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid()
662 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.re141 const timelib_tzdb *tzdb;
980 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) {
1391 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1432 s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1457 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1671 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1777 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1891 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
1944 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp…
2045 in.tzdb = tzdb;
[all …]
H A Dparse_date.c143 const timelib_tzdb *tzdb; member
982 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { in timelib_parse_zone()
1783 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
5891 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
17247 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
18504 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
24204 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
24599 …s->time->z = timelib_parse_zone(&ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapp… in scan()
24895 in.tzdb = tzdb; in timelib_strtotime()
25066 in.tzdb = tzdb; in timelib_parse_from_format_with_map()
[all …]
/php-src/ext/date/
H A Dphp_date.h146 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
H A Dphp_date.c238 static const char* guess_timezone(const timelib_tzdb *tzdb);
487 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
525 return php_date_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile_wrapper()
1043 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument
1048 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
5323 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
5343 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
5350 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
5363 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
5367 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]

Completed in 68 milliseconds