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

/PHP_TRUNK/ext/date/lib/
H A Dparse_iso_intervals.c193 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) argument
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 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, int len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrappe argument
24826 timelib_parse_from_format(char *format, char *string, int len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_get_wrapper) argument
[all...]
/PHP_TRUNK/ext/date/
H A Dphp_date.c521 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC);
872 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; local
876 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version);
878 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb TSRMLS_CC));
886 static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb TSRMLS_DC)
899 tzi = timelib_parse_tzfile(formal_tzname, tzdb);
906 timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb) argument
909 return php_date_parse_tzfile(formal_tzname, tzdb TSRMLS_CC);
935 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC)
947 && Z_TYPE(ztz) == IS_STRING && Z_STRSIZE(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL(ztz), tzdb)) {
1384 php_date_set_tzdb(timelib_tzdb *tzdb) argument
4419 const timelib_tzdb *tzdb; local
4459 const timelib_tzdb *tzdb; local
[all...]

Completed in 29 milliseconds