Lines Matching refs:type

676 static zval *date_interval_read_property(zval *object, zval *member, int type, void **cache_slot, z…
678 static zval *date_interval_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_…
679 static zval *date_period_read_property(zval *object, zval *member, int type, void **cache_slot, zva…
681 static zval *date_period_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_sl…
2049 if (implementor->type == ZEND_USER_CLASS && in implement_date_interface_handler()
2059 static int date_interval_has_property(zval *object, zval *member, int type, void **cache_slot) /* {… in date_interval_has_property() argument
2080 retval = zend_std_has_property(object, member, type, cache_slot); in date_interval_has_property()
2090 if (type == 2) { in date_interval_has_property()
2092 } else if (type == 1) { in date_interval_has_property()
2094 } else if (type == 0) { in date_interval_has_property()
2098 retval = zend_std_has_property(object, member, type, cache_slot); in date_interval_has_property()
2374 new_obj->type = old_obj->type; in date_object_clone_timezone()
2376 switch (new_obj->type) { in date_object_clone_timezone()
2405 if (o1->type != o2->type) { in date_object_compare_timezone()
2410 switch (o1->type) { in date_object_compare_timezone()
2423 switch (tzobj->type) { in php_timezone_to_string()
2468 ZVAL_LONG(&zv, tzobj->type); in date_object_get_properties_for_timezone()
2489 ZVAL_LONG(&zv, tzobj->type); in date_object_get_debug_info_timezone()
2565 PHP_DATE_INTERVAL_ADD_PROPERTY("special_type", special.type); in date_object_get_properties_interval()
2626 if (intern->type == TIMELIB_ZONETYPE_ABBR) { in date_object_free_storage_timezone()
2702 int type = TIMELIB_ZONETYPE_ID, new_dst = 0; in php_date_initialize() local
2736 switch (tzobj->type) { in php_date_initialize()
2749 type = tzobj->type; in php_date_initialize()
2757 now->zone_type = type; in php_date_initialize()
2758 switch (type) { in php_date_initialize()
2999 tzobj->type = TIMELIB_ZONETYPE_ID; in php_date_initialize_from_hash()
3174 …if (parsed_time->relative.have_special_relative && (parsed_time->relative.special.type == TIMELIB_… in php_date_do_return_parsed_time()
3466 tzobj->type = t->zone_type; in set_timezone_from_timelib_time()
3516 switch (tzobj->type) { in php_date_timezone_set()
4054 switch (tzobj->type) { in PHP_FUNCTION()
4085 if (tzobj->type != TIMELIB_ZONETYPE_ID) { in PHP_FUNCTION()
4093 add_assoc_long(&element, "offset", tzobj->tzi.tz->type[0].offset); \ in PHP_FUNCTION()
4094 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[0].isdst); \ in PHP_FUNCTION()
4095 …add_assoc_string(&element, "abbr", &tzobj->tzi.tz->timezone_abbr[tzobj->tzi.tz->type[0].abbr_idx])… in PHP_FUNCTION()
4102 add_assoc_long(&element, "offset", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].offset); \ in PHP_FUNCTION()
4103 add_assoc_bool(&element, "isdst", tzobj->tzi.tz->type[tzobj->tzi.tz->trans_idx[i]].isdst); \ in PHP_FUNCTION()
4104 …add_assoc_string(&element, "abbr", &tzobj->tzi.tz->timezone_abbr[tzobj->tzi.tz->type[tzobj->tzi.tz… in PHP_FUNCTION()
4164 if (tzobj->type != TIMELIB_ZONETYPE_ID) { in PHP_FUNCTION()
4220 static zval *date_interval_read_property(zval *object, zval *member, int type, void **cache_slot, z… in date_interval_read_property() argument
4241 retval = zend_std_read_property(object, member, type, cache_slot, rv); in date_interval_read_property()
4267 retval = zend_std_read_property(object, member, type, cache_slot, rv); in date_interval_read_property()
4351 static zval *date_interval_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_… in date_interval_get_property_ptr_ptr() argument
4377 ret = zend_std_get_property_ptr_ptr(object, member, type, cache_slot); in date_interval_get_property_ptr_ptr()
4480 PHP_DATE_INTERVAL_READ_PROPERTY("special_type", special.type, unsigned int, 0); in php_date_interval_initialize_from_hash()
4947 add_assoc_bool_ex(&element, "dst", sizeof("dst") -1, entry->type); in PHP_FUNCTION()
5432 static zval *date_period_read_property(zval *object, zval *member, int type, void **cache_slot, zva… in date_period_read_property() argument
5434 if (type != BP_VAR_IS && type != BP_VAR_R) { in date_period_read_property()
5446 return zend_std_read_property(object, member, type, cache_slot, rv); in date_period_read_property()
5466 static zval *date_period_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_sl… in date_period_get_property_ptr_ptr() argument
5476 return zend_std_get_property_ptr_ptr(object, member, type, cache_slot); in date_period_get_property_ptr_ptr()