Home
last modified time | relevance | path

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

/PHP-5.3/ext/date/lib/
H A Dtimelib.h58 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb);
71 …e(char *s, int len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
72 …, char *s, int len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
97 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb);
98 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb);
H A Dparse_tz.c259 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) in seek_to_tz_position() argument
261 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position()
274 int cmp = strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
281 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
309 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument
312 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid()
315 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) in timelib_parse_tzfile() argument
320 if (seek_to_tz_position(&tzf, timezone, tzdb)) { in timelib_parse_tzfile()
H A Dparse_date.re156 const timelib_tzdb *tzdb;
838 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
1200 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1241 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1266 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1468 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1571 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1684 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1737 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g…
1833 in.tzdb = tzdb;
[all …]
H A Dparse_iso_intervals.re226 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb)
H A Dparse_iso_intervals.c228 …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
840 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_get_zone()
1046 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
4508 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
9838 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
12113 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
13504 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
15853 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan()
24826 in.tzdb = tzdb; in timelib_strtotime()
24913 in.tzdb = tzdb; in timelib_parse_from_format()
[all …]
/PHP-5.3/ext/date/
H A Dphp_date.c823 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
850 tzi = timelib_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile()
1383 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
4003 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4020 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4021 item_count = tzdb->index_size; in PHP_FUNCTION()
4022 table = tzdb->index; in PHP_FUNCTION()
4028 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4043 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4045 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]
H A Dphp_date.h178 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);

Completed in 73 milliseconds