Lines Matching refs:ctxt
63 PHP_DOM_EXPORT void php_dom_xpath_callbacks_clean_argument_stack(xmlXPathParserContextPtr ctxt, uin… in php_dom_xpath_callbacks_clean_argument_stack() argument
66 xmlXPathObjectPtr obj = valuePop(ctxt); in php_dom_xpath_callbacks_clean_argument_stack()
166 …s_delayed_lib_registration(const php_dom_xpath_callbacks* registry, void *ctxt, php_dom_xpath_call… in php_dom_xpath_callbacks_delayed_lib_registration() argument
174 register_func(ctxt, namespace, name); in php_dom_xpath_callbacks_delayed_lib_registration()
182 xmlXPathContextPtr ctxt, in php_dom_xpath_callback_ns_update_method_handler() argument
212 register_func(ctxt, namespace, str); in php_dom_xpath_callback_ns_update_method_handler()
228 register_func(ctxt, namespace, key); in php_dom_xpath_callback_ns_update_method_handler()
252 register_func(ctxt, namespace, name); in php_dom_xpath_callback_ns_update_method_handler()
285 …date_method_handler(php_dom_xpath_callbacks* registry, xmlXPathContextPtr ctxt, zend_string *ns, z… in php_dom_xpath_callbacks_update_method_handler() argument
288 …return php_dom_xpath_callback_ns_update_method_handler(namespace, ctxt, ns, name, callable_ht, nam… in php_dom_xpath_callbacks_update_method_handler()
291 …ngle_method_handler(php_dom_xpath_callbacks* registry, xmlXPathContextPtr ctxt, zend_string *ns, z… in php_dom_xpath_callbacks_update_single_method_handler() argument
306 register_func(ctxt, ns, name); in php_dom_xpath_callbacks_update_single_method_handler()
314 static zval *php_dom_xpath_callback_fetch_args(xmlXPathParserContextPtr ctxt, uint32_t param_count,… in php_dom_xpath_callback_fetch_args() argument
324 xmlXPathObjectPtr obj = valuePop(ctxt); in php_dom_xpath_callback_fetch_args()
359 proxy_factory(node, &child, intern, ctxt); in php_dom_xpath_callback_fetch_args()
391 …*xpath_callbacks, php_dom_xpath_callback_ns *ns, xmlXPathParserContextPtr ctxt, zval *params, uint… in php_dom_xpath_callback_dispatch() argument
438 valuePush(ctxt, xmlXPathNewNodeSet(nodep)); in php_dom_xpath_callback_dispatch()
440 valuePush(ctxt, xmlXPathNewBoolean(Z_TYPE(callback_retval) == IS_TRUE)); in php_dom_xpath_callback_dispatch()
447 valuePush(ctxt, xmlXPathNewString(BAD_CAST ZSTR_VAL(str))); in php_dom_xpath_callback_dispatch()
456 …php_ns(php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_… in php_dom_xpath_callbacks_call_php_ns() argument
466 …zval *params = php_dom_xpath_callback_fetch_args(ctxt, param_count, evaluation_mode, intern, proxy… in php_dom_xpath_callbacks_call_php_ns()
469 xmlXPathObjectPtr obj = valuePop(ctxt); in php_dom_xpath_callbacks_call_php_ns()
478 …result = php_dom_xpath_callback_dispatch(xpath_callbacks, xpath_callbacks->php_ns, ctxt, params, p… in php_dom_xpath_callbacks_call_php_ns()
486 valuePush(ctxt, xmlXPathNewString((const xmlChar *) "")); in php_dom_xpath_callbacks_call_php_ns()
492 …tom_ns(php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_… in php_dom_xpath_callbacks_call_custom_ns() argument
495 …zval *params = php_dom_xpath_callback_fetch_args(ctxt, param_count, evaluation_mode, intern, proxy… in php_dom_xpath_callbacks_call_custom_ns()
497 const char *namespace = (const char *) ctxt->context->functionURI; in php_dom_xpath_callbacks_call_custom_ns()
505 const char *function_name = (const char *) ctxt->context->function; in php_dom_xpath_callbacks_call_custom_ns()
508 …zend_result result = php_dom_xpath_callback_dispatch(xpath_callbacks, ns, ctxt, params, param_coun… in php_dom_xpath_callbacks_call_custom_ns()
513 valuePush(ctxt, xmlXPathNewString((const xmlChar *) "")); in php_dom_xpath_callbacks_call_custom_ns()