Home
last modified time | relevance | path

Searched refs:gmtoffset (Results 1 – 5 of 5) sorted by relevance

/PHP-5.4/ext/date/lib/
H A Dtimelib_structs.h197 float gmtoffset; member
H A Dtimelib.h74 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst);
H A Dparse_date.re706 const static timelib_tz_lookup_table* zone_search(const char *word, long gmtoffset, int isdst)
721 if (gmtoffset == -1) {
725 if (tp->gmtoffset == gmtoffset) {
739 if (gmtoffset == -1) {
743 if (tp->gmtoffset == gmtoffset) {
756 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) {
778 value = -tp->gmtoffset / 60;
2265 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst)
2269 tp = zone_search(abbr, gmtoffset, isdst);
H A Dparse_date.c708 const static timelib_tz_lookup_table* zone_search(const char *word, long gmtoffset, int isdst) in zone_search() argument
723 if (gmtoffset == -1) { in zone_search()
727 if (tp->gmtoffset == gmtoffset) { in zone_search()
741 if (gmtoffset == -1) { in zone_search()
745 if (tp->gmtoffset == gmtoffset) { in zone_search()
758 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) { in zone_search()
780 value = -tp->gmtoffset / 60; in timelib_lookup_zone()
25256 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25260 tp = zone_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-5.4/ext/date/
H A Dphp_date.c319 ZEND_ARG_INFO(0, gmtoffset)
3324 long gmtoffset = -1; in PHP_FUNCTION() local
3327 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &abbr, &abbr_len, &gmtoffset, &isdst)… in PHP_FUNCTION()
3330 tzid = timelib_timezone_id_from_abbr(abbr, gmtoffset, isdst); in PHP_FUNCTION()
4054 add_assoc_long(element, "offset", entry->gmtoffset); in PHP_FUNCTION()

Completed in 60 milliseconds