Lines Matching refs:tzdb

238 static const char* guess_timezone(const timelib_tzdb *tzdb);
488 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
493 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version); in PHP_MINFO_FUNCTION()
495 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb)); in PHP_MINFO_FUNCTION()
503 static timelib_tzinfo *php_date_parse_tzfile(const char *formal_tzname, const timelib_tzdb *tzdb) in php_date_parse_tzfile() argument
517 tzi = timelib_parse_tzfile(formal_tzname, tzdb, &dummy_error_code); in php_date_parse_tzfile()
524 …_date_parse_tzfile_wrapper(const char *formal_tzname, const timelib_tzdb *tzdb, int *dummy_error_c… in php_date_parse_tzfile_wrapper() argument
526 return php_date_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile_wrapper()
553 static const char* guess_timezone(const timelib_tzdb *tzdb) in guess_timezone() argument
565 …(ztz) == IS_STRING && Z_STRLEN_P(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL_P(ztz), tzdb)) { in guess_timezone()
1038 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument
1042 if (php_version_compare(tzdb->version, builtin->version) > 0) { in php_date_set_tzdb()
1043 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
5131 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
5151 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
5152 table = timelib_timezone_identifiers_list((timelib_tzdb*) tzdb, &item_count); in PHP_FUNCTION()
5158 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
5161 …_DATE_TIMEZONE_GROUP_ALL_W_BC || (check_id_allowed(table[i].id, what) && (tzdb->data[table[i].pos … in PHP_FUNCTION()
5171 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
5175 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
5176 RETURN_STRING(tzdb->version); in PHP_FUNCTION()