Lines Matching refs:callback_retval
393 zval callback_retval; in php_dom_xpath_callback_dispatch() local
404 fci.retval = &callback_retval; in php_dom_xpath_callback_dispatch()
420 zend_call_known_fcc(Z_PTR_P(fcc_wrapper), &callback_retval, param_count, params, NULL); in php_dom_xpath_callback_dispatch()
427 if (Z_TYPE(callback_retval) != IS_UNDEF) { in php_dom_xpath_callback_dispatch()
428 …if (Z_TYPE(callback_retval) == IS_OBJECT && instanceof_function(Z_OBJCE(callback_retval), dom_node… in php_dom_xpath_callback_dispatch()
434 Z_ADDREF_P(&callback_retval); in php_dom_xpath_callback_dispatch()
435 zend_hash_next_index_insert_new(xpath_callbacks->node_list, &callback_retval); in php_dom_xpath_callback_dispatch()
436 obj = Z_DOMOBJ_P(&callback_retval); in php_dom_xpath_callback_dispatch()
439 } else if (Z_TYPE(callback_retval) == IS_FALSE || Z_TYPE(callback_retval) == IS_TRUE) { in php_dom_xpath_callback_dispatch()
440 valuePush(ctxt, xmlXPathNewBoolean(Z_TYPE(callback_retval) == IS_TRUE)); in php_dom_xpath_callback_dispatch()
441 } else if (Z_TYPE(callback_retval) == IS_OBJECT) { in php_dom_xpath_callback_dispatch()
443 zval_ptr_dtor(&callback_retval); in php_dom_xpath_callback_dispatch()
446 zend_string *str = zval_get_string(&callback_retval); in php_dom_xpath_callback_dispatch()
450 zval_ptr_dtor(&callback_retval); in php_dom_xpath_callback_dispatch()