Home
last modified time | relevance | path

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

/PHP-8.4/ext/dom/lexbor/lexbor/html/
H A Dtree.c511 lxb_dom_attr_t *new_attr; in lxb_html_tree_append_attributes_from_element() local
514 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()
/PHP-8.4/ext/soap/
H A Dphp_schema.c2077 sdlExtraAttributePtr new_attr; in copy_extra_attribute() local
2079 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()
/PHP-8.4/ext/dom/
H A Dphp_dom.c2521 xmlAttrPtr new_attr = (xmlAttrPtr) xmlDocCopyNode((xmlNodePtr) attr, dst_doc, 0); in dom_clone_container_helper() local
2522 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