Lines Matching refs:tzdb

574 static char* guess_timezone(const timelib_tzdb *tzdb);
959 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
964 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version); in PHP_MINFO_FUNCTION()
966 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb)); in PHP_MINFO_FUNCTION()
974 static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb) in php_date_parse_tzfile() argument
988 tzi = timelib_parse_tzfile(formal_tzname, tzdb, &dummy_error_code); in php_date_parse_tzfile()
995 timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb, int *d… in php_date_parse_tzfile_wrapper() argument
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
1037 …(ztz) == IS_STRING && Z_STRLEN_P(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL_P(ztz), tzdb)) { in guess_timezone()
1045 if (!timelib_timezone_id_is_valid(DATEG(default_timezone), tzdb)) { in guess_timezone()
1480 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) in php_date_set_tzdb() argument
1484 if (php_version_compare(tzdb->version, builtin->version) > 0) { in php_date_set_tzdb()
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()
4834 table = timelib_timezone_identifiers_list((timelib_tzdb*) tzdb, &item_count); in PHP_FUNCTION()
4840 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4843 …_DATE_TIMEZONE_GROUP_ALL_W_BC || (check_id_allowed(table[i].id, what) && (tzdb->data[table[i].pos … in PHP_FUNCTION()
4855 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4857 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4858 RETURN_STRING(tzdb->version); in PHP_FUNCTION()