Lines Matching refs:object

185 	ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 1)
201 ZEND_ARG_INFO(0, object)
210 ZEND_ARG_INFO(0, object)
219 ZEND_ARG_INFO(0, object)
228 ZEND_ARG_INFO(0, object)
237 ZEND_ARG_INFO(0, object)
244 ZEND_ARG_INFO(0, object)
253 ZEND_ARG_INFO(0, object)
260 ZEND_ARG_INFO(0, object)
266 ZEND_ARG_INFO(0, object)
271 ZEND_ARG_INFO(0, object)
286 ZEND_ARG_INFO(0, object)
299 ZEND_ARG_INFO(0, object)
312 ZEND_ARG_INFO(0, object)
321 ZEND_ARG_INFO(0, object)
341 ZEND_ARG_INFO(0, object)
354 ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
359 ZEND_ARG_INFO(0, object)
363 ZEND_ARG_INFO(0, object)
374 ZEND_ARG_INFO(0, object)
396 ZEND_ARG_INFO(0, object)
648 static void date_object_free_storage_date(zend_object *object);
649 static void date_object_free_storage_timezone(zend_object *object);
650 static void date_object_free_storage_interval(zend_object *object);
651 static void date_object_free_storage_period(zend_object *object);
664 static HashTable *date_object_get_gc(zval *object, zval **table, int *n);
665 static HashTable *date_object_get_properties_for(zval *object, zend_prop_purpose purpose);
666 static HashTable *date_object_get_gc_interval(zval *object, zval **table, int *n);
667 static HashTable *date_object_get_properties_interval(zval *object);
668 static HashTable *date_object_get_gc_period(zval *object, zval **table, int *n);
669 static HashTable *date_object_get_properties_period(zval *object);
670 static HashTable *date_object_get_properties_for_timezone(zval *object, zend_prop_purpose purpose);
671 static HashTable *date_object_get_gc_timezone(zval *object, zval **table, int *n);
672 static HashTable *date_object_get_debug_info_timezone(zval *object, int *is_temp);
676 static zval *date_interval_read_property(zval *object, zval *member, int type, void **cache_slot, z…
677 static zval *date_interval_write_property(zval *object, zval *member, zval *value, void **cache_slo…
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…
680 static zval *date_period_write_property(zval *object, zval *member, zval *value, void **cache_slot);
681 static zval *date_period_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_sl…
1903 php_period_obj *object; member
1934 php_period_obj *object = Z_PHPPERIOD_P(&iterator->intern.data); in date_period_it_has_more() local
1935 timelib_time *it_time = object->current; in date_period_it_has_more()
1938 if (!object->include_start_date || iterator->current_index > 0) { in date_period_it_has_more()
1940 it_time->relative = *object->interval; in date_period_it_has_more()
1946 if (object->end) { in date_period_it_has_more()
1947 return object->current->sse < object->end->sse ? SUCCESS : FAILURE; in date_period_it_has_more()
1949 return (iterator->current_index < object->recurrences) ? SUCCESS : FAILURE; in date_period_it_has_more()
1958 php_period_obj *object = Z_PHPPERIOD_P(&iterator->intern.data); in date_period_it_current_data() local
1959 timelib_time *it_time = object->current; in date_period_it_current_data()
1963 php_date_instantiate(object->start_ce, &iterator->current); in date_period_it_current_data()
2002 if (iterator->object->current) { in date_period_it_rewind()
2003 timelib_time_dtor(iterator->object->current); in date_period_it_rewind()
2005 if (!iterator->object->start) { in date_period_it_rewind()
2009 iterator->object->current = timelib_time_clone(iterator->object->start); in date_period_it_rewind()
2025 zend_object_iterator *date_object_period_get_iterator(zend_class_entry *ce, zval *object, int by_re… in date_object_period_get_iterator() argument
2038 Z_ADDREF_P(object); in date_object_period_get_iterator()
2039 ZVAL_OBJ(&iterator->intern.data, Z_OBJ_P(object)); in date_object_period_get_iterator()
2041 iterator->object = Z_PHPPERIOD_P(object); in date_object_period_get_iterator()
2059 static int date_interval_has_property(zval *object, zval *member, int type, void **cache_slot) /* {… in date_interval_has_property() argument
2077 obj = Z_PHPINTERVAL_P(object); in date_interval_has_property()
2080 retval = zend_std_has_property(object, member, type, cache_slot); in date_interval_has_property()
2087 prop = date_interval_read_property(object, member, BP_VAR_IS, cache_slot, &rv); in date_interval_has_property()
2098 retval = zend_std_has_property(object, member, type, cache_slot); in date_interval_has_property()
2257 static void date_clone_immutable(zval *object, zval *new_object) /* {{{ */ in date_clone_immutable() argument
2259 ZVAL_OBJ(new_object, date_object_clone_date(object)); in date_clone_immutable()
2281 static HashTable *date_object_get_gc(zval *object, zval **table, int *n) /* {{{ */ in date_object_get_gc() argument
2285 return zend_std_get_properties(object); in date_object_get_gc()
2288 static HashTable *date_object_get_gc_timezone(zval *object, zval **table, int *n) /* {{{ */ in date_object_get_gc_timezone() argument
2292 return zend_std_get_properties(object); in date_object_get_gc_timezone()
2295 static HashTable *date_object_get_properties_for(zval *object, zend_prop_purpose purpose) /* {{{ */ in date_object_get_properties_for() argument
2309 return zend_std_get_properties_for(object, purpose); in date_object_get_properties_for()
2312 dateobj = Z_PHPDATE_P(object); in date_object_get_properties_for()
2313 props = zend_array_dup(zend_std_get_properties(object)); in date_object_get_properties_for()
2445 static HashTable *date_object_get_properties_for_timezone(zval *object, zend_prop_purpose purpose) … in date_object_get_properties_for_timezone() argument
2459 return zend_std_get_properties_for(object, purpose); in date_object_get_properties_for_timezone()
2462 tzobj = Z_PHPTIMEZONE_P(object); in date_object_get_properties_for_timezone()
2463 props = zend_array_dup(zend_std_get_properties(object)); in date_object_get_properties_for_timezone()
2477 static HashTable *date_object_get_debug_info_timezone(zval *object, int *is_temp) /* {{{ */ in date_object_get_debug_info_timezone() argument
2483 tzobj = Z_PHPTIMEZONE_P(object); in date_object_get_debug_info_timezone()
2484 props = zend_std_get_properties(object); in date_object_get_debug_info_timezone()
2523 static HashTable *date_object_get_gc_interval(zval *object, zval **table, int *n) /* {{{ */ in date_object_get_gc_interval() argument
2528 return zend_std_get_properties(object); in date_object_get_gc_interval()
2531 static HashTable *date_object_get_properties_interval(zval *object) /* {{{ */ in date_object_get_properties_interval() argument
2537 intervalobj = Z_PHPINTERVAL_P(object); in date_object_get_properties_interval()
2538 props = zend_std_get_properties(object); in date_object_get_properties_interval()
2611 static void date_object_free_storage_date(zend_object *object) /* {{{ */ in date_object_free_storage_date() argument
2613 php_date_obj *intern = php_date_obj_from_obj(object); in date_object_free_storage_date()
2622 static void date_object_free_storage_timezone(zend_object *object) /* {{{ */ in date_object_free_storage_timezone() argument
2624 php_timezone_obj *intern = php_timezone_obj_from_obj(object); in date_object_free_storage_timezone()
2632 static void date_object_free_storage_interval(zend_object *object) /* {{{ */ in date_object_free_storage_interval() argument
2634 php_interval_obj *intern = php_interval_obj_from_obj(object); in date_object_free_storage_interval()
2640 static void date_object_free_storage_period(zend_object *object) /* {{{ */ in date_object_free_storage_period() argument
2642 php_period_obj *intern = php_period_obj_from_obj(object); in date_object_free_storage_period()
2661 PHPAPI zval *php_date_instantiate(zend_class_entry *pce, zval *object) /* {{{ */ in php_date_instantiate() argument
2663 object_init_ex(object, pce); in php_date_instantiate()
2664 return object; in php_date_instantiate()
3062 zval *object = ZEND_THIS; in PHP_METHOD() local
3066 dateobj = Z_PHPDATE_P(object); in PHP_METHOD()
3068 myht = Z_OBJPROP_P(object); in PHP_METHOD()
3227 zval *object; in PHP_FUNCTION() local
3232 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interface, &fo… in PHP_FUNCTION()
3235 dateobj = Z_PHPDATE_P(object); in PHP_FUNCTION()
3241 static int php_date_modify(zval *object, char *modify, size_t modify_len) /* {{{ */ in php_date_modify() argument
3247 dateobj = Z_PHPDATE_P(object); in php_date_modify()
3314 zval *object; in PHP_FUNCTION() local
3318 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_date, &modify,… in PHP_FUNCTION()
3322 if (!php_date_modify(object, modify, modify_len)) { in PHP_FUNCTION()
3326 Z_ADDREF_P(object); in PHP_FUNCTION()
3327 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3335 zval *object, new_object; in PHP_METHOD() local
3339 object = ZEND_THIS; in PHP_METHOD()
3344 date_clone_immutable(object, &new_object); in PHP_METHOD()
3354 static void php_date_add(zval *object, zval *interval, zval *return_value) /* {{{ */ in php_date_add() argument
3360 dateobj = Z_PHPDATE_P(object); in php_date_add()
3375 zval *object, *interval; in PHP_FUNCTION() local
3377 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO", &object, date_ce_date, &interva… in PHP_FUNCTION()
3381 php_date_add(object, interval, return_value); in PHP_FUNCTION()
3383 Z_ADDREF_P(object); in PHP_FUNCTION()
3384 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3392 zval *object, *interval, new_object; in PHP_METHOD() local
3394 object = ZEND_THIS; in PHP_METHOD()
3399 date_clone_immutable(object, &new_object); in PHP_METHOD()
3406 static void php_date_sub(zval *object, zval *interval, zval *return_value) /* {{{ */ in php_date_sub() argument
3412 dateobj = Z_PHPDATE_P(object); in php_date_sub()
3432 zval *object, *interval; in PHP_FUNCTION() local
3434 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO", &object, date_ce_date, &interva… in PHP_FUNCTION()
3438 php_date_sub(object, interval, return_value); in PHP_FUNCTION()
3440 Z_ADDREF_P(object); in PHP_FUNCTION()
3441 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3449 zval *object, *interval, new_object; in PHP_METHOD() local
3451 object = ZEND_THIS; in PHP_METHOD()
3456 date_clone_immutable(object, &new_object); in PHP_METHOD()
3488 zval *object; in PHP_FUNCTION() local
3491 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O", &object, date_ce_interface) == F… in PHP_FUNCTION()
3494 dateobj = Z_PHPDATE_P(object); in PHP_FUNCTION()
3507 static void php_date_timezone_set(zval *object, zval *timezone_object, zval *return_value) /* {{{ */ in php_date_timezone_set() argument
3512 dateobj = Z_PHPDATE_P(object); in php_date_timezone_set()
3535 zval *object; in PHP_FUNCTION() local
3538 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO", &object, date_ce_date, &timezon… in PHP_FUNCTION()
3542 php_date_timezone_set(object, timezone_object, return_value); in PHP_FUNCTION()
3544 Z_ADDREF_P(object); in PHP_FUNCTION()
3545 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3553 zval *object, new_object; in PHP_METHOD() local
3556 object = ZEND_THIS; in PHP_METHOD()
3561 date_clone_immutable(object, &new_object); in PHP_METHOD()
3573 zval *object; in PHP_FUNCTION() local
3577 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O", &object, date_ce_interface) == F… in PHP_FUNCTION()
3580 dateobj = Z_PHPDATE_P(object); in PHP_FUNCTION()
3603 static void php_date_time_set(zval *object, zend_long h, zend_long i, zend_long s, zend_long ms, zv… in php_date_time_set() argument
3607 dateobj = Z_PHPDATE_P(object); in php_date_time_set()
3622 zval *object; in PHP_FUNCTION() local
3625 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oll|ll", &object, date_ce_date, &h, … in PHP_FUNCTION()
3629 php_date_time_set(object, h, i, s, ms, return_value); in PHP_FUNCTION()
3631 Z_ADDREF_P(object); in PHP_FUNCTION()
3632 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3640 zval *object, new_object; in PHP_METHOD() local
3643 object = ZEND_THIS; in PHP_METHOD()
3648 date_clone_immutable(object, &new_object); in PHP_METHOD()
3655 static void php_date_date_set(zval *object, zend_long y, zend_long m, zend_long d, zval *return_val… in php_date_date_set() argument
3659 dateobj = Z_PHPDATE_P(object); in php_date_date_set()
3672 zval *object; in PHP_FUNCTION() local
3675 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Olll", &object, date_ce_date, &y, &m… in PHP_FUNCTION()
3679 php_date_date_set(object, y, m, d, return_value); in PHP_FUNCTION()
3681 Z_ADDREF_P(object); in PHP_FUNCTION()
3682 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3690 zval *object, new_object; in PHP_METHOD() local
3693 object = ZEND_THIS; in PHP_METHOD()
3698 date_clone_immutable(object, &new_object); in PHP_METHOD()
3705 static void php_date_isodate_set(zval *object, zend_long y, zend_long w, zend_long d, zval *return_… in php_date_isodate_set() argument
3709 dateobj = Z_PHPDATE_P(object); in php_date_isodate_set()
3726 zval *object; in PHP_FUNCTION() local
3729 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oll|l", &object, date_ce_date, &y, &… in PHP_FUNCTION()
3733 php_date_isodate_set(object, y, w, d, return_value); in PHP_FUNCTION()
3735 Z_ADDREF_P(object); in PHP_FUNCTION()
3736 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3744 zval *object, new_object; in PHP_METHOD() local
3747 object = ZEND_THIS; in PHP_METHOD()
3752 date_clone_immutable(object, &new_object); in PHP_METHOD()
3759 static void php_date_timestamp_set(zval *object, zend_long timestamp, zval *return_value) /* {{{ */ in php_date_timestamp_set() argument
3763 dateobj = Z_PHPDATE_P(object); in php_date_timestamp_set()
3775 zval *object; in PHP_FUNCTION() local
3778 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ol", &object, date_ce_date, &timesta… in PHP_FUNCTION()
3782 php_date_timestamp_set(object, timestamp, return_value); in PHP_FUNCTION()
3784 Z_ADDREF_P(object); in PHP_FUNCTION()
3785 ZVAL_OBJ(return_value, Z_OBJ_P(object)); in PHP_FUNCTION()
3793 zval *object, new_object; in PHP_METHOD() local
3796 object = ZEND_THIS; in PHP_METHOD()
3801 date_clone_immutable(object, &new_object); in PHP_METHOD()
3813 zval *object; in PHP_FUNCTION() local
3818 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O", &object, date_ce_interface) == F… in PHP_FUNCTION()
3821 dateobj = Z_PHPDATE_P(object); in PHP_FUNCTION()
3978 zval *object = ZEND_THIS; in PHP_METHOD() local
3982 tzobj = Z_PHPTIMEZONE_P(object); in PHP_METHOD()
3984 myht = Z_OBJPROP_P(object); in PHP_METHOD()
3997 zval *object; in PHP_FUNCTION() local
4000 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O", &object, date_ce_timezone) == FA… in PHP_FUNCTION()
4003 tzobj = Z_PHPTIMEZONE_P(object); in PHP_FUNCTION()
4041 zval *object, *dateobject; in PHP_FUNCTION() local
4046 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO", &object, date_ce_timezone, &dat… in PHP_FUNCTION()
4049 tzobj = Z_PHPTIMEZONE_P(object); in PHP_FUNCTION()
4075 zval *object, element; in PHP_FUNCTION() local
4080 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O|ll", &object, date_ce_timezone, &t… in PHP_FUNCTION()
4083 tzobj = Z_PHPTIMEZONE_P(object); in PHP_FUNCTION()
4156 zval *object; in PHP_FUNCTION() local
4159 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "O", &object, date_ce_timezone) == FA… in PHP_FUNCTION()
4162 tzobj = Z_PHPTIMEZONE_P(object); 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
4238 obj = Z_PHPINTERVAL_P(object); in date_interval_read_property()
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()
4295 static zval *date_interval_write_property(zval *object, zval *member, zval *value, void **cache_slo… in date_interval_write_property() argument
4310 obj = Z_PHPINTERVAL_P(object); in date_interval_write_property()
4313 value = zend_std_write_property(object, member, value, cache_slot); in date_interval_write_property()
4339 value = zend_std_write_property(object, member, value, cache_slot); in date_interval_write_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()
4513 zval *object = ZEND_THIS; in PHP_METHOD() local
4517 intobj = Z_PHPINTERVAL_P(object); in PHP_METHOD()
4519 myht = Z_OBJPROP_P(object); in PHP_METHOD()
4634 zval *object; in PHP_FUNCTION() local
4639 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &object, date_ce_interval, &for… in PHP_FUNCTION()
4642 diobj = Z_PHPINTERVAL_P(object); in PHP_FUNCTION()
5223 static HashTable *date_object_get_gc_period(zval *object, zval **table, int *n) /* {{{ */ in date_object_get_gc_period() argument
5227 return zend_std_get_properties(object); in date_object_get_gc_period()
5230 static HashTable *date_object_get_properties_period(zval *object) /* {{{ */ in date_object_get_properties_period() argument
5236 period_obj = Z_PHPPERIOD_P(object); in date_object_get_properties_period()
5237 props = zend_std_get_properties(object); in date_object_get_properties_period()
5399 zval *object = ZEND_THIS; in PHP_METHOD() local
5403 period_obj = Z_PHPPERIOD_P(object); in PHP_METHOD()
5405 myht = Z_OBJPROP_P(object); in PHP_METHOD()
5432 static zval *date_period_read_property(zval *object, zval *member, int type, void **cache_slot, zva… in date_period_read_property() argument
5444 Z_OBJPROP_P(object); /* build properties hash table */ in date_period_read_property()
5446 return zend_std_read_property(object, member, type, cache_slot, rv); in date_period_read_property()
5451 static zval *date_period_write_property(zval *object, zval *member, zval *value, void **cache_slot) in date_period_write_property() argument
5461 return zend_std_write_property(object, member, value, cache_slot); in date_period_write_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()