Searched refs:new_attr (Results 1 – 3 of 3) sorted by relevance
511 lxb_dom_attr_t *new_attr; in lxb_html_tree_append_attributes_from_element() local514 new_attr = lxb_dom_attr_interface_create(element->node.owner_document); in lxb_html_tree_append_attributes_from_element()515 if (new_attr == NULL) { in lxb_html_tree_append_attributes_from_element()519 status = lxb_dom_attr_clone_name_value(attr, new_attr); in lxb_html_tree_append_attributes_from_element()524 new_attr->node.ns = attr->node.ns; in lxb_html_tree_append_attributes_from_element()528 status = tree->before_append_attr(tree, new_attr, NULL); in lxb_html_tree_append_attributes_from_element()
2077 sdlExtraAttributePtr new_attr; in copy_extra_attribute() local2079 new_attr = emalloc(sizeof(sdlExtraAttribute)); in copy_extra_attribute()2080 memcpy(new_attr, Z_PTR_P(zv), sizeof(sdlExtraAttribute)); in copy_extra_attribute()2081 Z_PTR_P(zv) = new_attr; in copy_extra_attribute()2082 if (new_attr->ns) { in copy_extra_attribute()2083 new_attr->ns = estrdup(new_attr->ns); in copy_extra_attribute()2085 if (new_attr->val) { in copy_extra_attribute()2086 new_attr->val = estrdup(new_attr->val); in copy_extra_attribute()
2521 xmlAttrPtr new_attr = (xmlAttrPtr) xmlDocCopyNode((xmlNodePtr) attr, dst_doc, 0); in dom_clone_container_helper() local2522 if (UNEXPECTED(new_attr == NULL)) { in dom_clone_container_helper()2527 clone->properties = new_attr; in dom_clone_container_helper()2529 new_attr->prev = last_added_attr; in dom_clone_container_helper()2530 last_added_attr->next = new_attr; in dom_clone_container_helper()2532 new_attr->parent = clone; in dom_clone_container_helper()2533 last_added_attr = new_attr; in dom_clone_container_helper()2536 new_attr->ns = attr->ns; in dom_clone_container_helper()
Completed in 35 milliseconds