Home
last modified time | relevance | path

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

/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp131 U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, in timezone_process_timezone_argument() argument
139 if (zv_timezone == NULL || Z_TYPE_P(zv_timezone) == IS_NULL) { in timezone_process_timezone_argument()
142 zv_timezone = &local_zv_tz; in timezone_process_timezone_argument()
147 if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
148 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument()
149 TimeZone_object *to = Z_INTL_TIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
170 } else if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
173 php_timezone_obj *tzobj = Z_PHPTIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
181 if (!try_convert_to_string(zv_timezone)) { in timezone_process_timezone_argument()
185 if (intl_stringFromChar(id, Z_STRVAL_P(zv_timezone), Z_STRLEN_P(zv_timezone), in timezone_process_timezone_argument()
[all …]
H A Dtimezone_class.h70 TimeZone *timezone_process_timezone_argument(zval *zv_timezone, intl_error *error, const char *func…
H A Dtimezone_methods.cpp78 zval *zv_timezone; in PHP_FUNCTION() local
84 &zv_timezone, php_date_get_timezone_ce()) == FAILURE) { in PHP_FUNCTION()
90 tzobj = Z_PHPTIMEZONE_P(zv_timezone); in PHP_FUNCTION()
/PHP-7.4/ext/intl/calendar/
H A Dcalendar_methods.cpp57 zval *zv_timezone = NULL; in PHP_FUNCTION() local
65 &zv_timezone, &locale_str, &dummy) == FAILURE) { in PHP_FUNCTION()
71 timeZone = timezone_process_timezone_argument(zv_timezone, NULL, in PHP_FUNCTION()
333 zval *zv_timezone; in PHP_FUNCTION() local
338 "Oz!", &object, Calendar_ce_ptr, &zv_timezone) == FAILURE) { in PHP_FUNCTION()
346 if (zv_timezone == NULL) { in PHP_FUNCTION()
350 timeZone = timezone_process_timezone_argument(zv_timezone, in PHP_FUNCTION()

Completed in 17 milliseconds