Home
last modified time | relevance | path

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

/PHP-8.0/ext/date/lib/
H A Dtimelib.h301 float gmtoffset; member
535 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re685 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd…
700 if (gmtoffset == -1) {
704 if (tp->gmtoffset == gmtoffset) {
716 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) {
738 value = tp->gmtoffset;
2577 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2581 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c687 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
702 if (gmtoffset == -1) { in abbr_search()
706 if (tp->gmtoffset == gmtoffset) { in abbr_search()
718 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { in abbr_search()
740 value = tp->gmtoffset; in timelib_lookup_abbr()
25807 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25811 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-8.0/ext/date/
H A Dphp_date.c3585 zend_long gmtoffset = -1; in PHP_FUNCTION() local
3591 Z_PARAM_LONG(gmtoffset) in PHP_FUNCTION()
3595 tzid = timelib_timezone_id_from_abbr(ZSTR_VAL(abbr), gmtoffset, isdst); in PHP_FUNCTION()
4467 add_assoc_long_ex(&element, "offset", sizeof("offset") - 1, entry->gmtoffset); in PHP_FUNCTION()

Completed in 76 milliseconds