Home
last modified time | relevance | path

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

/PHP-7.2/ext/intl/timezone/
H A Dtimezone_class.cpp129 U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, in timezone_process_timezone_argument() argument
137 if (zv_timezone == NULL || Z_TYPE_P(zv_timezone) == IS_NULL) { in timezone_process_timezone_argument()
140 zv_timezone = &local_zv_tz; in timezone_process_timezone_argument()
145 if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
146 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument()
147 TimeZone_object *to = Z_INTL_TIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
168 } else if (Z_TYPE_P(zv_timezone) == IS_OBJECT && in timezone_process_timezone_argument()
171 php_timezone_obj *tzobj = Z_PHPTIMEZONE_P(zv_timezone); in timezone_process_timezone_argument()
180 convert_to_string_ex(zv_timezone); in timezone_process_timezone_argument()
181 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 &zv_timezone, php_date_get_timezone_ce()) == FAILURE) { in PHP_FUNCTION()
86 tzobj = Z_PHPTIMEZONE_P(zv_timezone); in PHP_FUNCTION()
/PHP-7.2/ext/intl/calendar/
H A Dcalendar_methods.cpp52 zval *zv_timezone = NULL; in PHP_FUNCTION() local
60 &zv_timezone, &locale_str, &dummy) == FAILURE) { in PHP_FUNCTION()
66 timeZone = timezone_process_timezone_argument(zv_timezone, NULL, in PHP_FUNCTION()
330 zval *zv_timezone; in PHP_FUNCTION() local
335 "Oz!", &object, Calendar_ce_ptr, &zv_timezone) == FAILURE) { in PHP_FUNCTION()
343 if (zv_timezone == NULL) { in PHP_FUNCTION()
347 timeZone = timezone_process_timezone_argument(zv_timezone, in PHP_FUNCTION()

Completed in 18 milliseconds