new_xml 92 include/crm/common/xml.h void xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 93 include/crm/common/xml.h void xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml); new_xml 54 include/crm/common/xml_compat.h gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml); new_xml 1469 lib/common/patchset.c apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml) new_xml 1482 lib/common/patchset.c CRM_CHECK(new_xml != NULL, return FALSE); new_xml 1489 lib/common/patchset.c *new_xml = subtract_v1_xml_object(NULL, old_xml, child_diff, false, new_xml 1496 lib/common/patchset.c *new_xml = pcmk__xml_copy(NULL, old_xml); new_xml 1513 lib/common/patchset.c pcmk__xml_update(NULL, *new_xml, child_diff, pcmk__xaf_none, new_xml 1528 lib/common/patchset.c purge_v1_diff_markers(*new_xml); // Purge now so diff is ok new_xml 1529 lib/common/patchset.c new_digest = calculate_xml_versioned_digest(*new_xml, FALSE, TRUE, new_xml 1540 lib/common/patchset.c save_xml_to_file(*new_xml, "diff:new", NULL); new_xml 1552 lib/common/patchset.c purge_v1_diff_markers(*new_xml); // Purge now so diff is ok new_xml 1328 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1331 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1339 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1343 lib/common/xml.c attr = xmlHasProp(new_xml, (pcmkXmlStr) attr_name); new_xml 1359 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, new_xml 1362 lib/common/xml.c xml_doc_private_t *docpriv = new_xml->doc->_private; new_xml 1363 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); new_xml 1370 lib/common/xml.c crm_xml_add(new_xml, attr_name, old_value); new_xml 1374 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); new_xml 1390 lib/common/xml.c mark_attr_moved(xmlNode *new_xml, const char *element, xmlAttr *old_attr, new_xml 1399 lib/common/xml.c pcmk__mark_xml_node_dirty(new_xml); new_xml 1416 lib/common/xml.c xml_diff_old_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1423 lib/common/xml.c xmlAttr *new_attr = xmlHasProp(new_xml, attr_iter->name); new_xml 1428 lib/common/xml.c mark_attr_deleted(new_xml, (const char *) old_xml->name, name, new_xml 1437 lib/common/xml.c const char *new_value = crm_element_value(new_xml, name); new_xml 1443 lib/common/xml.c mark_attr_changed(new_xml, (const char *) old_xml->name, name, new_xml 1447 lib/common/xml.c && !pcmk__tracking_xml_changes(new_xml, TRUE)) { new_xml 1448 lib/common/xml.c mark_attr_moved(new_xml, (const char *) old_xml->name, new_xml 1465 lib/common/xml.c mark_created_attrs(xmlNode *new_xml) new_xml 1467 lib/common/xml.c xmlAttr *attr_iter = pcmk__xe_first_attr(new_xml); new_xml 1479 lib/common/xml.c new_xml->name); new_xml 1484 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, pcmk__xf_acl_write)) { new_xml 1502 lib/common/xml.c xml_diff_attrs(xmlNode *old_xml, xmlNode *new_xml) new_xml 1504 lib/common/xml.c set_attrs_flag(new_xml, pcmk__xf_created); // cleared later if not really new new_xml 1505 lib/common/xml.c xml_diff_old_attrs(old_xml, new_xml); new_xml 1506 lib/common/xml.c mark_created_attrs(new_xml); new_xml 1566 lib/common/xml.c mark_xml_changes(xmlNode *old_xml, xmlNode *new_xml, bool check_top) new_xml 1572 lib/common/xml.c CRM_CHECK(new_xml != NULL, return); new_xml 1574 lib/common/xml.c mark_xml_tree_dirty_created(new_xml); new_xml 1575 lib/common/xml.c pcmk__apply_creation_acl(new_xml, check_top); new_xml 1579 lib/common/xml.c nodepriv = new_xml->_private; new_xml 1588 lib/common/xml.c xml_diff_attrs(old_xml, new_xml); new_xml 1594 lib/common/xml.c new_child = pcmk__xml_match(new_xml, old_child, true); new_xml 1600 lib/common/xml.c mark_child_deleted(old_child, new_xml); new_xml 1605 lib/common/xml.c new_child = pcmk__xml_first_child(new_xml); new_xml 1625 lib/common/xml.c mark_child_moved(old_child, new_xml, new_child, p_old, p_new); new_xml 1634 lib/common/xml.c xml_calculate_significant_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1636 lib/common/xml.c pcmk__set_xml_doc_flag(new_xml, pcmk__xf_lazy); new_xml 1637 lib/common/xml.c xml_calculate_changes(old_xml, new_xml); new_xml 1642 lib/common/xml.c xml_calculate_changes(xmlNode *old_xml, xmlNode *new_xml) new_xml 1644 lib/common/xml.c CRM_CHECK((old_xml != NULL) && (new_xml != NULL) new_xml 1645 lib/common/xml.c && pcmk__xe_is(old_xml, (const char *) new_xml->name) new_xml 1646 lib/common/xml.c && pcmk__str_eq(pcmk__xe_id(old_xml), pcmk__xe_id(new_xml), new_xml 1650 lib/common/xml.c if(xml_tracking_changes(new_xml) == FALSE) { new_xml 1651 lib/common/xml.c xml_track_changes(new_xml, NULL, NULL, FALSE); new_xml 1654 lib/common/xml.c mark_xml_changes(old_xml, new_xml, FALSE); new_xml 224 lib/pacemaker/pcmk_sched_constraints.c xmlNode *new_xml = NULL; new_xml 233 lib/pacemaker/pcmk_sched_constraints.c new_xml = pcmk__xml_copy(NULL, xml_obj); new_xml 235 lib/pacemaker/pcmk_sched_constraints.c for (xmlNode *set = pcmk__xe_first_child(new_xml, PCMK_XE_RESOURCE_SET, new_xml 254 lib/pacemaker/pcmk_sched_constraints.c free_xml(new_xml); new_xml 324 lib/pacemaker/pcmk_sched_constraints.c free_xml(new_xml); new_xml 325 lib/pacemaker/pcmk_sched_constraints.c new_xml = NULL; new_xml 327 lib/pacemaker/pcmk_sched_constraints.c return new_xml; new_xml 298 lib/pengine/complex.c xmlNode *new_xml = NULL; new_xml 341 lib/pengine/complex.c new_xml = pcmk__xml_copy(NULL, template); new_xml 342 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); new_xml 343 lib/pengine/complex.c crm_xml_add(new_xml, PCMK_XA_ID, id); new_xml 344 lib/pengine/complex.c crm_xml_add(new_xml, PCMK__META_CLONE, new_xml 347 lib/pengine/complex.c template_ops = pcmk__xe_first_child(new_xml, PCMK_XE_OPERATIONS, NULL, new_xml 353 lib/pengine/complex.c xmlNode *new_child = pcmk__xml_copy(new_xml, child_xml); new_xml 392 lib/pengine/complex.c *expanded_xml = new_xml; new_xml 395 lib/pengine/complex.c if (!unpack_template(new_xml, expanded_xml, scheduler)) {