patch 290 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); patch 324 lib/common/patchset.c xmlNode *patch = NULL; patch 363 lib/common/patchset.c patch = xml_create_patchset_v1(source, target, config, FALSE); patch 366 lib/common/patchset.c patch = xml_create_patchset_v2(source, target); patch 372 lib/common/patchset.c return patch; patch 376 lib/common/patchset.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, patch 383 lib/common/patchset.c if ((patch == NULL) || (source == NULL) || (target == NULL)) { patch 392 lib/common/patchset.c crm_element_value_int(patch, "format", &format); patch 400 lib/common/patchset.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); patch 415 lib/common/patchset.c process_v1_removals(xmlNode *target, xmlNode *patch) patch 424 lib/common/patchset.c if ((target == NULL) || (patch == NULL)) { patch 431 lib/common/patchset.c subtract_xml_comment(target->parent, target, patch, &dummy); patch 436 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), patch 439 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); patch 443 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 452 lib/common/patchset.c pcmk__xe_remove_matching_attrs(patch, not_id, NULL); patch 460 lib/common/patchset.c patch_child = pcmk__xml_match(patch, target_child, false); patch 468 lib/common/patchset.c process_v1_additions(xmlNode *parent, xmlNode *target, xmlNode *patch) patch 478 lib/common/patchset.c if (patch == NULL) { patch 485 lib/common/patchset.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 488 lib/common/patchset.c id = ID(patch); patch 489 lib/common/patchset.c name = crm_element_name(patch); patch 491 lib/common/patchset.c add_node_copy(parent, patch); patch 495 lib/common/patchset.c id = ID(patch); patch 496 lib/common/patchset.c name = crm_element_name(patch); patch 502 lib/common/patchset.c pcmk__xc_update(parent, target, patch); patch 507 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(crm_element_name(target), crm_element_name(patch), patch 510 lib/common/patchset.c CRM_CHECK(pcmk__str_eq(ID(target), ID(patch), pcmk__str_casei), return); patch 512 lib/common/patchset.c for (xIter = pcmk__xe_first_attr(patch); xIter != NULL; patch 515 lib/common/patchset.c const char *p_value = crm_element_value(patch, p_name); patch 522 lib/common/patchset.c for (patch_child = pcmk__xml_first_child(patch); patch_child != NULL; patch 107 tools/crm_diff.c print_patch(xmlNode *patch) patch 109 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); patch 118 tools/crm_diff.c apply_patch(xmlNode *input, xmlNode *patch, gboolean as_cib) patch 121 tools/crm_diff.c int rc = xml_apply_patchset(output, patch, as_cib); patch 146 tools/crm_diff.c log_patch_cib_versions(xmlNode *patch) patch 154 tools/crm_diff.c xml_patch_versions(patch, add, del); patch 155 tools/crm_diff.c fmt = crm_element_value(patch, "format"); patch 156 tools/crm_diff.c digest = crm_element_value(patch, XML_ATTR_DIGEST); patch 165 tools/crm_diff.c strip_patch_cib_version(xmlNode *patch, const char **vfields, size_t nvfields) patch 169 tools/crm_diff.c crm_element_value_int(patch, "format", &format); patch 171 tools/crm_diff.c xmlNode *version_xml = find_xml_node(patch, "version", FALSE); patch 189 tools/crm_diff.c tmp = find_xml_node(patch, tags[i], FALSE);