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
754 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
803 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
1009 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
4471 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
9801 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
12076 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
13467 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
15816 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
24740 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrappe argument
24851 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.c535 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC);
886 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; local
890 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version);
892 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb TSRMLS_CC));
900 static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb TSRMLS_DC)
913 tzi = timelib_parse_tzfile(formal_tzname, tzdb);
920 timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb) argument
923 return php_date_parse_tzfile(formal_tzname, tzdb TSRMLS_CC);
949 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC)
961 && Z_TYPE(ztz) == IS_STRING && Z_STRLEN(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL(ztz), tzdb)) {
1401 php_date_set_tzdb(timelib_tzdb *tzdb) argument
4484 const timelib_tzdb *tzdb; local
4524 const timelib_tzdb *tzdb; local
[all...]

Completed in 42 milliseconds