Lines Matching refs:ctxt

29 static zend_result php_xsl_xslt_apply_params(xsltTransformContextPtr ctxt, HashTable *params)  in php_xsl_xslt_apply_params()  argument
39 …int result = xsltQuoteOneUserParam(ctxt, (const xmlChar *) ZSTR_VAL(string_key), (const xmlChar *)… in php_xsl_xslt_apply_params()
49 … xsl_proxy_factory(xmlNodePtr node, zval *child, dom_object *intern, xmlXPathParserContextPtr ctxt) in xsl_proxy_factory() argument
62 xsltTransformContextPtr transform_ctxt = (xsltTransformContextPtr) ctxt->context->extra; in xsl_proxy_factory()
69 static xsl_object *xsl_ext_fetch_intern(xmlXPathParserContextPtr ctxt) in xsl_ext_fetch_intern() argument
77 xsltTransformContextPtr tctxt = xsltXPathGetTransformContext(ctxt); in xsl_ext_fetch_intern()
93 static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, php_dom_xpath_nodeset_ev… in xsl_ext_function_php() argument
95 xsl_object *intern = xsl_ext_fetch_intern(ctxt); in xsl_ext_function_php()
97 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in xsl_ext_function_php()
99 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, (dom_o… in xsl_ext_function_php()
104 void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in xsl_ext_function_string_php() argument
106 xsl_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING); in xsl_ext_function_string_php()
110 void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in xsl_ext_function_object_php() argument
112 xsl_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET); in xsl_ext_function_object_php()
116 static void xsl_ext_function_trampoline(xmlXPathParserContextPtr ctxt, int nargs) in xsl_ext_function_trampoline() argument
118 xsl_object *intern = xsl_ext_fetch_intern(ctxt); in xsl_ext_function_trampoline()
120 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in xsl_ext_function_trampoline()
122 …php_dom_xpath_callbacks_call_custom_ns(&intern->xpath_callbacks, ctxt, nargs, PHP_DOM_XPATH_EVALUA… in xsl_ext_function_trampoline()
281 static void php_xsl_delayed_lib_registration(void *ctxt, const zend_string *ns, const zend_string *… in php_xsl_delayed_lib_registration() argument
283 xsltTransformContextPtr xsl = (xsltTransformContextPtr) ctxt; in php_xsl_delayed_lib_registration()
292 xsltTransformContextPtr ctxt; in php_xsl_apply_stylesheet() local
341 ctxt = xsltNewTransformContext(style, doc); in php_xsl_apply_stylesheet()
342 ctxt->_private = (void *) intern; in php_xsl_apply_stylesheet()
345 zend_result status = php_xsl_xslt_apply_params(ctxt, intern->parameter); in php_xsl_apply_stylesheet()
353 ctxt->xinclude = zend_is_true(doXInclude); in php_xsl_apply_stylesheet()
358 ctxt->maxTemplateDepth = Z_LVAL_P(max_template_depth); in php_xsl_apply_stylesheet()
362 ctxt->maxTemplateVars = Z_LVAL_P(max_template_vars); in php_xsl_apply_stylesheet()
395 if (0 != xsltSetCtxtSecurityPrefs(secPrefs, ctxt)) { in php_xsl_apply_stylesheet()
400 …php_dom_xpath_callbacks_delayed_lib_registration(&intern->xpath_callbacks, ctxt, php_xsl_delayed_l… in php_xsl_apply_stylesheet()
405 …tApplyStylesheetUser(style, doc, /* params (handled manually) */ NULL, /* output */ NULL, f, ctxt); in php_xsl_apply_stylesheet()
413 xsltFreeTransformContext(ctxt); in php_xsl_apply_stylesheet()