Home
last modified time | relevance | path

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

/PHP-7.1/ext/date/lib/
H A Dtimelib_structs.h284 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.re695 const static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd…
710 if (gmtoffset == -1) {
714 if (tp->gmtoffset == gmtoffset) {
726 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) {
748 value = -tp->gmtoffset / 60;
2269 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2273 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c697 const static timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
712 if (gmtoffset == -1) { in abbr_search()
716 if (tp->gmtoffset == gmtoffset) { in abbr_search()
728 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) { in abbr_search()
750 value = -tp->gmtoffset / 60; in timelib_lookup_abbr()
25375 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25379 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-7.1/ext/date/
H A Dphp_date.c329 ZEND_ARG_INFO(0, gmtoffset)
3945 zend_long gmtoffset = -1; in PHP_FUNCTION() local
3948 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &abbr, &abbr_len, &gmtoffset, &isdst) == FAILUR… in PHP_FUNCTION()
3951 tzid = timelib_timezone_id_from_abbr(abbr, gmtoffset, isdst); in PHP_FUNCTION()
4805 add_assoc_long_ex(&element, "offset", sizeof("offset") - 1, entry->gmtoffset); in PHP_FUNCTION()

Completed in 58 milliseconds