tzdb 163 ext/date/lib/parse_date.c const timelib_tzdb *tzdb; tzdb 743 ext/date/lib/parse_date.c timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper) tzdb 788 ext/date/lib/parse_date.c if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { tzdb 969 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 4415 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 9729 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 11990 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 13365 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 15706 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 24623 ext/date/lib/parse_date.c timelib_time* timelib_strtotime(char *s, size_t len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) tzdb 24673 ext/date/lib/parse_date.c in.tzdb = tzdb; tzdb 24734 ext/date/lib/parse_date.c timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) tzdb 24761 ext/date/lib/parse_date.c in.tzdb = tzdb; tzdb 24933 ext/date/lib/parse_date.c s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); tzdb 199 ext/date/lib/parse_iso_intervals.c static timelib_long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) tzdb 305 ext/date/lib/parse_tz.c static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) tzdb 307 ext/date/lib/parse_tz.c int left = 0, right = tzdb->index_size - 1; tzdb 320 ext/date/lib/parse_tz.c int cmp = strcasecmp(timezone, tzdb->index[mid].id); tzdb 327 ext/date/lib/parse_tz.c (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); tzdb 355 ext/date/lib/parse_tz.c int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) tzdb 358 ext/date/lib/parse_tz.c return (seek_to_tz_position(&tzf, timezone, tzdb)); tzdb 380 ext/date/lib/parse_tz.c timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) tzdb 386 ext/date/lib/parse_tz.c if (seek_to_tz_position(&tzf, timezone, tzdb)) { tzdb 74 ext/date/lib/timelib.h typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb); tzdb 87 ext/date/lib/timelib.h timelib_time *timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper); tzdb 88 ext/date/lib/timelib.h timelib_time *timelib_parse_from_format(char *format, char *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper); tzdb 116 ext/date/lib/timelib.h int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb); tzdb 117 ext/date/lib/timelib.h timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb); tzdb 124 ext/date/lib/timelib.h timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper); tzdb 542 ext/date/php_date.c static char* guess_timezone(const timelib_tzdb *tzdb); tzdb 903 ext/date/php_date.c const timelib_tzdb *tzdb = DATE_TIMEZONEDB; tzdb 907 ext/date/php_date.c php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version); tzdb 909 ext/date/php_date.c php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb)); tzdb 917 ext/date/php_date.c static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb) tzdb 930 ext/date/php_date.c tzi = timelib_parse_tzfile(formal_tzname, tzdb); tzdb 937 ext/date/php_date.c timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb) tzdb 939 ext/date/php_date.c return php_date_parse_tzfile(formal_tzname, tzdb); tzdb 967 ext/date/php_date.c static char* guess_timezone(const timelib_tzdb *tzdb) tzdb 979 ext/date/php_date.c && Z_TYPE_P(ztz) == IS_STRING && Z_STRLEN_P(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL_P(ztz), tzdb)) { tzdb 987 ext/date/php_date.c if (!timelib_timezone_id_is_valid(DATEG(default_timezone), tzdb)) { tzdb 1416 ext/date/php_date.c PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb) tzdb 1420 ext/date/php_date.c if (php_version_compare(tzdb->version, builtin->version) > 0) { tzdb 1421 ext/date/php_date.c php_date_global_timezone_db = tzdb; tzdb 4509 ext/date/php_date.c const timelib_tzdb *tzdb; tzdb 4526 ext/date/php_date.c tzdb = DATE_TIMEZONEDB; tzdb 4527 ext/date/php_date.c item_count = tzdb->index_size; tzdb 4528 ext/date/php_date.c table = tzdb->index; tzdb 4534 ext/date/php_date.c if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { tzdb 4537 ext/date/php_date.c } else if (what == PHP_DATE_TIMEZONE_GROUP_ALL_W_BC || (check_id_allowed(table[i].id, what) && (tzdb->data[table[i].pos + 4] == '\1'))) { tzdb 4549 ext/date/php_date.c const timelib_tzdb *tzdb; tzdb 4551 ext/date/php_date.c tzdb = DATE_TIMEZONEDB; tzdb 4552 ext/date/php_date.c RETURN_STRING(tzdb->version); tzdb 218 ext/date/php_date.h PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);