Home
last modified time | relevance | path

Searched refs:in_scope_ns (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/dom/
H A Dnamespace_compat.c430 php_dom_in_scope_ns in_scope_ns; in php_dom_get_in_scope_ns() local
463 in_scope_ns.list = safe_emalloc(in_scope_ns.count, sizeof(xmlNsPtr), 0); in php_dom_get_in_scope_ns()
468 in_scope_ns.list[index++] = ns; in php_dom_get_in_scope_ns()
473 return in_scope_ns; in php_dom_get_in_scope_ns()
483 in_scope_ns.count = 0; in php_dom_get_in_scope_ns_legacy()
485 if (in_scope_ns.list != NULL) { in php_dom_get_in_scope_ns_legacy()
486 while (in_scope_ns.list[in_scope_ns.count] != NULL) { in php_dom_get_in_scope_ns_legacy()
487 in_scope_ns.count++; in php_dom_get_in_scope_ns_legacy()
491 return in_scope_ns; in php_dom_get_in_scope_ns_legacy()
498 efree(in_scope_ns->list); in php_dom_in_scope_ns_destroy()
[all …]
H A Dxpath.c292 php_dom_in_scope_ns in_scope_ns; in php_xpath_eval() local
296 in_scope_ns = php_dom_get_in_scope_ns(ns_mapper, nodep, false); in php_xpath_eval()
298 in_scope_ns = php_dom_get_in_scope_ns_legacy(nodep); in php_xpath_eval()
300 ctxp->namespaces = in_scope_ns.list; in php_xpath_eval()
301 ctxp->nsNr = in_scope_ns.count; in php_xpath_eval()
308 php_dom_in_scope_ns_destroy(&in_scope_ns); in php_xpath_eval()
H A Dnamespace_compat.h70 PHP_DOM_EXPORT void php_dom_in_scope_ns_destroy(php_dom_in_scope_ns *in_scope_ns);
H A Dinner_outer_html_mixin.c247 php_dom_in_scope_ns in_scope_ns = php_dom_get_in_scope_ns(ns_mapper, context_node, true); in dom_xml_fragment_parsing_algorithm_parse() local
248 for (size_t i = 0; i < in_scope_ns.count; i++) { in dom_xml_fragment_parsing_algorithm_parse()
249 const xmlNs *ns = in_scope_ns.list[i]; in dom_xml_fragment_parsing_algorithm_parse()
257 php_dom_in_scope_ns_destroy(&in_scope_ns); in dom_xml_fragment_parsing_algorithm_parse()

Completed in 15 milliseconds