Home
last modified time | relevance | path

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

/php-src/ext/intl/timezone/
H A Dtimezone_class.cpp130 U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, in timezone_process_timezone_argument() argument
138 if (zv_timezone == NULL || Z_TYPE_P(zv_timezone) == IS_NULL) { in timezone_process_timezone_argument()
141 zv_timezone = &local_zv_tz; in timezone_process_timezone_argument()
146 if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
147 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument()
148 TimeZone_object *to = Z_INTL_TIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
171 } else if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
174 php_timezone_obj *tzobj = Z_PHPTIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
182 if (!try_convert_to_string(zv_timezone)) { in timezone_process_timezone_argument()
186 if (intl_stringFromChar(id, Z_STRVAL_P(zv_timezone), Z_STRLEN_P(zv_timezone), in timezone_process_timezone_argument()
[all …]
H A Dtimezone_class.h68 TimeZone *timezone_process_timezone_argument(zval *zv_timezone, intl_error *error, const char *func…
H A Dtimezone_methods.cpp74 zval *zv_timezone; in PHP_FUNCTION() local
80 Z_PARAM_OBJECT_OF_CLASS(zv_timezone, php_date_get_timezone_ce()) in PHP_FUNCTION()
83 tzobj = Z_PHPTIMEZONE_P(zv_timezone); in PHP_FUNCTION()
/php-src/ext/intl/calendar/
H A Dcalendar_methods.cpp75 zval *zv_timezone = NULL; in PHP_FUNCTION() local
84 Z_PARAM_ZVAL(zv_timezone) in PHP_FUNCTION()
88 timeZone = timezone_process_timezone_argument(zv_timezone, NULL, in PHP_FUNCTION()
303 zval *zv_timezone; in PHP_FUNCTION() local
308 "Oz!", &object, Calendar_ce_ptr, &zv_timezone) == FAILURE) { in PHP_FUNCTION()
314 if (zv_timezone == NULL) { in PHP_FUNCTION()
318 timeZone = timezone_process_timezone_argument(zv_timezone, in PHP_FUNCTION()

Completed in 15 milliseconds