/PHP-5.4/ext/date/lib/ |
H A D | timelib.h | 58 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… 99 int timelib_timezone_id_is_valid(char *timezone, const timelib_tzdb *tzdb); 100 timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb);
|
H A D | parse_tz.c | 259 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 D | parse_date.re | 156 const timelib_tzdb *tzdb; 839 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { 1202 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1243 s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, s->tzdb, tz_get_wrapper); 1268 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1470 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1573 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1686 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1739 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… 1835 in.tzdb = tzdb; [all …]
|
H A D | parse_iso_intervals.re | 226 …imelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb)
|
H A D | parse_iso_intervals.c | 228 …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 D | parse_date.c | 158 const timelib_tzdb *tzdb; member 841 if ((res = tz_wrapper(tz_abbr, tzdb)) != NULL) { in timelib_get_zone() 1028 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan() 4490 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan() 9820 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan() 12095 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan() 13486 …s->time->z = timelib_get_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_g… in scan() 15835 …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.4/ext/date/ |
H A D | php_date.c | 841 const timelib_tzdb *tzdb = DATE_TIMEZONEDB; in PHP_MINFO_FUNCTION() local 868 tzi = timelib_parse_tzfile(formal_tzname, tzdb); in php_date_parse_tzfile() 1361 php_date_global_timezone_db = tzdb; in php_date_set_tzdb() 3991 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4008 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() 4009 item_count = tzdb->index_size; in PHP_FUNCTION() 4010 table = tzdb->index; in PHP_FUNCTION() 4016 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) { in PHP_FUNCTION() 4031 const timelib_tzdb *tzdb; in PHP_FUNCTION() local 4033 tzdb = DATE_TIMEZONEDB; in PHP_FUNCTION() [all …]
|
H A D | php_date.h | 174 PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
|