new_xml           270 include/crm/common/xml.h void xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml);
new_xml           271 include/crm/common/xml.h void xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml);
new_xml           303 include/crm/common/xml.h gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml);
new_xml          1660 lib/common/patchset.c gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml);
new_xml          1667 lib/common/patchset.c apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml)
new_xml          1679 lib/common/patchset.c     CRM_CHECK(new_xml != NULL, return FALSE);
new_xml          1690 lib/common/patchset.c             *new_xml = subtract_xml_object(NULL, old_xml, child_diff, FALSE,
new_xml          1697 lib/common/patchset.c         *new_xml = copy_xml(old_xml);
new_xml          1714 lib/common/patchset.c                 pcmk__xml_update(NULL, *new_xml, child_diff, true);
new_xml          1728 lib/common/patchset.c         purge_diff_markers(*new_xml); // Purge now so diff is ok
new_xml          1729 lib/common/patchset.c         new_digest = calculate_xml_versioned_digest(*new_xml, FALSE, TRUE,
new_xml          1740 lib/common/patchset.c                 save_xml_to_file(*new_xml, "diff:new", NULL);
new_xml          1750 lib/common/patchset.c         purge_diff_markers(*new_xml); // Purge now so diff is ok
new_xml          2080 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name,
new_xml          2083 lib/common/xml.c     xml_private_t *p = new_xml->doc->_private;
new_xml          2090 lib/common/xml.c     attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value);
new_xml          2098 lib/common/xml.c     xml_remove_prop(new_xml, attr_name);
new_xml          2109 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name,
new_xml          2112 lib/common/xml.c     char *vcopy = crm_element_value_copy(new_xml, attr_name);
new_xml          2118 lib/common/xml.c     xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value);
new_xml          2121 lib/common/xml.c     crm_xml_add(new_xml, attr_name, vcopy);
new_xml          2130 lib/common/xml.c mark_attr_moved(xmlNode *new_xml, const char *element, xmlAttr *old_attr,
new_xml          2139 lib/common/xml.c     mark_xml_node_dirty(new_xml);
new_xml          2153 lib/common/xml.c xml_diff_old_attrs(xmlNode *old_xml, xmlNode *new_xml)
new_xml          2159 lib/common/xml.c         xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name);
new_xml          2165 lib/common/xml.c             mark_attr_deleted(new_xml, (const char *) old_xml->name, name,
new_xml          2172 lib/common/xml.c             const char *new_value = crm_element_value(new_xml, name);
new_xml          2178 lib/common/xml.c                 mark_attr_changed(new_xml, (const char *) old_xml->name, name,
new_xml          2182 lib/common/xml.c                        && !pcmk__tracking_xml_changes(new_xml, TRUE)) {
new_xml          2183 lib/common/xml.c                 mark_attr_moved(new_xml, (const char *) old_xml->name,
new_xml          2195 lib/common/xml.c mark_created_attrs(xmlNode *new_xml)
new_xml          2197 lib/common/xml.c     xmlAttr *attr_iter = pcmk__first_xml_attr(new_xml);
new_xml          2208 lib/common/xml.c                       attr_name, crm_element_value(new_xml, attr_name),
new_xml          2209 lib/common/xml.c                       new_xml->name);
new_xml          2214 lib/common/xml.c             if (pcmk__check_acl(new_xml, attr_name, xpf_acl_write)) {
new_xml          2218 lib/common/xml.c                 xmlUnsetProp(new_xml, new_attr->name);
new_xml          2229 lib/common/xml.c xml_diff_attrs(xmlNode *old_xml, xmlNode *new_xml)
new_xml          2231 lib/common/xml.c     set_attrs_flag(new_xml, xpf_created); // cleared later if not really new
new_xml          2232 lib/common/xml.c     xml_diff_old_attrs(old_xml, new_xml);
new_xml          2233 lib/common/xml.c     mark_created_attrs(new_xml);
new_xml          2288 lib/common/xml.c mark_xml_changes(xmlNode *old_xml, xmlNode *new_xml, bool check_top)
new_xml          2293 lib/common/xml.c     CRM_CHECK(new_xml != NULL, return);
new_xml          2295 lib/common/xml.c         pcmk__mark_xml_created(new_xml);
new_xml          2296 lib/common/xml.c         pcmk__apply_creation_acl(new_xml, check_top);
new_xml          2300 lib/common/xml.c     p = new_xml->_private;
new_xml          2309 lib/common/xml.c     xml_diff_attrs(old_xml, new_xml);
new_xml          2314 lib/common/xml.c         xmlNode *new_child = pcmk__xml_match(new_xml, cIter, true);
new_xml          2321 lib/common/xml.c             mark_child_deleted(old_child, new_xml);
new_xml          2326 lib/common/xml.c     for (cIter = pcmk__xml_first_child(new_xml); cIter != NULL; ) {
new_xml          2343 lib/common/xml.c                 mark_child_moved(old_child, new_xml, new_child, p_old, p_new);
new_xml          2350 lib/common/xml.c xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml)
new_xml          2352 lib/common/xml.c     pcmk__set_xml_doc_flag(new_xml, xpf_lazy);
new_xml          2353 lib/common/xml.c     xml_calculate_changes(old_xml, new_xml);
new_xml          2357 lib/common/xml.c xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml)
new_xml          2359 lib/common/xml.c     CRM_CHECK(pcmk__str_eq(crm_element_name(old_xml), crm_element_name(new_xml), pcmk__str_casei),
new_xml          2361 lib/common/xml.c     CRM_CHECK(pcmk__str_eq(ID(old_xml), ID(new_xml), pcmk__str_casei), return);
new_xml          2363 lib/common/xml.c     if(xml_tracking_changes(new_xml) == FALSE) {
new_xml          2364 lib/common/xml.c         xml_track_changes(new_xml, NULL, NULL, FALSE);
new_xml          2367 lib/common/xml.c     mark_xml_changes(old_xml, new_xml, FALSE);
new_xml           518 lib/pacemaker/pcmk_sched_constraints.c     xmlNode *new_xml = NULL;
new_xml           527 lib/pacemaker/pcmk_sched_constraints.c     new_xml = copy_xml(xml_obj);
new_xml           528 lib/pacemaker/pcmk_sched_constraints.c     cons_id = ID(new_xml);
new_xml           530 lib/pacemaker/pcmk_sched_constraints.c     for (set = pcmk__xe_first_child(new_xml); set != NULL;
new_xml           556 lib/pacemaker/pcmk_sched_constraints.c                 free_xml(new_xml);
new_xml           630 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml           632 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml           895 lib/pacemaker/pcmk_sched_constraints.c     xmlNode *new_xml = NULL;
new_xml           910 lib/pacemaker/pcmk_sched_constraints.c     expand_tags_in_sets(xml_obj, &new_xml, data_set);
new_xml           911 lib/pacemaker/pcmk_sched_constraints.c     if (new_xml) {
new_xml           913 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_location...");
new_xml           914 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml           935 lib/pacemaker/pcmk_sched_constraints.c     new_xml = copy_xml(xml_obj);
new_xml           938 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_lh, XML_LOC_ATTR_SOURCE, FALSE, data_set) == FALSE) {
new_xml           939 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml           948 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_RULE_ATTR_ROLE);
new_xml           950 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_location...");
new_xml           951 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml           955 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2060 lib/pacemaker/pcmk_sched_constraints.c     xmlNode *new_xml = NULL;
new_xml          2077 lib/pacemaker/pcmk_sched_constraints.c     expand_tags_in_sets(xml_obj, &new_xml, data_set);
new_xml          2078 lib/pacemaker/pcmk_sched_constraints.c     if (new_xml) {
new_xml          2080 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_order...");
new_xml          2081 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2111 lib/pacemaker/pcmk_sched_constraints.c     new_xml = copy_xml(xml_obj);
new_xml          2114 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_first, XML_ORDER_ATTR_FIRST, TRUE, data_set) == FALSE) {
new_xml          2115 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2124 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_ORDER_ATTR_FIRST_ACTION);
new_xml          2130 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_then, XML_ORDER_ATTR_THEN, TRUE, data_set) == FALSE) {
new_xml          2131 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2140 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_ORDER_ATTR_THEN_ACTION);
new_xml          2146 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_order...");
new_xml          2147 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2149 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2558 lib/pacemaker/pcmk_sched_constraints.c     xmlNode *new_xml = NULL;
new_xml          2575 lib/pacemaker/pcmk_sched_constraints.c     expand_tags_in_sets(xml_obj, &new_xml, data_set);
new_xml          2576 lib/pacemaker/pcmk_sched_constraints.c     if (new_xml) {
new_xml          2578 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_colocation...");
new_xml          2579 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2616 lib/pacemaker/pcmk_sched_constraints.c     new_xml = copy_xml(xml_obj);
new_xml          2619 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_lh, XML_COLOC_ATTR_SOURCE, TRUE, data_set) == FALSE) {
new_xml          2620 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2629 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_COLOC_ATTR_SOURCE_ROLE);
new_xml          2635 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_rh, XML_COLOC_ATTR_TARGET, TRUE, data_set) == FALSE) {
new_xml          2636 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2645 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_COLOC_ATTR_TARGET_ROLE);
new_xml          2651 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_colocation...");
new_xml          2652 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2654 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2922 lib/pacemaker/pcmk_sched_constraints.c     xmlNode *new_xml = NULL;
new_xml          2938 lib/pacemaker/pcmk_sched_constraints.c     expand_tags_in_sets(xml_obj, &new_xml, data_set);
new_xml          2939 lib/pacemaker/pcmk_sched_constraints.c     if (new_xml) {
new_xml          2941 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_ticket...");
new_xml          2942 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2963 lib/pacemaker/pcmk_sched_constraints.c     new_xml = copy_xml(xml_obj);
new_xml          2966 lib/pacemaker/pcmk_sched_constraints.c     if (tag_to_set(new_xml, &rsc_set_lh, XML_COLOC_ATTR_SOURCE, FALSE, data_set) == FALSE) {
new_xml          2967 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml          2976 lib/pacemaker/pcmk_sched_constraints.c             xml_remove_prop(new_xml, XML_COLOC_ATTR_SOURCE_ROLE);
new_xml          2982 lib/pacemaker/pcmk_sched_constraints.c         crm_log_xml_trace(new_xml, "Expanded rsc_ticket...");
new_xml          2983 lib/pacemaker/pcmk_sched_constraints.c         *expanded_xml = new_xml;
new_xml          2985 lib/pacemaker/pcmk_sched_constraints.c         free_xml(new_xml);
new_xml           228 lib/pengine/complex.c     xmlNode *new_xml = NULL;
new_xml           270 lib/pengine/complex.c     new_xml = copy_xml(template);
new_xml           271 lib/pengine/complex.c     xmlNodeSetName(new_xml, xml_obj->name);
new_xml           272 lib/pengine/complex.c     crm_xml_replace(new_xml, XML_ATTR_ID, id);
new_xml           276 lib/pengine/complex.c         crm_xml_add(new_xml, XML_RSC_ATTR_INCARNATION, clone);
new_xml           279 lib/pengine/complex.c     template_ops = find_xml_node(new_xml, "operations", FALSE);
new_xml           285 lib/pengine/complex.c         new_child = add_node_copy(new_xml, child_xml);
new_xml           326 lib/pengine/complex.c     *expanded_xml = new_xml;