Home
last modified time | relevance | path

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

/php-src/ext/date/lib/
H A Dtimelib.h348 float gmtoffset; member
588 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst);
H A Dparse_date.re768 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd…
783 if (gmtoffset == -1) {
787 if (tp->gmtoffset == gmtoffset) {
799 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) {
827 value = tp->gmtoffset;
2720 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst)
2724 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c770 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
785 if (gmtoffset == -1) { in abbr_search()
789 if (tp->gmtoffset == gmtoffset) { in abbr_search()
801 if (fmp->gmtoffset == gmtoffset && fmp->type == isdst) { in abbr_search()
829 value = tp->gmtoffset; in timelib_lookup_abbr()
25570 const char *timelib_timezone_id_from_abbr(const char *abbr, timelib_long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25574 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/php-src/ext/date/
H A Dphp_date.c4231 zend_long gmtoffset = -1; in PHP_FUNCTION() local
4237 Z_PARAM_LONG(gmtoffset) in PHP_FUNCTION()
4241 tzid = timelib_timezone_id_from_abbr(ZSTR_VAL(abbr), gmtoffset, isdst); in PHP_FUNCTION()
5387 add_assoc_long_ex(&element, "offset", sizeof("offset") - 1, entry->gmtoffset); in PHP_FUNCTION()

Completed in 61 milliseconds