Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/lib/
H A Dtimelib_structs.h207 float gmtoffset; member
H A Dtimelib.h77 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst);
H A Dparse_date.re671 const static timelib_tz_lookup_table* abbr_search(const char *word, long gmtoffset, int isdst)
686 if (gmtoffset == -1) {
690 if (tp->gmtoffset == gmtoffset) {
702 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) {
724 value = -tp->gmtoffset / 60;
2205 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst)
2209 tp = abbr_search(abbr, gmtoffset, isdst);
H A Dparse_date.c673 const static timelib_tz_lookup_table* abbr_search(const char *word, long gmtoffset, int isdst) in abbr_search() argument
688 if (gmtoffset == -1) { in abbr_search()
692 if (tp->gmtoffset == gmtoffset) { in abbr_search()
704 if ((fmp->gmtoffset * 60) == gmtoffset && fmp->type == isdst) { in abbr_search()
726 value = -tp->gmtoffset / 60; in timelib_lookup_abbr()
25196 char *timelib_timezone_id_from_abbr(const char *abbr, long gmtoffset, int isdst) in timelib_timezone_id_from_abbr() argument
25200 tp = abbr_search(abbr, gmtoffset, isdst); in timelib_timezone_id_from_abbr()
/PHP-5.5/ext/date/
H A Dphp_date.c321 ZEND_ARG_INFO(0, gmtoffset)
3816 long gmtoffset = -1; in PHP_FUNCTION() local
3819 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &abbr, &abbr_len, &gmtoffset, &isdst)… in PHP_FUNCTION()
3822 tzid = timelib_timezone_id_from_abbr(abbr, gmtoffset, isdst); in PHP_FUNCTION()
4548 add_assoc_long(element, "offset", entry->gmtoffset); in PHP_FUNCTION()

Completed in 52 milliseconds