Home
last modified time | relevance | path

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

/PHP-7.4/ext/date/lib/
H A Dtimelib.h301 float gmtoffset; member
534 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re672 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd…
687 if (gmtoffset == -1) {
691 if (tp->gmtoffset == gmtoffset) {
703 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) {
725 value = tp->gmtoffset;
2480 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2484 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c674 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
689 if (gmtoffset == -1) { in abbr_search()
693 if (tp->gmtoffset == gmtoffset) { in abbr_search()
705 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { in abbr_search()
727 value = tp->gmtoffset; in timelib_lookup_abbr()
25588 char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25592 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-7.4/ext/date/
H A Dphp_date.c349 ZEND_ARG_INFO(0, gmtoffset)
4016 zend_long gmtoffset = -1; in PHP_FUNCTION() local
4022 Z_PARAM_LONG(gmtoffset) in PHP_FUNCTION()
4026 tzid = timelib_timezone_id_from_abbr(ZSTR_VAL(abbr), gmtoffset, isdst); in PHP_FUNCTION()
4948 add_assoc_long_ex(&element, "offset", sizeof("offset") - 1, entry->gmtoffset); in PHP_FUNCTION()

Completed in 61 milliseconds