Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/lib/
H A Dtimelib_structs.h283 float gmtoffset; member
H A Dtimelib.h90 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re681 const static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd…
696 if (gmtoffset == -1) {
700 if (tp->gmtoffset == gmtoffset) {
712 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) {
734 value = -tp->gmtoffset / 60;
2220 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2224 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c683 const static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
698 if (gmtoffset == -1) { in abbr_search()
702 if (tp->gmtoffset == gmtoffset) { in abbr_search()
714 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) { in abbr_search()
736 value = -tp->gmtoffset / 60; in timelib_lookup_abbr()
24331 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
24335 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-5.6/ext/date/
H A Dphp_date.c325 ZEND_ARG_INFO(0, gmtoffset)
3851 long gmtoffset = -1; in PHP_FUNCTION() local
3854 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &abbr, &abbr_len, &gmtoffset, &isdst)… in PHP_FUNCTION()
3857 tzid = timelib_timezone_id_from_abbr(abbr, gmtoffset, isdst); in PHP_FUNCTION()
4666 add_assoc_long(element, "offset", entry->gmtoffset); in PHP_FUNCTION()

Completed in 86 milliseconds