Lines Matching refs:retval
39 zval *retval; in zend_call_method() local
51 fci.retval_ptr_ptr = retval_ptr_ptr ? retval_ptr_ptr : &retval; in zend_call_method()
109 if (retval) { in zend_call_method()
110 zval_ptr_dtor(&retval); in zend_call_method()
123 zval *retval; in zend_user_it_new_iterator() local
125 …all_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &retval); in zend_user_it_new_iterator()
202 zval *retval; in zend_user_it_get_current_key() local
204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key()
206 if (!retval) { in zend_user_it_get_current_key()
214 switch (Z_TYPE_P(retval)) { in zend_user_it_get_current_key()
219 zval_ptr_dtor(&retval); in zend_user_it_get_current_key()
223 *str_key = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in zend_user_it_get_current_key()
224 *str_key_len = Z_STRLEN_P(retval)+1; in zend_user_it_get_current_key()
225 zval_ptr_dtor(&retval); in zend_user_it_get_current_key()
229 *int_key = (long)Z_DVAL_P(retval); in zend_user_it_get_current_key()
230 zval_ptr_dtor(&retval); in zend_user_it_get_current_key()
236 *int_key = (long)Z_LVAL_P(retval); in zend_user_it_get_current_key()
237 zval_ptr_dtor(&retval); in zend_user_it_get_current_key()
429 zval *retval; in zend_user_serialize() local
432 zend_call_method_with_0_params(&object, ce, &ce->serialize_func, "serialize", &retval); in zend_user_serialize()
435 if (!retval || EG(exception)) { in zend_user_serialize()
438 switch(Z_TYPE_P(retval)) { in zend_user_serialize()
441 zval_ptr_dtor(&retval); in zend_user_serialize()
444 *buffer = (unsigned char*)estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in zend_user_serialize()
445 *buf_len = Z_STRLEN_P(retval); in zend_user_serialize()
452 zval_ptr_dtor(&retval); in zend_user_serialize()