new_xml 122 include/crm/common/xml_compat.h void xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 125 include/crm/common/xml_compat.h void xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 424 include/crm/common/xml_internal.h void pcmk__xml_mark_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 1066 lib/common/schemas.c xmlNode *new_xml = NULL; new_xml 1082 lib/common/schemas.c new_xml = apply_transformation(input_xml, transform, to_logs); new_xml 1085 lib/common/schemas.c if (new_xml == NULL) { new_xml 1089 lib/common/schemas.c input_xml = new_xml; new_xml 1090 lib/common/schemas.c old_xml = new_xml; new_xml 1094 lib/common/schemas.c pcmk__xml_new_private_data((xmlNode *) new_xml->doc); new_xml 1097 lib/common/schemas.c if (!validate_with(new_xml, upgraded_schema, error_handler, new_xml 1102 lib/common/schemas.c crm_log_xml_debug(new_xml, "bad-transform-result"); new_xml 1103 lib/common/schemas.c pcmk__xml_free(new_xml); new_xml 1109 lib/common/schemas.c return new_xml; new_xml 1105 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1108 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1116 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1120 lib/common/xml.c attr = xmlHasProp(new_xml, (const xmlChar *) attr_name); new_xml 1136 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1139 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1140 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); new_xml 1147 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1151 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); new_xml 1167 lib/common/xml.c mark_attr_moved(xmlNode *new_xml, const char *element, xmlAttr *old_attr, new_xml 1176 lib/common/xml.c pcmk__mark_xml_node_dirty(new_xml); new_xml 1193 lib/common/xml.c xml_diff_old_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1200 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); new_xml 1205 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, new_xml 1214 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); new_xml 1220 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, new_xml 1224 lib/common/xml.c && !pcmk__xml_doc_all_flags_set(new_xml->doc, new_xml 1231 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, new_xml 1248 lib/common/xml.c mark_created_attrs(xmlNode *new_xml) new_xml 1250 lib/common/xml.c xmlAttr *attr_iter = pcmk__xe_first_attr(new_xml); new_xml 1262 lib/common/xml.c new_xml->name); new_xml 1267 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, pcmk__xf_acl_write)) { new_xml 1285 lib/common/xml.c xml_diff_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1288 lib/common/xml.c for (xmlAttr *attr = pcmk__xe_first_attr(new_xml); attr != NULL; new_xml 1295 lib/common/xml.c xml_diff_old_attrs(old_xml, new_xml); new_xml 1296 lib/common/xml.c mark_created_attrs(new_xml); new_xml 1492 lib/common/xml.c find_matching_children(xmlNode *old_xml, xmlNode *new_xml) new_xml 1504 lib/common/xml.c for (xmlNode *new_child = pcmk__xml_first_child(new_xml); new_xml 1537 lib/common/xml.c pcmk__xml_mark_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1547 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL), return); new_xml 1548 lib/common/xml.c if ((old_xml->_private == NULL) || (new_xml->_private == NULL)) { new_xml 1552 lib/common/xml.c pcmk__xml_doc_set_flags(new_xml->doc, pcmk__xf_tracking); new_xml 1553 lib/common/xml.c xml_diff_attrs(old_xml, new_xml); new_xml 1555 lib/common/xml.c find_matching_children(old_xml, new_xml); new_xml 1570 lib/common/xml.c mark_child_deleted(old_child, new_xml); new_xml 1594 lib/common/xml.c for (xmlNode *new_child = pcmk__xml_first_child(new_xml), new_xml 1816 lib/common/xml.c xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1818 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL) new_xml 1819 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) new_xml 1820 lib/common/xml.c && pcmk__str_eq(pcmk__xe_id(old_xml), pcmk__xe_id(new_xml), new_xml 1824 lib/common/xml.c if (!pcmk__xml_doc_all_flags_set(new_xml->doc, pcmk__xf_tracking)) { new_xml 1826 lib/common/xml.c pcmk__xml_commit_changes(new_xml->doc); new_xml 1829 lib/common/xml.c pcmk__xml_mark_changes(old_xml, new_xml); new_xml 1833 lib/common/xml.c xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1835 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL) new_xml 1836 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) new_xml 1837 lib/common/xml.c && pcmk__str_eq(pcmk__xe_id(old_xml), pcmk__xe_id(new_xml), new_xml 1847 lib/common/xml.c pcmk__xml_doc_set_flags(new_xml->doc, pcmk__xf_ignore_attr_pos); new_xml 1849 lib/common/xml.c if (!pcmk__xml_doc_all_flags_set(new_xml->doc, pcmk__xf_tracking)) { new_xml 1851 lib/common/xml.c pcmk__xml_commit_changes(new_xml->doc); new_xml 1854 lib/common/xml.c pcmk__xml_mark_changes(old_xml, new_xml); new_xml 232 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; new_xml 241 lib/pacemaker/pcmk_sched_constraints.c new_xml = pcmk__xml_copy(NULL, xml_obj); new_xml 243 lib/pacemaker/pcmk_sched_constraints.c for (xmlNode *set = pcmk__xe_first_child(new_xml, PCMK_XE_RESOURCE_SET, new_xml 263 lib/pacemaker/pcmk_sched_constraints.c pcmk__xml_free(new_xml); new_xml 333 lib/pacemaker/pcmk_sched_constraints.c pcmk__xml_free(new_xml); new_xml 334 lib/pacemaker/pcmk_sched_constraints.c new_xml = NULL; new_xml 336 lib/pacemaker/pcmk_sched_constraints.c return new_xml; new_xml 272 lib/pengine/complex.c xmlNode *new_xml = NULL; new_xml 315 lib/pengine/complex.c new_xml = pcmk__xml_copy(NULL, template); new_xml 316 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); new_xml 317 lib/pengine/complex.c crm_xml_add(new_xml, PCMK_XA_ID, id); new_xml 318 lib/pengine/complex.c crm_xml_add(new_xml, PCMK__META_CLONE, new_xml 321 lib/pengine/complex.c template_ops = pcmk__xe_first_child(new_xml, PCMK_XE_OPERATIONS, NULL, new_xml 327 lib/pengine/complex.c xmlNode *new_child = pcmk__xml_copy(new_xml, child_xml); new_xml 366 lib/pengine/complex.c *expanded_xml = new_xml; new_xml 369 lib/pengine/complex.c if (!unpack_template(new_xml, expanded_xml, scheduler)) {