new_xml 70 include/crm/common/xml.h void xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 71 include/crm/common/xml.h void xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 969 lib/common/schemas.c xmlNode *new_xml = NULL; new_xml 985 lib/common/schemas.c new_xml = apply_transformation(input_xml, transform, to_logs); new_xml 988 lib/common/schemas.c if (new_xml == NULL) { new_xml 992 lib/common/schemas.c input_xml = new_xml; new_xml 993 lib/common/schemas.c old_xml = new_xml; new_xml 997 lib/common/schemas.c pcmk__xml_new_private_data((xmlNode *) new_xml->doc); new_xml 1000 lib/common/schemas.c if (!validate_with(new_xml, upgraded_schema, error_handler, new_xml 1005 lib/common/schemas.c crm_log_xml_debug(new_xml, "bad-transform-result"); new_xml 1006 lib/common/schemas.c pcmk__xml_free(new_xml); new_xml 1012 lib/common/schemas.c return new_xml; new_xml 1093 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1096 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1104 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1108 lib/common/xml.c attr = xmlHasProp(new_xml, (pcmkXmlStr) attr_name); new_xml 1124 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1127 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1128 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); new_xml 1135 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1139 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); new_xml 1155 lib/common/xml.c mark_attr_moved(xmlNode *new_xml, const char *element, xmlAttr *old_attr, new_xml 1164 lib/common/xml.c pcmk__mark_xml_node_dirty(new_xml); new_xml 1181 lib/common/xml.c xml_diff_old_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1188 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); new_xml 1193 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, new_xml 1202 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); new_xml 1208 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, new_xml 1212 lib/common/xml.c && !pcmk__tracking_xml_changes(new_xml, TRUE)) { new_xml 1213 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, new_xml 1230 lib/common/xml.c mark_created_attrs(xmlNode *new_xml) new_xml 1232 lib/common/xml.c xmlAttr *attr_iter = pcmk__xe_first_attr(new_xml); new_xml 1244 lib/common/xml.c new_xml->name); new_xml 1249 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, pcmk__xf_acl_write)) { new_xml 1267 lib/common/xml.c xml_diff_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1269 lib/common/xml.c set_attrs_flag(new_xml, pcmk__xf_created); // cleared later if not really new new_xml 1270 lib/common/xml.c xml_diff_old_attrs(old_xml, new_xml); new_xml 1271 lib/common/xml.c mark_created_attrs(new_xml); new_xml 1331 lib/common/xml.c mark_xml_changes(xmlNode *old_xml, xmlNode *new_xml, bool check_top) new_xml 1337 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); new_xml 1339 lib/common/xml.c mark_xml_tree_dirty_created(new_xml); new_xml 1340 lib/common/xml.c pcmk__apply_creation_acl(new_xml, check_top); new_xml 1344 lib/common/xml.c nodepriv = new_xml->_private; new_xml 1353 lib/common/xml.c xml_diff_attrs(old_xml, new_xml); new_xml 1359 lib/common/xml.c new_child = pcmk__xml_match(new_xml, old_child, true); new_xml 1365 lib/common/xml.c mark_child_deleted(old_child, new_xml); new_xml 1370 lib/common/xml.c new_child = pcmk__xml_first_child(new_xml); new_xml 1390 lib/common/xml.c mark_child_moved(old_child, new_xml, new_child, p_old, p_new); new_xml 1399 lib/common/xml.c xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1401 lib/common/xml.c pcmk__set_xml_doc_flag(new_xml, pcmk__xf_lazy); new_xml 1402 lib/common/xml.c xml_calculate_changes(old_xml, new_xml); new_xml 1407 lib/common/xml.c xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1409 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL) new_xml 1410 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) new_xml 1411 lib/common/xml.c && pcmk__str_eq(pcmk__xe_id(old_xml), pcmk__xe_id(new_xml), new_xml 1415 lib/common/xml.c if(xml_tracking_changes(new_xml) == FALSE) { new_xml 1416 lib/common/xml.c xml_track_changes(new_xml, NULL, NULL, FALSE); new_xml 1419 lib/common/xml.c mark_xml_changes(old_xml, new_xml, FALSE); new_xml 233 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; new_xml 242 lib/pacemaker/pcmk_sched_constraints.c new_xml = pcmk__xml_copy(NULL, xml_obj); new_xml 244 lib/pacemaker/pcmk_sched_constraints.c for (xmlNode *set = pcmk__xe_first_child(new_xml, PCMK_XE_RESOURCE_SET, new_xml 264 lib/pacemaker/pcmk_sched_constraints.c pcmk__xml_free(new_xml); new_xml 334 lib/pacemaker/pcmk_sched_constraints.c pcmk__xml_free(new_xml); new_xml 335 lib/pacemaker/pcmk_sched_constraints.c new_xml = NULL; new_xml 337 lib/pacemaker/pcmk_sched_constraints.c return new_xml; new_xml 286 lib/pengine/complex.c xmlNode *new_xml = NULL; new_xml 329 lib/pengine/complex.c new_xml = pcmk__xml_copy(NULL, template); new_xml 330 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); new_xml 331 lib/pengine/complex.c crm_xml_add(new_xml, PCMK_XA_ID, id); new_xml 332 lib/pengine/complex.c crm_xml_add(new_xml, PCMK__META_CLONE, new_xml 335 lib/pengine/complex.c template_ops = pcmk__xe_first_child(new_xml, PCMK_XE_OPERATIONS, NULL, new_xml 341 lib/pengine/complex.c xmlNode *new_child = pcmk__xml_copy(new_xml, child_xml); new_xml 380 lib/pengine/complex.c *expanded_xml = new_xml; new_xml 383 lib/pengine/complex.c if (!unpack_template(new_xml, expanded_xml, scheduler)) {