Home
last modified time | relevance | path

Searched refs:ns_data (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Delement.c166 const lxb_ns_data_t *ns_data; in lxb_dom_element_create() local
175 ns_data = NULL; in lxb_dom_element_create()
185 ns_data = lxb_ns_append(document->ns, ns_link, ns_len); in lxb_dom_element_create()
188 ns_data = lxb_ns_data_by_id(document->ns, LXB_NS__UNDEF); in lxb_dom_element_create()
191 if (ns_data == NULL) { in lxb_dom_element_create()
196 ns_data->ns_id); in lxb_dom_element_create()
224 element->node.ns = ns_data->ns_id; in lxb_dom_element_create()
226 if (ns_data->ns_id == LXB_NS_HTML && is_len != 0) { in lxb_dom_element_create()
H A Dattr.c162 const lxb_ns_data_t *ns_data; in lxb_dom_attr_set_name_ns() local
166 ns_data = lxb_ns_append(doc->ns, link, link_length); in lxb_dom_attr_set_name_ns()
167 if (ns_data == NULL || ns_data->ns_id == LXB_NS__UNDEF) { in lxb_dom_attr_set_name_ns()
171 attr->node.ns = ns_data->ns_id; in lxb_dom_attr_set_name_ns()
/php-src/ext/dom/
H A Dinner_outer_html_mixin.c210 const lxb_ns_data_t *ns_data = lxb_ns_data_by_link(document->dom_document.ns, ns_uri, ns_uri_len); in dom_html_fragment_parsing_algorithm() local
211 element->node.ns = ns_data == NULL ? LXB_NS__UNDEF : ns_data->ns_id; in dom_html_fragment_parsing_algorithm()

Completed in 10 milliseconds