Lines Matching refs:param_count
314 static zval *php_dom_xpath_callback_fetch_args(xmlXPathParserContextPtr ctxt, uint32_t param_count,… in php_dom_xpath_callback_fetch_args() argument
316 if (param_count == 0) { in php_dom_xpath_callback_fetch_args()
320 zval *params = safe_emalloc(param_count, sizeof(zval), 0); in php_dom_xpath_callback_fetch_args()
323 for (zval *param = params + param_count - 1; param >= params; param--) { in php_dom_xpath_callback_fetch_args()
381 static void php_dom_xpath_callback_cleanup_args(zval *params, uint32_t param_count) in php_dom_xpath_callback_cleanup_args() argument
384 for (uint32_t i = 0; i < param_count; i++) { in php_dom_xpath_callback_cleanup_args()
391 …callback_ns *ns, xmlXPathParserContextPtr ctxt, zval *params, uint32_t param_count, const char *fu… in php_dom_xpath_callback_dispatch() argument
405 fci.param_count = param_count; 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()
465 uint32_t param_count = num_args - 1; in php_dom_xpath_callbacks_call_php_ns() local
466 …zval *params = php_dom_xpath_callback_fetch_args(ctxt, param_count, evaluation_mode, intern, proxy… in php_dom_xpath_callbacks_call_php_ns()
478 …lback_dispatch(xpath_callbacks, xpath_callbacks->php_ns, ctxt, params, param_count, function_name,… in php_dom_xpath_callbacks_call_php_ns()
482 php_dom_xpath_callback_cleanup_args(params, param_count); in php_dom_xpath_callbacks_call_php_ns()
494 uint32_t param_count = num_args; in php_dom_xpath_callbacks_call_custom_ns() local
495 …zval *params = php_dom_xpath_callback_fetch_args(ctxt, param_count, evaluation_mode, intern, proxy… in php_dom_xpath_callbacks_call_custom_ns()
508 …t = php_dom_xpath_callback_dispatch(xpath_callbacks, ns, ctxt, params, param_count, function_name,… in php_dom_xpath_callbacks_call_custom_ns()
510 php_dom_xpath_callback_cleanup_args(params, param_count); in php_dom_xpath_callbacks_call_custom_ns()