patch 392 include/crm/common/xml.h void patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest); patch 1298 lib/common/xml.c xmlNode *patch = NULL; patch 1340 lib/common/xml.c patch = xml_create_patchset_v1(source, target, config, FALSE); patch 1343 lib/common/xml.c patch = xml_create_patchset_v2(source, target); patch 1350 lib/common/xml.c return patch; patch 1354 lib/common/xml.c patchset_process_digest(xmlNode *patch, xmlNode *source, xmlNode *target, bool with_digest) patch 1360 lib/common/xml.c if (patch == NULL || source == NULL || target == NULL) { patch 1368 lib/common/xml.c crm_element_value_int(patch, "format", &format); patch 1376 lib/common/xml.c crm_xml_add(patch, XML_ATTR_DIGEST, digest); patch 1608 lib/common/xml.c __subtract_xml_object(xmlNode * target, xmlNode * patch) patch 1618 lib/common/xml.c if (target == NULL || patch == NULL) { patch 1625 lib/common/xml.c subtract_xml_comment(target->parent, target, patch, &dummy); patch 1630 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(target), crm_element_name(patch)), return); patch 1631 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(target), ID(patch)), return); patch 1635 lib/common/xml.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 1643 lib/common/xml.c for (xIter = crm_first_attr(patch); xIter != NULL; xIter = xIter->next) { patch 1658 lib/common/xml.c patch_child = find_element(patch, target_child, FALSE); patch 1665 lib/common/xml.c __add_xml_object(xmlNode * parent, xmlNode * target, xmlNode * patch) patch 1675 lib/common/xml.c if (patch == NULL) { patch 1682 lib/common/xml.c value = crm_element_value(patch, XML_DIFF_MARKER); patch 1686 lib/common/xml.c id = ID(patch); patch 1687 lib/common/xml.c name = crm_element_name(patch); patch 1689 lib/common/xml.c add_node_copy(parent, patch); patch 1693 lib/common/xml.c id = ID(patch); patch 1694 lib/common/xml.c name = crm_element_name(patch); patch 1700 lib/common/xml.c add_xml_comment(parent, target, patch); patch 1705 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(target), crm_element_name(patch)), return); patch 1706 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(target), ID(patch)), return); patch 1708 lib/common/xml.c for (xIter = crm_first_attr(patch); xIter != NULL; xIter = xIter->next) { patch 1710 lib/common/xml.c const char *p_value = crm_element_value(patch, p_name); patch 1717 lib/common/xml.c for (patch_child = __xml_first_child(patch); patch_child != NULL; patch 72 tools/crm_diff.c print_patch(xmlNode *patch) patch 74 tools/crm_diff.c char *buffer = dump_xml_formatted(patch); patch 82 tools/crm_diff.c apply_patch(xmlNode *input, xmlNode *patch, gboolean as_cib) patch 87 tools/crm_diff.c rc = xml_apply_patchset(output, patch, as_cib); patch 110 tools/crm_diff.c log_patch_cib_versions(xmlNode *patch) patch 118 tools/crm_diff.c xml_patch_versions(patch, add, del); patch 119 tools/crm_diff.c fmt = crm_element_value(patch, "format"); patch 120 tools/crm_diff.c digest = crm_element_value(patch, XML_ATTR_DIGEST); patch 129 tools/crm_diff.c strip_patch_cib_version(xmlNode *patch, const char **vfields, size_t nvfields) patch 133 tools/crm_diff.c crm_element_value_int(patch, "format", &format); patch 135 tools/crm_diff.c xmlNode *version_xml = find_xml_node(patch, "version", FALSE); patch 153 tools/crm_diff.c tmp = find_xml_node(patch, tags[i], FALSE);