Home
last modified time | relevance | path

Searched refs:tzdb (Results 1 – 8 of 8) sorted by relevance

/PHP-5.5/ext/date/lib/
H A Dtimelib.h61 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb);
74 …e(char *s, int len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
75 …, char *s, int len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
103 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb);
104 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb);
111 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra…
H A Dparse_tz.c299 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) in seek_to_tz_position() argument
301 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position()
314 int cmp = strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
321 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
349 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument
352 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid()
374 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) in timelib_parse_tzfile() argument
380 if (seek_to_tz_position(&tzf, timezone, tzdb)) { in timelib_parse_tzfile()
H A Dparse_date.re156 const timelib_tzdb *tzdb;
781 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
1141 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1182 … s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1207 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1409 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1512 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1625 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1678 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1774 in.tzdb = tzdb;
[all …]
H A Dparse_iso_intervals.re191 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb)
H A Dparse_iso_intervals.c193 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) in timelib_get_zone() argument
H A Dparse_date.c158 const timelib_tzdb *tzdb; member
783 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_parse_zone()
967 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
4429 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
9759 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
12034 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
13425 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
15774 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
24765 in.tzdb = tzdb; in timelib_strtotime()
24853 in.tzdb = tzdb; in timelib_parse_from_format()
[all …]
/PHP-5.5/ext/date/
H A Dphp_date.c891 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
918 tzi = timelib_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile()
1411 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
4485 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4502 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4503 item_count = tzdb->index_size; in PHP_FUNCTION()
4504 table = tzdb->index; in PHP_FUNCTION()
4510 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4525 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4527 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]
H A Dphp_date.h191 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);

Completed in 52 milliseconds