Home
last modified time | relevance | path

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

/PHP-7.0/ext/date/lib/
H A Dtimelib.h74 typedef timelib_tzinfo* (*timelib_tz_get_wrapper)(char *tzname, const timelib_tzdb *tzdb);
87 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
88 …har *s, size_t len, timelib_error_container **errors, const timelib_tzdb *tzdb, timelib_tz_get_wra…
116 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb);
117 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb);
124 … **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wra…
H A Dparse_tz.c305 static int seek_to_tz_position(const unsigned char **tzf, char *timezone, const timelib_tzdb *tzdb) in seek_to_tz_position() argument
307 int left = 0, right = tzdb->index_size - 1; in seek_to_tz_position()
320 int cmp = strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
327 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
355 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb) in timelib_timezone_id_is_valid() argument
358 return (seek_to_tz_position(&tzf, timezone, tzdb)); in timelib_timezone_id_is_valid()
380 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb) in timelib_parse_tzfile() argument
386 if (seek_to_tz_position(&tzf, timezone, tzdb)) { in timelib_parse_tzfile()
H A Dparse_date.re162 const timelib_tzdb *tzdb;
791 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) {
1151 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1192 … s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper);
1217 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1419 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1522 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1635 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1688 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz…
1784 in.tzdb = tzdb;
[all …]
H A Dparse_iso_intervals.re197 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb)
H A Dparse_iso_intervals.c199 …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.c164 const timelib_tzdb *tzdb; member
793 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_parse_zone()
975 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
4481 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
8792 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
11066 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
12451 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
14796 …s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz… in scan()
23895 in.tzdb = tzdb; in timelib_strtotime()
23988 in.tzdb = tzdb; in timelib_parse_from_format()
[all …]
/PHP-7.0/ext/date/
H A Dphp_date.c910 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local
938 tzi = timelib_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile()
1431 php_date_global_timezone_db = tzdb; in php_date_set_tzdb()
4613 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4630 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
4631 item_count = tzdb->index_size; in PHP_FUNCTION()
4632 table = tzdb->index; in PHP_FUNCTION()
4638 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION()
4653 const timelib_tzdb *tzdb; in PHP_FUNCTION() local
4655 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION()
[all …]
H A Dphp_date.h218 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);

Completed in 87 milliseconds