diff 1367 daemons/based/based_callbacks.c contains_config_change(xmlNode *diff) diff 1371 daemons/based/based_callbacks.c if (diff) { diff 1372 daemons/based/based_callbacks.c xmlXPathObject *xpathObj = xpath_search(diff, XPATH_CONFIG_CHANGE); diff 142 daemons/based/based_notify.c const char *origin, xmlNode *update, xmlNode *diff) diff 158 daemons/based/based_notify.c if (diff == NULL) { diff 166 daemons/based/based_notify.c cib_diff_version_details(diff, &add_admin_epoch, &add_epoch, &add_updates, diff 211 daemons/based/based_notify.c type = (const char *) diff->name; diff 216 daemons/based/based_notify.c crm_xml_add(update_msg, PCMK__XA_CIB_OBJECT, pcmk__xe_id(diff)); diff 227 daemons/based/based_notify.c pcmk__xml_copy(wrapper, diff); diff 135 daemons/based/pacemaker-based.h const char *origin, xmlNode *update, xmlNode *diff); diff 37 daemons/controld/controld_te_callbacks.c te_update_diff_v1(const char *event, xmlNode *diff) diff 43 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); diff 47 daemons/controld/controld_te_callbacks.c "xml-patchset", diff); diff 49 daemons/controld/controld_te_callbacks.c if (cib__config_changed_v1(NULL, NULL, &diff)) { diff 51 daemons/controld/controld_te_callbacks.c "Non-status change", diff); diff 57 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 73 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 88 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 103 daemons/controld/controld_te_callbacks.c xpathObj = xpath_search(diff, diff 122 daemons/controld/controld_te_callbacks.c crm_log_xml_trace(diff, "lrm-refresh"); diff 142 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 160 daemons/controld/controld_te_callbacks.c xpathObj = xpath_search(diff, diff 181 daemons/controld/controld_te_callbacks.c op_match = xpath_search(diff, (const char *) rsc_op_xpath->str); diff 536 daemons/controld/controld_te_callbacks.c te_update_diff_v2(xmlNode *diff) diff 538 daemons/controld/controld_te_callbacks.c crm_log_xml_trace(diff, "Patch:Raw"); diff 539 daemons/controld/controld_te_callbacks.c pcmk__xe_foreach_child(diff, NULL, te_update_diff_element_v2, NULL); diff 546 daemons/controld/controld_te_callbacks.c xmlNode *diff = NULL; diff 576 daemons/controld/controld_te_callbacks.c diff = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); diff 578 daemons/controld/controld_te_callbacks.c xml_patch_versions(diff, p_add, p_del); diff 583 daemons/controld/controld_te_callbacks.c crm_element_value_int(diff, PCMK_XA_FORMAT, &format); diff 586 daemons/controld/controld_te_callbacks.c te_update_diff_v1(event, diff); diff 589 daemons/controld/controld_te_callbacks.c te_update_diff_v2(diff); diff 350 daemons/controld/controld_te_utils.c const xmlNode *diff = NULL; diff 386 daemons/controld/controld_te_utils.c diff = search; diff 391 daemons/controld/controld_te_utils.c if(diff) { diff 392 daemons/controld/controld_te_utils.c xml_patch_versions(diff, add, del); diff 458 daemons/fenced/cts-fence-helper.c uint32_t diff = (time(NULL) - begin); diff 462 daemons/fenced/cts-fence-helper.c } else if (diff < CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT) { diff 465 daemons/fenced/cts-fence-helper.c CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT, diff); diff 80 include/crm/cib/internal.h gboolean cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 176 include/crm/cib/internal.h xmlNode **result_cib, xmlNode **diff, xmlNode **output); diff 252 include/crm/cib/internal.h bool cib__config_changed_v1(xmlNode *last, xmlNode *next, xmlNode **diff); diff 37 include/crm/common/iso8601.h crm_time_t *diff; diff 54 include/crm/common/xml_compat.h gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml); diff 692 lib/cib/cib_ops.c cib__config_changed_v1(xmlNode *last, xmlNode *next, xmlNode **diff) diff 699 lib/cib/cib_ops.c pcmk__assert(diff != NULL); diff 701 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { diff 702 lib/cib/cib_ops.c *diff = pcmk__diff_v1_xml_object(last, next, false); diff 705 lib/cib/cib_ops.c if (*diff == NULL) { diff 709 lib/cib/cib_ops.c crm_element_value_int(*diff, PCMK_XA_FORMAT, &format); diff 712 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" PCMK_XE_CONFIGURATION); diff 724 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" PCMK__XE_DIFF_REMOVED "//" PCMK_XE_CIB); diff 46 lib/cib/cib_utils.c cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 52 lib/cib/cib_utils.c xml_patch_versions(diff, add, del); diff 336 lib/cib/cib_utils.c xmlNode **result_cib, xmlNode **diff, xmlNode **output) diff 649 lib/cib/cib_utils.c if(diff) { diff 650 lib/cib/cib_utils.c *diff = local_diff; diff 924 lib/cib/cib_utils.c xmlNode *diff = NULL; diff 931 lib/cib/cib_utils.c diff = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); diff 933 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { diff 938 lib/cib/cib_utils.c pcmk__log_xml_patchset(level, diff); diff 942 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, diff 1124 lib/common/iso8601.c crm_time_t *diff = NULL; diff 1141 lib/common/iso8601.c diff = crm_time_new_undefined(); diff 1171 lib/common/iso8601.c diff->years = an_int; diff 1176 lib/common/iso8601.c diff->months = an_int; diff 1178 lib/common/iso8601.c result = diff->seconds + an_int * 60LL; diff 1186 lib/common/iso8601.c diff->seconds = (int) result; diff 1193 lib/common/iso8601.c result = diff->days + an_int * 7LL; diff 1201 lib/common/iso8601.c diff->days = (int) result; diff 1206 lib/common/iso8601.c result = diff->days + (long long) an_int; diff 1214 lib/common/iso8601.c diff->days = (int) result; diff 1219 lib/common/iso8601.c result = diff->seconds + (long long) an_int * HOUR_SECONDS; diff 1227 lib/common/iso8601.c diff->seconds = (int) result; diff 1232 lib/common/iso8601.c result = diff->seconds + (long long) an_int; diff 1240 lib/common/iso8601.c diff->seconds = (int) result; diff 1257 lib/common/iso8601.c if (!crm_time_is_defined(diff)) { diff 1263 lib/common/iso8601.c diff->duration = TRUE; diff 1264 lib/common/iso8601.c return diff; diff 1267 lib/common/iso8601.c crm_time_free(diff); diff 1297 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 1298 lib/common/iso8601.c if (period->diff == NULL) { diff 1312 lib/common/iso8601.c if (period->diff != NULL) { diff 1318 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 1319 lib/common/iso8601.c if (period->diff == NULL) { diff 1329 lib/common/iso8601.c } else if (period->diff != NULL) { diff 1342 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); diff 1345 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); diff 1378 lib/common/iso8601.c crm_time_free(period->diff); diff 444 lib/common/patchset.c xmlNode *diff = NULL; diff 492 lib/common/patchset.c diff = pcmk__xe_create(parent, name); diff 500 lib/common/patchset.c subtract_v1_xml_object(diff, left_child, right_child, full, diff 518 lib/common/patchset.c pcmk__xe_set_attr_force(diff, p_name, p_value); diff 534 lib/common/patchset.c pcmk__xe_set_attr_force(diff, PCMK_XA_ID, id); diff 559 lib/common/patchset.c pcmk__xe_set_attr_force(diff, p_name, p_value); diff 566 lib/common/patchset.c pcmk__xe_set_attr_force(diff, prop_name, value); diff 567 lib/common/patchset.c crm_xml_add(diff, prop_name, left_value); diff 589 lib/common/patchset.c pcmk__xe_set_attr_force(diff, p_name, p_value); diff 597 lib/common/patchset.c crm_xml_add(diff, prop_name, left_value); diff 604 lib/common/patchset.c free_xml(diff); diff 608 lib/common/patchset.c crm_xml_add(diff, PCMK_XA_ID, id); diff 611 lib/common/patchset.c return diff; diff 1438 lib/common/patchset.c xmlNode *diff = pcmk__xe_create(NULL, PCMK_XE_DIFF); diff 1439 lib/common/patchset.c xmlNode *removed = pcmk__xe_create(diff, PCMK__XE_DIFF_REMOVED); diff 1440 lib/common/patchset.c xmlNode *added = pcmk__xe_create(diff, PCMK__XE_DIFF_ADDED); diff 1442 lib/common/patchset.c crm_xml_add(diff, PCMK_XA_CRM_FEATURE_SET, CRM_FEATURE_SET); diff 1456 lib/common/patchset.c free_xml(diff); diff 1457 lib/common/patchset.c diff = NULL; diff 1460 lib/common/patchset.c return diff; diff 1469 lib/common/patchset.c apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml) diff 1473 lib/common/patchset.c const char *digest = crm_element_value(diff, PCMK__XA_DIGEST); diff 1474 lib/common/patchset.c const char *version = crm_element_value(diff, PCMK_XA_CRM_FEATURE_SET); diff 1477 lib/common/patchset.c xmlNode *added = pcmk__xe_first_child(diff, PCMK__XE_DIFF_ADDED, NULL, diff 1479 lib/common/patchset.c xmlNode *removed = pcmk__xe_first_child(diff, PCMK__XE_DIFF_REMOVED, NULL, diff 1539 lib/common/patchset.c save_xml_to_file(diff, "diff:input", NULL); diff 300 lib/fencing/st_actions.c int diff = time(NULL) - action->initial_start_time; diff 307 lib/fencing/st_actions.c && (diff < (action->timeout * 0.7))) { diff 310 lib/fencing/st_actions.c action->remaining_timeout = action->timeout - diff; diff 43 maint/gnulib/lib/memcasecmp.c int diff = (UCHAR_MAX <= INT_MAX ? U1 - U2 : _GL_CMP (U1, U2)); diff 44 maint/gnulib/lib/memcasecmp.c if (diff) diff 45 maint/gnulib/lib/memcasecmp.c return diff; diff 37 maint/gnulib/lib/memcoll.c int diff; diff 39 maint/gnulib/lib/memcoll.c while (! (errno = 0, (diff = strcoll (s1, s2)) || errno)) diff 57 maint/gnulib/lib/memcoll.c return diff; diff 68 maint/gnulib/lib/memcoll.c int diff; diff 77 maint/gnulib/lib/memcoll.c diff = 0; diff 87 maint/gnulib/lib/memcoll.c diff = strcoll_loop (s1, s1len + 1, s2, s2len + 1); diff 93 maint/gnulib/lib/memcoll.c return diff; diff 1411 maint/gnulib/lib/nstrftime.c int diff; diff 1416 maint/gnulib/lib/nstrftime.c diff = tp->tm_gmtoff; diff 1419 maint/gnulib/lib/nstrftime.c diff = 0; diff 1441 maint/gnulib/lib/nstrftime.c diff = tm_diff (<m, >m); diff 1445 maint/gnulib/lib/nstrftime.c negative_number = diff < 0 || (diff == 0 && *zone == '-'); diff 1446 maint/gnulib/lib/nstrftime.c hour_diff = diff / 60 / 60; diff 1447 maint/gnulib/lib/nstrftime.c min_diff = diff / 60 % 60; diff 1448 maint/gnulib/lib/nstrftime.c sec_diff = diff % 60; diff 81 maint/gnulib/lib/strverscmp.c int diff; diff 82 maint/gnulib/lib/strverscmp.c while ((diff = c1 - c2) == 0) diff 85 maint/gnulib/lib/strverscmp.c return diff; diff 98 maint/gnulib/lib/strverscmp.c return diff; diff 105 maint/gnulib/lib/strverscmp.c return isdigit (*p2) ? -1 : diff; diff 56 maint/gnulib/lib/xmemcoll.c int diff = memcoll (s1, s1len, s2, s2len); diff 60 maint/gnulib/lib/xmemcoll.c return diff; diff 71 maint/gnulib/lib/xmemcoll.c int diff = memcoll0 (s1, s1size, s2, s2size); diff 75 maint/gnulib/lib/xmemcoll.c return diff; diff 136 maint/gnulib/tests/test-timespec.c struct timespec diff = timespec_sub (a, b); diff 157 maint/gnulib/tests/test-timespec.c if (! extremal (diff)) diff 158 maint/gnulib/tests/test-timespec.c ASSERT (eq (a, timespec_add (diff, b))); diff 2030 tools/crm_mon.c xmlNode *diff = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); diff 2032 tools/crm_mon.c pcmk__xe_foreach_child(diff, NULL, crm_diff_update_element_v2, NULL); diff 2061 tools/crm_mon.c xmlNode *diff = pcmk__xe_first_child(wrapper, NULL, NULL, NULL); diff 2066 tools/crm_mon.c rc = xml_apply_patchset(current_cib, diff, TRUE); diff 2090 tools/crm_mon.c crm_element_value_int(diff, PCMK_XA_FORMAT, &format); diff 157 tools/crm_shadow.c const xmlNode *diff = va_arg(args, const xmlNode *); diff 192 tools/crm_shadow.c if (diff != NULL) { diff 193 tools/crm_shadow.c out->message(out, "xml-patchset", diff); diff 230 tools/crm_shadow.c const xmlNode *diff = va_arg(args, const xmlNode *); diff 259 tools/crm_shadow.c if (pcmk_is_set(flags, shadow_disp_diff) && (diff != NULL)) { diff 260 tools/crm_shadow.c rc = out->message(out, "xml-patchset", diff); diff 293 tools/crm_shadow.c const xmlNode *diff = va_arg(args, const xmlNode *); diff 312 tools/crm_shadow.c if (diff != NULL) { diff 313 tools/crm_shadow.c out->message(out, "xml-patchset", diff); diff 941 tools/crm_shadow.c xmlNodePtr diff = NULL; diff 962 tools/crm_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, false); diff 969 tools/crm_shadow.c options.instance, NULL, NULL, diff, shadow_disp_diff); diff 972 tools/crm_shadow.c if (diff != NULL) { diff 984 tools/crm_shadow.c free_xml(diff);