Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dattr.c67 if (data->attr_id < LXB_DOM_ATTR__LAST_ENTRY) { in lxb_dom_attr_interface_clone()
141 attr->node.local_name = data->attr_id; in lxb_dom_attr_set_name()
331 if (element->attr_id == attr) { in lxb_dom_attr_remove()
332 element->attr_id = NULL; in lxb_dom_attr_remove()
379 data->attr_id = (uintptr_t) data; in lxb_dom_attr_local_name_append()
399 data->attr_id = (uintptr_t) data; in lxb_dom_attr_qualified_name_append()
411 lxb_dom_attr_data_by_id(lexbor_hash_t *hash, lxb_dom_attr_id_t attr_id) in lxb_dom_attr_data_by_id() argument
413 if (attr_id >= LXB_DOM_ATTR__LAST_ENTRY) { in lxb_dom_attr_data_by_id()
414 if (attr_id == LXB_DOM_ATTR__LAST_ENTRY) { in lxb_dom_attr_data_by_id()
418 return (const lxb_dom_attr_data_t *) attr_id; in lxb_dom_attr_data_by_id()
[all …]
H A Delement.h48 lxb_dom_attr_t *attr_id; member
117 lxb_dom_attr_id_t attr_id);
194 if (element->attr_id == NULL) { in lxb_dom_element_id()
202 return lxb_dom_attr_value(element->attr_id, len); in lxb_dom_element_id()
259 return element->attr_id; in lxb_dom_element_id_attribute()
H A Dattr.h27 lxb_dom_attr_id_t attr_id; member
91 lxb_dom_attr_data_by_id(lexbor_hash_t *hash, lxb_dom_attr_id_t attr_id);
H A Delement.c352 exist = element->attr_id; in lxb_dom_element_attr_append()
359 element->attr_id = attr; in lxb_dom_element_attr_append()
428 if (attr->node.local_name == data->attr_id in lxb_dom_element_attr_by_name()
429 || attr->qualified_name == data->attr_id) in lxb_dom_element_attr_by_name()
447 if (attr->node.local_name == data->attr_id) { in lxb_dom_element_attr_by_local_name_data()
459 lxb_dom_attr_id_t attr_id) in lxb_dom_element_attr_by_id() argument
464 if (attr->node.local_name == attr_id) { in lxb_dom_element_attr_by_id()
535 if (attr->node.local_name == data->attr_id in lxb_dom_element_attr_is_exist()
536 || attr->qualified_name == data->attr_id) in lxb_dom_element_attr_is_exist()
H A Dnode.c572 cb_ctx->name_id = attr_data->attr_id; in lxb_dom_node_prepare_by_attr()
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtoken.c273 doc_type->name = attr->name->attr_id; in lxb_html_token_doctype_parse()
281 if (attr->name->attr_id == LXB_DOM_ATTR_PUBLIC) { in lxb_html_token_doctype_parse()
294 else if (attr->name->attr_id == LXB_DOM_ATTR_SYSTEM) { in lxb_html_token_doctype_parse()
363 if (attr->name->attr_id == data->attr_id) { in lxb_html_token_find_attr()
H A Dtree.c491 attr->node.local_name = token_attr->name->attr_id; in lxb_html_tree_append_attributes()
569 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_mathml_attributes()
603 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_svg_attributes()
645 attr->qualified_name = data->attr_id; in lxb_html_tree_adjust_foreign_attributes()
655 attr->node.local_name = attr_data->attr_id; in lxb_html_tree_adjust_foreign_attributes()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c246 && (attr->name->attr_id == LXB_DOM_ATTR_COLOR in lxb_html_tree_insertion_mode_foreign_content_all()
247 || attr->name->attr_id == LXB_DOM_ATTR_FACE in lxb_html_tree_insertion_mode_foreign_content_all()
248 || attr->name->attr_id == LXB_DOM_ATTR_SIZE)) in lxb_html_tree_insertion_mode_foreign_content_all()
H A Din_table.c272 if (attr->name != NULL && attr->name->attr_id == LXB_DOM_ATTR_TYPE) { in lxb_html_tree_insertion_mode_in_table_input()
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c1178 if (element->attr_id == NULL || element->attr_id->value == NULL) { in lxb_selectors_match_id()
1182 trg = element->attr_id->value; in lxb_selectors_match_id()
1269 entry->id = attr_data->attr_id; in lxb_selectors_match_attribute()

Completed in 33 milliseconds