Searched defs:tzdb (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/date/lib/
H A Dparse_tz.c259 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) argument
261 int left = 0, right = tzdb->index_size - 1;
274 int cmp = strcasecmp(timezone, tzdb->index[mid].id);
281 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]);
309 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) argument
312 return (seek_to_tz_position(&tzf, timezone, tzdb));
315 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) argument
320 if (seek_to_tz_position(&tzf, timezone, tzdb)) {
H A Dparse_date.c158 const timelib_tzdb *tzdb; member in struct:Scanner
738 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) argument
783 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
967 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
4429 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
9759 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
12034 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
13425 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
15774 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
24715 timelib_time* timelib_strtotime(char *s, size_t len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrappe argument
24826 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) argument
[all...]
H A Dparse_iso_intervals.c193 static timelib_long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) argument
/PHP_TRUNK/ext/date/
H A Dphp_date.c539 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC);
890 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; local
894 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version);
896 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb TSRMLS_CC));
904 static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb TSRMLS_DC)
917 tzi = timelib_parse_tzfile(formal_tzname, tzdb);
924 timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb) argument
927 return php_date_parse_tzfile(formal_tzname, tzdb TSRMLS_CC);
953 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC)
965 && Z_TYPE_P(ztz) == IS_STRING && Z_STRLEN_P(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL_P(ztz), tzdb)) {
1402 php_date_set_tzdb(timelib_tzdb *tzdb) argument
4438 const timelib_tzdb *tzdb; local
4478 const timelib_tzdb *tzdb; local
[all...]

Completed in 30 milliseconds