Home
last modified time | relevance | path

Searched refs:ns_mapper (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/dom/
H A Dprivate_data.c44 return private_data == NULL ? NULL : &private_data->ns_mapper; in php_dom_ns_mapper_from_private()
52 private_data->ns_mapper.html_ns = NULL; in php_dom_private_data_create()
53 private_data->ns_mapper.prefixless_xmlns_ns = NULL; in php_dom_private_data_create()
54 zend_hash_init(&private_data->ns_mapper.uri_to_prefix_map, 0, NULL, ZVAL_PTR_DTOR, false); in php_dom_private_data_create()
61 zend_hash_destroy(&data->ns_mapper.uri_to_prefix_map); in php_dom_private_data_destroy()
H A Dnamespace_compat.c219 php_dom_libxml_ns_mapper *ns_mapper; member
224 return &php_dom_get_private_data(object)->ns_mapper; in php_dom_get_ns_mapper()
354 new_ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ctx->ns_mapper, prefix, href); in php_dom_libxml_reconcile_modern_single_node()
390 PHP_DOM_EXPORT void php_dom_libxml_reconcile_modern(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr… in php_dom_libxml_reconcile_modern() argument
394 …node->ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ns_mapper, (const char *) node->ns… in php_dom_libxml_reconcile_modern()
407 ctx.ns_mapper = ns_mapper; in php_dom_libxml_reconcile_modern()
426 PHP_DOM_EXPORT php_dom_in_scope_ns php_dom_get_in_scope_ns(php_dom_libxml_ns_mapper *ns_mapper, con… in php_dom_get_in_scope_ns() argument
455 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_strings(ns_mapper, prefix, (const char *) attr->… in php_dom_get_in_scope_ns()
H A Dnamespace_compat.h54 PHP_DOM_EXPORT void php_dom_libxml_reconcile_modern(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr…
68 PHP_DOM_EXPORT php_dom_in_scope_ns php_dom_get_in_scope_ns(php_dom_libxml_ns_mapper *ns_mapper, con…
H A Dhtml5_parser.c117 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in lexbor_libxml2_bridge_convert() local
118 xmlNsPtr html_ns = php_dom_libxml_ns_mapper_ensure_html_ns(ns_mapper); in lexbor_libxml2_bridge_convert()
159 current_lxml_ns = php_dom_libxml_ns_mapper_get_ns(ns_mapper, NULL, uri); in lexbor_libxml2_bridge_convert()
238 …refixed_xmlns_ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ns_mapper, "xmlns", DOM_XM… in lexbor_libxml2_bridge_convert()
242 … lxml_attr->ns = php_dom_libxml_ns_mapper_ensure_prefixless_xmlns_ns(ns_mapper); in lexbor_libxml2_bridge_convert()
247 …xlink_ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ns_mapper, "xlink", DOM_XLINK_NS_U… in lexbor_libxml2_bridge_convert()
H A Dxml_document.c81 void dom_mark_namespaces_as_attributes_too(php_dom_libxml_ns_mapper *ns_mapper, xmlDocPtr doc) in dom_mark_namespaces_as_attributes_too() argument
86 php_dom_ns_compat_mark_attribute_list(ns_mapper, node); in dom_mark_namespaces_as_attributes_too()
241 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in dom_document_convert_to_modern() local
243 dom_mark_namespaces_as_attributes_too(ns_mapper, lxml_doc); in dom_document_convert_to_modern()
H A Dprivate_data.h32 struct php_dom_libxml_ns_mapper ns_mapper; member
H A Ddomimplementation.c271 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in PHP_METHOD() local
288 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_prefix_string(ns_mapper, prefix, xmlStrlen(prefi… in PHP_METHOD()
372 php_dom_libxml_ns_mapper *ns_mapper = php_dom_ns_mapper_from_private(private_data); in PHP_METHOD() local
373 xmlNsPtr html_ns = php_dom_libxml_ns_mapper_ensure_html_ns(ns_mapper); in PHP_METHOD()
H A Dinner_outer_html_mixin.c240 static void dom_xml_fragment_parsing_algorithm_parse(php_dom_libxml_ns_mapper *ns_mapper, const xml… in dom_xml_fragment_parsing_algorithm_parse() argument
247 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()
300 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(obj); in dom_xml_fragment_parsing_algorithm() local
301 dom_xml_fragment_parsing_algorithm_parse(ns_mapper, context_node, input, parser); in dom_xml_fragment_parsing_algorithm()
334 dom_mark_namespaces_as_attributes_too(ns_mapper, doc); in dom_xml_fragment_parsing_algorithm()
H A Delement.c1016 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in dom_set_attribute_ns_modern() local
1017 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_prefix_string(ns_mapper, prefix, xmlStrlen(prefi… in dom_set_attribute_ns_modern()
1984 static void dom_element_get_in_scope_namespace_info(php_dom_libxml_ns_mapper *ns_mapper, HashTable … in dom_element_get_in_scope_namespace_info() argument
2006 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ns_mapper, prefix, (const char … in dom_element_get_in_scope_namespace_info()
2058 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
2063 dom_element_get_in_scope_namespace_info(ns_mapper, result, nodep, intern); in PHP_METHOD()
2076 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
2081 dom_element_get_in_scope_namespace_info(ns_mapper, result, nodep, intern); in PHP_METHOD()
2088 dom_element_get_in_scope_namespace_info(ns_mapper, result, cur, intern); in PHP_METHOD()
2158 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
[all …]
H A Dphp_dom.h180 void dom_mark_namespaces_as_attributes_too(php_dom_libxml_ns_mapper *ns_mapper, xmlDocPtr doc);
184 xmlNodePtr dom_clone_node(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr node, xmlDocPtr doc, bool…
H A Ddocument.c481 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
483 …node = xmlNewDocRawNode(docp, php_dom_libxml_ns_mapper_ensure_html_ns(ns_mapper), BAD_CAST (lower … in PHP_METHOD()
920 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
921 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_prefix_string(ns_mapper, prefix, xmlStrlen(prefi… in PHP_METHOD()
988 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(intern); in PHP_METHOD() local
989 …nsptr = php_dom_libxml_ns_mapper_get_ns_raw_prefix_string(ns_mapper, prefix, xmlStrlen(prefix), ur… in PHP_METHOD()
1161 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(dom_object_new_document); in php_dom_adopt_node() local
1162 php_dom_libxml_reconcile_modern(ns_mapper, nodep); in php_dom_adopt_node()
H A Dxpath.c295 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(&intern->dom); in php_xpath_eval() local
296 in_scope_ns = php_dom_get_in_scope_ns(ns_mapper, nodep, false); in php_xpath_eval()
H A Dphp_dom.c2499 static xmlNodePtr dom_clone_container_helper(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr src_no… in dom_clone_container_helper() argument
2512 php_dom_ns_compat_mark_attribute(ns_mapper, clone, current_ns); in dom_clone_container_helper()
2545 static xmlNodePtr dom_clone_helper(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr src_node, xmlDoc… in dom_clone_helper() argument
2547 xmlNodePtr outer_clone = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper()
2578 cloned = dom_clone_container_helper(ns_mapper, src_node, dst_doc); in dom_clone_helper()
2618 xmlNodePtr dom_clone_node(php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr node, xmlDocPtr doc, bool… in dom_clone_node() argument
2629 if (ns_mapper != NULL) { in dom_clone_node()
2630 xmlNodePtr clone = dom_clone_helper(ns_mapper, node, doc, recursive); in dom_clone_node()
2639 php_dom_libxml_reconcile_modern(ns_mapper, child); in dom_clone_node()
2642 php_dom_libxml_reconcile_modern(ns_mapper, clone); in dom_clone_node()
H A Dhtml_document.c1688 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(obj); in dom_html_document_title_write() local
1690 ns = php_dom_libxml_ns_mapper_get_ns(ns_mapper, zend_empty_string, href); in dom_html_document_title_write()
1730 php_dom_libxml_ns_mapper *ns_mapper = php_dom_get_ns_mapper(obj); in dom_html_document_title_write() local
1731 …element = xmlNewDocNode(docp, php_dom_libxml_ns_mapper_ensure_html_ns(ns_mapper), BAD_CAST "title"… in dom_html_document_title_write()
/php-src/ext/xsl/
H A Dxsltprocessor.c138 …lHashTablePtr table, xsltStylesheetPtr sheet, php_dom_libxml_ns_mapper *ns_mapper, const xmlDoc *d… in xsl_build_ns_map() argument
154 …xmlNsPtr ns = php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe(ns_mapper, (const char *) prefi… in xsl_build_ns_map()

Completed in 56 milliseconds