Home
last modified time | relevance | path

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

/PHP-7.4/ext/date/lib/
H A Dtimelib.h404 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 Dparse_tz.c415 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 Dparse_date.re139 const timelib_tzdb *tzdb;
854 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) {
1243 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1284 … s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1309 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1511 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1614 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1727 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1780 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1876 in.tzdb = tzdb;
[all …]
H A Dparse_date.c141 const timelib_tzdb *tzdb; member
856 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { in timelib_parse_zone()
1038 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
4917 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
9356 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
11633 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
13117 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
15591 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
24984 in.tzdb = tzdb; in timelib_strtotime()
25152 in.tzdb = tzdb; in timelib_parse_from_format_with_map()
[all …]
/PHP-7.4/ext/date/
H A Dphp_date.c948 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
986 return php_date_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile_wrapper()
1014 static char* guess_timezone(const timelib_tzdb *tzdb) in guess_timezone() argument
1469 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument
1474 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
4885 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4904 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4911 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4926 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4928 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]
H A Dphp_date.h214 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);

Completed in 58 milliseconds