Lines Matching refs:retval

147 	zval *retval = NULL;  in zend_std_call_getter()  local
158 zend_call_method_with_1_params(&object, ce, &ce->__get, ZEND_GET_FUNC_NAME, &retval, member); in zend_std_call_getter()
162 if (retval) { in zend_std_call_getter()
163 Z_DELREF_P(retval); in zend_std_call_getter()
166 return retval; in zend_std_call_getter()
172 zval *retval = NULL; in zend_std_call_setter() local
185 …zend_call_method_with_2_params(&object, ce, &ce->__set, ZEND_SET_FUNC_NAME, &retval, member, value… in zend_std_call_setter()
190 if (retval) { in zend_std_call_setter()
191 result = i_zend_is_true(retval) ? SUCCESS : FAILURE; in zend_std_call_setter()
192 zval_ptr_dtor(&retval); in zend_std_call_setter()
218 zval *retval = NULL; in zend_std_call_issetter() local
229 zend_call_method_with_1_params(&object, ce, &ce->__isset, ZEND_ISSET_FUNC_NAME, &retval, member); in zend_std_call_issetter()
233 return retval; in zend_std_call_issetter()
426 zval **retval; in zend_std_read_property() local
455 ((retval = (zval**)zobj->properties_table[property_info->offset]) == NULL) : in zend_std_read_property()
456 (*(retval = &zobj->properties_table[property_info->offset]) == NULL)) : in zend_std_read_property()
458 …rty_info->name, property_info->name_length+1, property_info->h, (void **) &retval) == FAILURE)))) { in zend_std_read_property()
474 retval = &rv; in zend_std_read_property()
491 retval = &EG(uninitialized_zval_ptr); in zend_std_read_property()
493 if (EXPECTED(*retval != object)) { in zend_std_read_property()
511 retval = &EG(uninitialized_zval_ptr); in zend_std_read_property()
515 Z_ADDREF_PP(retval); in zend_std_read_property()
517 Z_DELREF_PP(retval); in zend_std_read_property()
519 return *retval; in zend_std_read_property()
637 zval *retval; in zend_std_read_dimension() local
646 zend_call_method_with_1_params(&object, ce, NULL, "offsetget", &retval, offset); in zend_std_read_dimension()
650 if (UNEXPECTED(!retval)) { in zend_std_read_dimension()
658 Z_DELREF_P(retval); in zend_std_read_dimension()
660 return retval; in zend_std_read_dimension()
689 zval *retval; in zend_std_has_dimension() local
694 zend_call_method_with_1_params(&object, ce, NULL, "offsetexists", &retval, offset); in zend_std_has_dimension()
695 if (EXPECTED(retval != NULL)) { in zend_std_has_dimension()
696 result = i_zend_is_true(retval); in zend_std_has_dimension()
697 zval_ptr_dtor(&retval); in zend_std_has_dimension()
699 zend_call_method_with_1_params(&object, ce, NULL, "offsetget", &retval, offset); in zend_std_has_dimension()
700 if (retval) { in zend_std_has_dimension()
701 result = i_zend_is_true(retval); in zend_std_has_dimension()
702 zval_ptr_dtor(&retval); in zend_std_has_dimension()
721 zval **retval; in zend_std_get_property_ptr_ptr() local
744 ((retval = (zval**)zobj->properties_table[property_info->offset]) == NULL) : in zend_std_get_property_ptr_ptr()
745 (*(retval = &zobj->properties_table[property_info->offset]) == NULL)) : in zend_std_get_property_ptr_ptr()
747 …rty_info->name, property_info->name_length+1, property_info->h, (void **) &retval) == FAILURE)))) { in zend_std_get_property_ptr_ptr()
762 retval = &zobj->properties_table[property_info->offset]; in zend_std_get_property_ptr_ptr()
765 retval = (zval**)zobj->properties_table[property_info->offset]; in zend_std_get_property_ptr_ptr()
768 retval = (zval**)zobj->properties_table[property_info->offset]; in zend_std_get_property_ptr_ptr()
774 …ame, property_info->name_length+1, property_info->h, &new_zval, sizeof(zval *), (void **) &retval); in zend_std_get_property_ptr_ptr()
784 retval = NULL; in zend_std_get_property_ptr_ptr()
790 return retval; in zend_std_get_property_ptr_ptr()
1529 zval *retval; in zend_std_cast_object_tostring() local
1536 …(zend_call_method_with_0_params(&readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(except… in zend_std_cast_object_tostring()
1538 if (retval) { in zend_std_cast_object_tostring()
1539 zval_ptr_dtor(&retval); in zend_std_cast_object_tostring()
1545 if (EXPECTED(Z_TYPE_P(retval) == IS_STRING)) { in zend_std_cast_object_tostring()
1550 ZVAL_ZVAL(writeobj, retval, 1, 1); in zend_std_cast_object_tostring()
1556 zval_ptr_dtor(&retval); in zend_std_cast_object_tostring()