Searched defs:tzdb (Results 1 - 4 of 4) sorted by relevance
| /PHP_TRUNK/ext/date/lib/ |
| H A D | parse_tz.c | 259 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 D | parse_iso_intervals.c | 193 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) argument
|
| H A D | parse_date.c | 158 const timelib_tzdb *tzdb; member in struct:Scanner 753 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper) argument 802 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { 1008 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 4470 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 9800 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 12075 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 13466 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 15815 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper); 24739 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wrappe argument 24850 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 D | php_date.c | 530 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC); 873 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; local 877 php_info_print_table_row(2, "\"Olson\" Timezone Database Version", tzdb->version); 879 php_info_print_table_row(2, "Default timezone", guess_timezone(tzdb TSRMLS_CC)); 887 static timelib_tzinfo *php_date_parse_tzfile(char *formal_tzname, const timelib_tzdb *tzdb TSRMLS_DC) 900 tzi = timelib_parse_tzfile(formal_tzname, tzdb); 907 timelib_tzinfo *php_date_parse_tzfile_wrapper(char *formal_tzname, const timelib_tzdb *tzdb) argument 910 return php_date_parse_tzfile(formal_tzname, tzdb TSRMLS_CC); 936 static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC) 948 && Z_TYPE(ztz) == IS_STRING && Z_STRLEN(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL(ztz), tzdb)) { 1388 php_date_set_tzdb(timelib_tzdb *tzdb) argument 4485 const timelib_tzdb *tzdb; local 4525 const timelib_tzdb *tzdb; local [all...] |
Completed in 29 milliseconds