result 80 daemons/based/based_messages.c int result = pcmk_ok; result 86 daemons/based/based_messages.c result = -EINVAL; result 93 daemons/based/based_messages.c result = -EPROTONOSUPPORT; result 96 daemons/based/based_messages.c return result; result 104 daemons/based/based_messages.c int result = pcmk_ok; result 110 daemons/based/based_messages.c result = pcmk_ok; result 112 daemons/based/based_messages.c result = -EPERM; result 114 daemons/based/based_messages.c return result; result 130 daemons/based/based_messages.c return result; result 390 daemons/based/based_messages.c int result = pcmk_ok; result 400 daemons/based/based_messages.c result = -EINVAL; result 403 daemons/based/based_messages.c result = -EINVAL; result 414 daemons/based/based_messages.c if (result != pcmk_ok) { result 418 daemons/based/based_messages.c result = pcmk_ok; result 434 daemons/based/based_messages.c if (tmp_result != pcmk_ok && result == pcmk_ok) { result 435 daemons/based/based_messages.c result = tmp_result; result 440 daemons/based/based_messages.c return result; result 449 daemons/based/based_messages.c int result = pcmk_ok; result 473 daemons/based/based_messages.c result = delete_cib_object(update_section, input); result 474 daemons/based/based_messages.c update_results(failed, input, op, result); result 476 daemons/based/based_messages.c if ((result == pcmk_ok) && xml_has_children(failed)) { result 477 daemons/based/based_messages.c result = -EINVAL; result 480 daemons/based/based_messages.c if (result != pcmk_ok) { result 488 daemons/based/based_messages.c return result; result 494 daemons/based/based_messages.c int result = pcmk_ok; result 535 daemons/based/based_messages.c result = -ENOTCONN; result 539 daemons/based/based_messages.c return result; result 43 daemons/based/based_notify.c int result, xmlNode * result_data, result 138 daemons/based/based_notify.c xmlNode * update, int result, xmlNode * diff) result 154 daemons/based/based_notify.c if (result != pcmk_ok) { result 166 daemons/based/based_notify.c add_admin_epoch, add_epoch, add_updates, pcmk_strerror(result)); result 172 daemons/based/based_notify.c add_admin_epoch, add_epoch, add_updates, pcmk_strerror(result)); result 175 daemons/based/based_notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); result 180 daemons/based/based_notify.c int result, xmlNode * result_data, const char *msg_type) result 194 daemons/based/based_notify.c crm_xml_add_int(update_msg, F_CIB_RC, result); result 237 daemons/based/based_notify.c cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff) result 273 daemons/based/based_notify.c crm_xml_add_int(replace_msg, F_CIB_RC, result); result 148 daemons/based/pacemaker-based.h const char *op, xmlNode *update, int result, result 150 daemons/based/pacemaker-based.h void cib_replace_notify(const char *origin, xmlNode *update, int result, result 253 daemons/controld/controld_election.c result = I_SHUTDOWN; result 517 daemons/controld/controld_execd.c enum ra_param_flags_e param_type, xmlNode **result) result 522 daemons/controld/controld_execd.c *result = create_xml_node(NULL, XML_TAG_PARAMS); result 565 daemons/controld/controld_execd.c crm_xml_add(*result, param->rap_name, v); result 788 daemons/controld/controld_execd_state.c pcmk_strerror(e->result), e->id); result 791 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); result 452 daemons/controld/controld_fencing.c if ((st_event->result == pcmk_ok) && pcmk__str_eq("on", st_event->action, pcmk__str_casei)) { result 464 daemons/controld/controld_fencing.c pcmk_strerror(st_event->result), st_event->result); result 467 daemons/controld/controld_fencing.c } else if ((st_event->result == pcmk_ok) result 495 daemons/controld/controld_fencing.c if (st_event->result == pcmk_ok) { result 504 daemons/controld/controld_fencing.c st_event->target, st_event->result == pcmk_ok ? "" : " not", result 508 daemons/controld/controld_fencing.c pcmk_strerror(st_event->result), result 511 daemons/controld/controld_fencing.c if (st_event->result == pcmk_ok) { result 291 daemons/controld/controld_messages.c enum crmd_fsa_input result = I_NULL; result 302 daemons/controld/controld_messages.c result = handle_message(input, cause); result 305 daemons/controld/controld_messages.c switch (result) { result 315 daemons/controld/controld_messages.c register_fsa_input_later(cause, result, &fsa_input); result 319 daemons/controld/controld_messages.c if (result != I_NULL) { result 321 daemons/controld/controld_messages.c register_fsa_input(cause, result, &fsa_input); result 1201 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); result 1217 daemons/controld/controld_remote_ra.c if (result) { result 1218 daemons/controld/controld_remote_ra.c const char *remote = ID(result); result 162 daemons/execd/cts-exec-helper.c #define print_result(result) \ result 164 daemons/execd/cts-exec-helper.c result; \ result 123 daemons/fenced/cts-fence-helper.c e->operation, e->origin, e->result == pcmk_ok ? "completed" : "failed", result 125 daemons/fenced/cts-fence-helper.c pcmk_strerror(e->result), e->id); result 1820 daemons/fenced/fenced_remote.c st_query_result_t *result, const char *device) result 1828 daemons/fenced/fenced_remote.c g_hash_table_insert(result->devices, strdup(device), props); result 1834 daemons/fenced/fenced_remote.c result->host, device); result 1839 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), result 1848 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "off", result 1851 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "on", result 1871 daemons/fenced/fenced_remote.c st_query_result_t *result = calloc(1, sizeof(st_query_result_t)); result 1876 daemons/fenced/fenced_remote.c CRM_CHECK(result != NULL, return NULL); result 1877 daemons/fenced/fenced_remote.c result->host = strdup(host); result 1878 daemons/fenced/fenced_remote.c result->devices = pcmk__strkey_table(free, free); result 1886 daemons/fenced/fenced_remote.c add_device_properties(child, op, result, device); result 1890 daemons/fenced/fenced_remote.c result->ndevices = g_hash_table_size(result->devices); result 1891 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == result->ndevices, result 1893 daemons/fenced/fenced_remote.c ndevices, pcmk__plural_s(ndevices), result->ndevices)); result 1895 daemons/fenced/fenced_remote.c op->query_results = g_list_insert_sorted(op->query_results, result, sort_peers); result 1896 daemons/fenced/fenced_remote.c return result; result 1922 daemons/fenced/fenced_remote.c st_query_result_t *result = NULL; result 1956 daemons/fenced/fenced_remote.c result = add_result(op, host, ndevices, dev); result 1966 daemons/fenced/fenced_remote.c call_remote_stonith(op, result, pcmk_ok); result 1975 daemons/fenced/fenced_remote.c int nverified = count_peer_devices(op, result, TRUE); result 1979 daemons/fenced/fenced_remote.c if (result && (host_is_target == FALSE) && nverified) { result 1983 daemons/fenced/fenced_remote.c call_remote_stonith(op, result, pcmk_ok); result 1994 daemons/fenced/fenced_remote.c } else if (result && (op->state == st_done)) { result 1996 daemons/fenced/fenced_remote.c "Operation is %s", result->host, result 1997 daemons/fenced/fenced_remote.c result->ndevices, pcmk__plural_s(result->ndevices), result 359 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) result 369 daemons/fenced/pacemaker-fenced.c crm_xml_add_int(update_msg, F_STONITH_RC, result); result 240 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); result 29 include/crm/common/acl.h xmlNode **result); result 200 include/crm/common/internal.h uint64_t result = flag_group | flags; result 202 include/crm/common/internal.h if (result != flag_group) { result 211 include/crm/common/internal.h return result; result 234 include/crm/common/internal.h uint64_t result = flag_group & ~flags; result 236 include/crm/common/internal.h if (result != flag_group) { result 245 include/crm/common/internal.h return result; result 82 include/crm/common/ipc_controld.h const char *result; result 214 include/crm/common/ipc_internal.h struct iovec **result, ssize_t *bytes); result 31 include/crm/common/strings_internal.h int pcmk__scan_double(const char *text, double *result, result 34 include/crm/common/strings_internal.h guint *result); result 42 include/crm/common/strings_internal.h char **result, unsigned int *result_len); result 44 include/crm/common/strings_internal.h int pcmk__scan_ll(const char *text, long long *result, long long default_value); result 45 include/crm/common/strings_internal.h int pcmk__scan_min_int(const char *text, int *result, int minimum); result 36 include/crm/crm_compat.h # define __builtin_expect(expr, result) (expr) result 124 include/crm/stonith-ng.h int result; result 399 lib/cib/cib_attrs.c get_uuid_from_result(xmlNode *result, char **uuid, int *is_remote) result 406 lib/cib/cib_attrs.c if (result == NULL) { result 411 lib/cib/cib_attrs.c tag = (const char *) (result->name); result 413 lib/cib/cib_attrs.c result = pcmk__xml_first_child(result); result 414 lib/cib/cib_attrs.c CRM_CHECK(result != NULL, return rc); result 415 lib/cib/cib_attrs.c tag = (const char *) (result->name); result 421 lib/cib/cib_attrs.c if (pcmk__str_eq(crm_element_value(result, XML_ATTR_TYPE), "remote", pcmk__str_casei)) { result 422 lib/cib/cib_attrs.c parsed_uuid = crm_element_value(result, XML_ATTR_UNAME); result 425 lib/cib/cib_attrs.c parsed_uuid = ID(result); result 432 lib/cib/cib_attrs.c parsed_uuid = ID(result); result 438 lib/cib/cib_attrs.c parsed_uuid = crm_element_value(result, XML_NVPAIR_ATTR_VALUE); result 444 lib/cib/cib_attrs.c parsed_uuid = crm_element_value(result, XML_ATTR_UNAME); result 445 lib/cib/cib_attrs.c if (crm_is_true(crm_element_value(result, XML_NODE_IS_REMOTE))) { result 34 lib/cib/cib_ops.c int result = pcmk_ok; result 53 lib/cib/cib_ops.c result = -ENXIO; result 66 lib/cib/cib_ops.c if (result == pcmk_ok && *answer == NULL) { result 68 lib/cib/cib_ops.c result = -ENOMSG; result 71 lib/cib/cib_ops.c return result; result 78 lib/cib/cib_ops.c int result = pcmk_ok; result 88 lib/cib/cib_ops.c return result; result 130 lib/cib/cib_ops.c int result = pcmk_ok; result 138 lib/cib/cib_ops.c return result; result 173 lib/cib/cib_ops.c int result = pcmk_ok; result 254 lib/cib/cib_ops.c result = -pcmk_err_old_data; result 272 lib/cib/cib_ops.c result = -ENXIO; result 276 lib/cib/cib_ops.c return result; result 384 lib/cib/cib_ops.c int result = pcmk_ok; result 464 lib/cib/cib_ops.c if (result == pcmk_ok) { result 465 lib/cib/cib_ops.c result = tmp_result; result 472 lib/cib/cib_ops.c return result; result 478 lib/cib/cib_ops.c int result = pcmk_ok; result 491 lib/cib/cib_ops.c result = -EINVAL; result 494 lib/cib/cib_ops.c result = -EINVAL; result 505 lib/cib/cib_ops.c if (result != pcmk_ok) { result 509 lib/cib/cib_ops.c result = -EEXIST; result 512 lib/cib/cib_ops.c result = update_cib_object(parent, new_obj); result 515 lib/cib/cib_ops.c return result; result 523 lib/cib/cib_ops.c int result = pcmk_ok; result 557 lib/cib/cib_ops.c result = add_cib_object(update_section, a_child); result 558 lib/cib/cib_ops.c if (update_results(failed, a_child, op, result)) { result 564 lib/cib/cib_ops.c result = add_cib_object(update_section, input); result 565 lib/cib/cib_ops.c update_results(failed, input, op, result); result 568 lib/cib/cib_ops.c if ((result == pcmk_ok) && xml_has_children(failed)) { result 569 lib/cib/cib_ops.c result = -EINVAL; result 572 lib/cib/cib_ops.c if (result != pcmk_ok) { result 580 lib/cib/cib_ops.c return result; result 744 lib/cluster/corosync.c static bool result = false; result 747 lib/cluster/corosync.c return result; result 804 lib/cluster/corosync.c result = true; result 809 lib/cluster/corosync.c crm_debug("Corosync %s node list", (result? "has" : "does not have")); result 813 lib/cluster/corosync.c return result; result 193 lib/cluster/membership.c remote_cache_refresh_helper(xmlNode *result, void *user_data) result 196 lib/cluster/membership.c const char *remote = crm_element_value(result, data->field); result 204 lib/cluster/membership.c state = remote_state_from_cib(result); result 404 lib/common/acl.c xmlNode **result) result 410 lib/common/acl.c *result = NULL; result 474 lib/common/acl.c *result = target; result 120 lib/common/ipc_controld.c data->data.ping.result = crm_element_value(msg_data, XML_PING_ATTR_STATUS); result 587 lib/common/ipc_server.c uint32_t max_send_size, struct iovec **result, result 597 lib/common/ipc_server.c if ((message == NULL) || (result == NULL)) { result 613 lib/common/ipc_server.c *result = NULL; result 662 lib/common/ipc_server.c *result = iov; result 119 lib/common/iso8601.c crm_time_t *result = calloc(1, sizeof(crm_time_t)); result 121 lib/common/iso8601.c CRM_ASSERT(result != NULL); result 122 lib/common/iso8601.c return result; result 453 lib/common/iso8601.c crm_duration_as_string(crm_time_t *dt, char *result) result 458 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%4d year%s ", result 462 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d month%s ", result 466 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%2d day%s ", result 472 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d second%s", result 477 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%d seconds (", result 481 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u hour%s%s", result 485 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u minute%s%s", result 489 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "%u second%s", result 492 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, ")"); result 501 lib/common/iso8601.c char result[DATE_MAX] = { '\0', }; result 516 lib/common/iso8601.c strcpy(result, "<undefined time>"); result 523 lib/common/iso8601.c crm_duration_as_string(date_time, result); result 528 lib/common/iso8601.c snprintf(result, DATE_MAX, "%lld", crm_time_get_seconds(date_time)); result 533 lib/common/iso8601.c snprintf(result, DATE_MAX, "%lld", result 545 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, result 553 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, result 561 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, result 571 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, " "); result 575 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, result 581 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, result 585 lib/common/iso8601.c offset += snprintf(result + offset, DATE_MAX - offset, "Z"); result 592 lib/common/iso8601.c result_copy = strdup(result); result 609 lib/common/iso8601.c crm_time_parse_sec(const char *time_str, int *result) result 616 lib/common/iso8601.c *result = 0; result 652 lib/common/iso8601.c *result = (hour * HOUR_SECONDS) + (minute * 60) + second; result 917 lib/common/iso8601.c parse_int(const char *str, int field_width, int upper_bound, int *result) result 925 lib/common/iso8601.c *result = 0; result 949 lib/common/iso8601.c *result *= 10; result 952 lib/common/iso8601.c *result += intermediate; result 956 lib/common/iso8601.c *result = (int)(*result * upper_bound); result 958 lib/common/iso8601.c } else if (upper_bound > 0 && *result > upper_bound) { result 959 lib/common/iso8601.c *result = upper_bound; result 962 lib/common/iso8601.c *result = 0 - *result; result 965 lib/common/iso8601.c crm_trace("Found int: %d. Stopped at str[%d]='%c'", *result, lpc, str[lpc]); result 17 lib/common/lists.c GList *result = g_list_copy(from); result 24 lib/common/lists.c result = g_list_remove(result, candidate->data); result 30 lib/common/lists.c return result; result 164 lib/common/nvpair.c GSList *result = NULL; result 169 lib/common/nvpair.c result = pcmk_prepend_nvpair(result, result 173 lib/common/nvpair.c return result; result 260 lib/common/operations.c gboolean result = TRUE; result 276 lib/common/operations.c result = FALSE; result 280 lib/common/operations.c result = FALSE; result 288 lib/common/operations.c result = decode_transition_key(key, uuid, transition_id, action_id, result 292 lib/common/operations.c return result; result 154 lib/common/patchset.c xmlNode *result = NULL; result 157 lib/common/patchset.c result = create_xml_node(change, (const char *)xml->name); result 164 lib/common/patchset.c crm_xml_add(result, (const char *)pIter->name, value); result 1653 lib/common/patchset.c gboolean result = TRUE; result 1672 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); result 1686 lib/common/patchset.c result = FALSE; result 1691 lib/common/patchset.c if (result) { result 1696 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); result 1707 lib/common/patchset.c result = FALSE; result 1709 lib/common/patchset.c } else if (result && (digest != NULL)) { result 1718 lib/common/patchset.c result = FALSE; result 1733 lib/common/patchset.c } else if (result) { result 1737 lib/common/patchset.c return result; result 43 lib/common/strings.c scan_ll(const char *text, long long *result, long long default_value, result 80 lib/common/strings.c if (result != NULL) { result 81 lib/common/strings.c *result = local_result; result 97 lib/common/strings.c pcmk__scan_ll(const char *text, long long *result, long long default_value) result 108 lib/common/strings.c if (result != NULL) { result 109 lib/common/strings.c *result = local_result; result 127 lib/common/strings.c pcmk__scan_min_int(const char *text, int *result, int minimum) result 144 lib/common/strings.c if (result != NULL) { result 145 lib/common/strings.c *result = (int) result_ll; result 199 lib/common/strings.c pcmk__scan_double(const char *text, double *result, const char *default_text, result 205 lib/common/strings.c CRM_ASSERT(result != NULL); result 206 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 216 lib/common/strings.c *result = strtod(text, &local_end_text); result 230 lib/common/strings.c if (fabs(*result) > DBL_MIN) { result 239 lib/common/strings.c "(using %g instead)", text, over_under, *result); result 244 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 253 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 259 lib/common/strings.c } else if (fabs(*result) <= DBL_MIN) { result 276 lib/common/strings.c "underflow (using %g instead)", text, *result); result 283 lib/common/strings.c "'%s': %g", text, *result); result 312 lib/common/strings.c guint *result) result 320 lib/common/strings.c if (result != NULL) { result 321 lib/common/strings.c *result = default_val; result 339 lib/common/strings.c if (result != NULL) { result 340 lib/common/strings.c *result = (guint) value_ll; result 749 lib/common/strings.c char **result, unsigned int *result_len) result 793 lib/common/strings.c *result = compressed; result 1263 lib/common/strings.c long long result; result 1273 lib/common/strings.c scan_ll(text, &result, PCMK__PARSE_INT_DEFAULT, NULL); result 1274 lib/common/strings.c return result; result 1280 lib/common/strings.c long long result = crm_parse_ll(text, default_text); result 1282 lib/common/strings.c if (result < INT_MIN) { result 1285 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); result 1290 lib/common/strings.c } else if (result > INT_MAX) { result 1293 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); result 1299 lib/common/strings.c return (int) result; result 29 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 32 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, NULL, NULL), ==, EINVAL); result 33 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 35 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, NULL, NULL), ==, EINVAL); result 36 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 39 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, "2.0", NULL), ==, result 41 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 2.0); result 43 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, "2.0", NULL), ==, EINVAL); result 44 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 50 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 53 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, NULL, NULL), ==, EINVAL); result 54 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 56 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, NULL, NULL), ==, result 58 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 61 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, "2.0", NULL), ==, result 63 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 65 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, "2.0", NULL), ==, result 67 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 73 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 75 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("2.0asdf", &result, NULL, NULL), ==, result 77 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 2.0); result 84 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 86 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("0.0", &result, NULL, NULL), ==, result 88 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 0.0); result 90 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("1.0", &result, NULL, NULL), ==, result 92 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 1.0); result 94 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("-1.0", &result, NULL, NULL), ==, result 96 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, -1.0); result 99 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 101 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, DBL_MAX); result 104 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 106 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, -DBL_MAX); result 113 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 120 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); result 121 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >, DBL_MAX); result 124 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); result 125 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, <, -DBL_MAX); result 132 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 141 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 143 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >=, 0.0); result 144 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, <=, DBL_MIN); result 147 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 149 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, <=, 0.0); result 150 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >=, -DBL_MIN); result 2762 lib/common/xml.c xmlNode *result = NULL; result 2770 lib/common/xml.c result = create_xml_node(parent, name); result 2773 lib/common/xml.c pcmk_nvpairs2xml_attrs(nvpairs, result); result 2780 lib/common/xml.c sorted_xml(child, result, recursive); result 2782 lib/common/xml.c add_node_copy(result, child); result 2786 lib/common/xml.c return result; result 2867 lib/common/xml.c xmlNode *result = input; result 2869 lib/common/xml.c if (result == NULL) { result 2876 lib/common/xml.c tag = crm_element_name(result); result 2877 lib/common/xml.c ref = crm_element_value(result, XML_ATTR_IDREF); result 2882 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); result 2883 lib/common/xml.c if (result == NULL) { result 2892 lib/common/xml.c return result; result 181 lib/common/xpath.c xmlNode *result = getXpathResult(xpathObj, i); result 183 lib/common/xpath.c CRM_LOG_ASSERT(result != NULL); result 184 lib/common/xpath.c if (result) { result 185 lib/common/xpath.c (*helper)(result, user_data); result 194 lib/common/xpath.c xmlNode *result = NULL; result 206 lib/common/xpath.c result = get_xpath_object(xpath_full, xml_obj, error_level); result 210 lib/common/xpath.c return result; result 217 lib/common/xpath.c xmlNode *result = NULL; result 259 lib/common/xpath.c result = getXpathResult(xpathObj, 0); result 265 lib/common/xpath.c return result; result 1741 lib/fencing/st_client.c crm_element_value_int(msg, F_STONITH_RC, &(event->result)); result 148 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.result); result 415 lib/pacemaker/pcmk_cluster_queries.c remote_node_print_helper(xmlNode *result, void *user_data) result 419 lib/pacemaker/pcmk_cluster_queries.c const char *name = crm_element_value(result, XML_ATTR_UNAME); result 420 lib/pacemaker/pcmk_cluster_queries.c const char *id = crm_element_value(result, data->field); result 79 lib/pacemaker/pcmk_fence.c if (e->result != pcmk_ok) { result 86 lib/pacemaker/pcmk_fence.c async_fence_data.rc = e->result; result 596 lib/pacemaker/pcmk_output.c const char *result = va_arg(args, const char *); result 600 lib/pacemaker/pcmk_output.c crm_str(fsa_state), crm_str(result)); result 616 lib/pacemaker/pcmk_output.c const char *result = va_arg(args, const char *); result 621 lib/pacemaker/pcmk_output.c "result", crm_str(result), result 472 lib/pacemaker/pcmk_sched_allocate.c find_rsc_list(GList *result, pe_resource_t * rsc, const char *id, gboolean renamed_clones, result 489 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, result 492 lib/pacemaker/pcmk_sched_allocate.c return result; result 513 lib/pacemaker/pcmk_sched_allocate.c result = g_list_prepend(result, rsc); result 521 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); result 525 lib/pacemaker/pcmk_sched_allocate.c return result; result 572 lib/pacemaker/pcmk_sched_allocate.c GList *result = NULL; result 577 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); result 578 lib/pacemaker/pcmk_sched_allocate.c for (gIter = result; gIter != NULL; gIter = gIter->next) { result 586 lib/pacemaker/pcmk_sched_allocate.c g_list_free(result); result 955 lib/pacemaker/pcmk_sched_allocate.c time_t result = 0; result 961 lib/pacemaker/pcmk_sched_allocate.c result = (time_t) result_ll; result 964 lib/pacemaker/pcmk_sched_allocate.c return result? result : get_effective_time(data_set); result 1220 lib/pacemaker/pcmk_sched_clone.c enum action_tasks result = no_action; result 1243 lib/pacemaker/pcmk_sched_clone.c result = get_complex_task(child, task_mutable, TRUE); result 1250 lib/pacemaker/pcmk_sched_clone.c result = get_complex_task(child, action->task, TRUE); result 1252 lib/pacemaker/pcmk_sched_clone.c return result; result 58 lib/pacemaker/pcmk_sched_constraints.c bool result = FALSE; result 61 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); result 68 lib/pacemaker/pcmk_sched_constraints.c return result; result 1116 lib/pacemaker/pcmk_sched_constraints.c char *result = pe_expand_re_matches(score, re_match_data); result 1118 lib/pacemaker/pcmk_sched_constraints.c if (result != NULL) { result 1119 lib/pacemaker/pcmk_sched_constraints.c score = result; result 141 lib/pacemaker/pcmk_sched_graph.c pe_action_t *result = action; result 164 lib/pacemaker/pcmk_sched_graph.c result = find_first_action(rsc->actions, uuid, NULL, NULL); result 165 lib/pacemaker/pcmk_sched_graph.c if (result == NULL) { result 167 lib/pacemaker/pcmk_sched_graph.c result = action; result 172 lib/pacemaker/pcmk_sched_graph.c return result; result 94 lib/pacemaker/pcmk_sched_native.c gboolean result = FALSE; result 197 lib/pacemaker/pcmk_sched_native.c result = native_assign_node(rsc, chosen, FALSE); result 199 lib/pacemaker/pcmk_sched_native.c return result; result 795 lib/pacemaker/pcmk_sched_native.c const char *result = "Ignoring"; result 803 lib/pacemaker/pcmk_sched_native.c result = "Cancelling"; result 831 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_UNPROMOTED), result 26 lib/pacemaker/pcmk_sched_utilization.c int result; result 56 lib/pacemaker/pcmk_sched_utilization.c data->result--; result 58 lib/pacemaker/pcmk_sched_utilization.c data->result++; result 77 lib/pacemaker/pcmk_sched_utilization.c data->result--; result 79 lib/pacemaker/pcmk_sched_utilization.c data->result++; result 93 lib/pacemaker/pcmk_sched_utilization.c data.result = 0; result 98 lib/pacemaker/pcmk_sched_utilization.c return data.result; result 110 lib/pacemaker/pcmk_sched_utilization.c char *result = NULL; result 115 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) + utilization_value(value)); result 116 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); result 119 lib/pacemaker/pcmk_sched_utilization.c result = pcmk__itoa(utilization_value(current) - utilization_value(value)); result 120 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); result 128 lib/pacemaker/pcmk_sched_utils.c GList *result = NULL; result 138 lib/pacemaker/pcmk_sched_utils.c result = g_list_prepend(result, new_node); result 140 lib/pacemaker/pcmk_sched_utils.c return result; result 162 lib/pacemaker/pcmk_sched_utils.c int result = 0; result 201 lib/pacemaker/pcmk_sched_utils.c result = compare_capacity(node1, node2); result 202 lib/pacemaker/pcmk_sched_utils.c if (result < 0) { result 204 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node2->details->uname, result); result 206 lib/pacemaker/pcmk_sched_utils.c } else if (result > 0) { result 208 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node2->details->uname, result); result 316 lib/pengine/common.c const char *result = "<unknown>"; result 320 lib/pengine/common.c result = "ignore"; result 323 lib/pengine/common.c result = "demote"; result 326 lib/pengine/common.c result = "block"; result 329 lib/pengine/common.c result = "recover"; result 332 lib/pengine/common.c result = "migrate"; result 335 lib/pengine/common.c result = "stop"; result 338 lib/pengine/common.c result = "fence"; result 341 lib/pengine/common.c result = "standby"; result 344 lib/pengine/common.c result = "restart-container"; result 347 lib/pengine/common.c result = "reset-remote"; result 350 lib/pengine/common.c return result; result 408 lib/pengine/common.c const char *result = "<unknown>"; result 412 lib/pengine/common.c result = "no_action"; result 415 lib/pengine/common.c result = CRMD_ACTION_STOP; result 418 lib/pengine/common.c result = CRMD_ACTION_STOPPED; result 421 lib/pengine/common.c result = CRMD_ACTION_START; result 424 lib/pengine/common.c result = CRMD_ACTION_STARTED; result 427 lib/pengine/common.c result = CRM_OP_SHUTDOWN; result 430 lib/pengine/common.c result = CRM_OP_FENCE; result 433 lib/pengine/common.c result = CRMD_ACTION_STATUS; result 436 lib/pengine/common.c result = CRMD_ACTION_NOTIFY; result 439 lib/pengine/common.c result = CRMD_ACTION_NOTIFIED; result 442 lib/pengine/common.c result = CRMD_ACTION_PROMOTE; result 445 lib/pengine/common.c result = CRMD_ACTION_PROMOTED; result 448 lib/pengine/common.c result = CRMD_ACTION_DEMOTE; result 451 lib/pengine/common.c result = CRMD_ACTION_DEMOTED; result 455 lib/pengine/common.c return result; result 518 lib/pengine/common.c int result = score1 + score2; result 565 lib/pengine/common.c if (result >= CRM_SCORE_INFINITY) { result 569 lib/pengine/common.c } else if (result <= -CRM_SCORE_INFINITY) { result 574 lib/pengine/common.c crm_trace("%d + %d = %d", score1, score2, result); result 575 lib/pengine/common.c return result; result 272 lib/pengine/native.c pe_resource_t *result = NULL; result 314 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); result 315 lib/pengine/native.c if (result) { result 316 lib/pengine/native.c return result; result 1055 lib/pengine/native.c GList *result = NULL; result 1063 lib/pengine/native.c child->fns->location(child, &result, current); result 1069 lib/pengine/native.c result = g_list_copy(rsc->running_on); result 1072 lib/pengine/native.c && !pe_find_node_id(result, rsc->pending_node->details->id)) { result 1073 lib/pengine/native.c result = g_list_append(result, rsc->pending_node); result 1077 lib/pengine/native.c result = g_list_append(NULL, rsc->allocated_to); result 1080 lib/pengine/native.c if (result && (result->next == NULL)) { result 1081 lib/pengine/native.c one = result->data; result 1085 lib/pengine/native.c GList *gIter = result; result 1096 lib/pengine/native.c g_list_free(result); result 663 lib/pengine/rules.c char *p_dst, *result = NULL; result 690 lib/pengine/rules.c p_dst = result = calloc(1, len); result 711 lib/pengine/rules.c return result; result 186 lib/pengine/unpack.c xmlXPathObjectPtr result = NULL; result 189 lib/pengine/unpack.c result = xpath_search(data_set->input, xpath); result 190 lib/pengine/unpack.c if (result && (numXpathResults(result) > 0)) { result 193 lib/pengine/unpack.c freeXpathObject(result); result 3155 lib/pengine/unpack.c int result = PCMK_LRM_OP_DONE; result 3183 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3188 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3199 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3210 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3221 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3233 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3237 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR_FATAL; result 3242 lib/pengine/unpack.c result = PCMK_LRM_OP_NOTSUPPORTED; result 3261 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR_HARD; result 3265 lib/pengine/unpack.c if (result == PCMK_LRM_OP_DONE) { result 3270 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3274 lib/pengine/unpack.c return result; result 3523 lib/pengine/unpack.c enum action_fail_response result = action_fail_recover; result 3526 lib/pengine/unpack.c result = action->on_fail; result 3529 lib/pengine/unpack.c return result; result 163 lib/pengine/utils.c GHashTable *result = hash; result 184 lib/pengine/utils.c other_node = pe_hash_table_lookup(result, node->details->id); result 190 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); result 206 lib/pengine/utils.c GHashTable *result = NULL; result 208 lib/pengine/utils.c result = pcmk__strkey_table(NULL, free); result 212 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); result 214 lib/pengine/utils.c return result; result 804 lib/pengine/utils.c long long result = 0; result 823 lib/pengine/utils.c result = crm_time_get_seconds(now) - crm_time_get_seconds(origin); result 827 lib/pengine/utils.c result = result % interval_sec; result 830 lib/pengine/utils.c result = ((result <= 0)? 0 : interval_sec) - result; result 832 lib/pengine/utils.c result, result 836 lib/pengine/utils.c *start_delay = result * 1000; // milliseconds result 1374 lib/pengine/utils.c GList *result = NULL; result 1391 lib/pengine/utils.c result = g_list_prepend(result, action); result 1397 lib/pengine/utils.c result = g_list_prepend(result, action); result 1401 lib/pengine/utils.c return result; result 1461 lib/pengine/utils.c GList *result = NULL; result 1474 lib/pengine/utils.c result = g_list_prepend(result, action); result 1481 lib/pengine/utils.c result = g_list_prepend(result, action); result 1485 lib/pengine/utils.c result = g_list_prepend(result, action); result 1494 lib/pengine/utils.c return result; result 1500 lib/pengine/utils.c GList *result = NULL; result 1526 lib/pengine/utils.c result = g_list_prepend(result, action); result 1530 lib/pengine/utils.c return result; result 1549 lib/pengine/utils.c GList *result = NULL; result 1553 lib/pengine/utils.c result = find_actions_exact(rsc->actions, key, node); result 1555 lib/pengine/utils.c result = find_actions(rsc->actions, key, node); result 1558 lib/pengine/utils.c return result; result 1024 lib/services/services.c GList *result = services__list_lsb_agents(); result 1027 lib/services/services.c tmp1 = result; result 1030 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 1034 lib/services/services.c tmp1 = result; result 1037 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 1042 lib/services/services.c tmp1 = result; result 1045 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 1049 lib/services/services.c return result; result 1138 lib/services/services_linux.c GList *result = NULL; result 1144 lib/services/services_linux.c return result; result 1151 lib/services/services_linux.c result = g_list_concat(result, tmp); result 1157 lib/services/services_linux.c return result; result 1163 lib/services/services_linux.c GList *result = NULL; result 1170 lib/services/services_linux.c return result; result 1180 lib/services/services_linux.c result = g_list_concat(result, tmp); result 1186 lib/services/services_linux.c return result; result 1199 lib/services/services_linux.c GList *result = NULL; result 1208 lib/services/services_linux.c GList *tmp1 = result; result 1212 lib/services/services_linux.c result = g_list_concat(tmp1, tmp2); result 1216 lib/services/services_linux.c return result; result 44 lib/services/services_nagios.c GList *result = NULL; result 55 lib/services/services_nagios.c result = g_list_append(result, strdup(plugin)); result 60 lib/services/services_nagios.c return result; result 427 libltdl/loaders/dyld.c const char* result = 0; result 437 libltdl/loaders/dyld.c result=(char*)(((dylib_command*) lc)->dylib.name.offset + result 443 libltdl/loaders/dyld.c return result; result 50 libltdl/lt_error.c int result = -1; result 61 libltdl/lt_error.c result = errorcount++; result 64 libltdl/lt_error.c return result; result 682 libltdl/ltdl.c int result = 0; result 727 libltdl/ltdl.c if ((result = (*func) (filename, data1, data2))) result 739 libltdl/ltdl.c return result; result 2371 libltdl/ltdl.c void *result = (void *) 0; result 2382 libltdl/ltdl.c result = cur->interface_data[i].data; result 2388 libltdl/ltdl.c return result; result 81 libltdl/slist.c void *result = 0; result 89 libltdl/slist.c result = (*find) (*phead, matchdata); result 90 libltdl/slist.c if (result) result 101 libltdl/slist.c result = (*find) (head->next, matchdata); result 102 libltdl/slist.c if (result) result 111 libltdl/slist.c return (SList *) result; result 120 libltdl/slist.c void *result = 0; result 126 libltdl/slist.c result = (*find) (slist, matchdata); result 127 libltdl/slist.c if (result) result 131 libltdl/slist.c return result; result 225 libltdl/slist.c SList *result = 0; result 231 libltdl/slist.c slist->next = result; result 232 libltdl/slist.c result = slist; result 236 libltdl/slist.c return result; result 244 libltdl/slist.c void *result = 0; result 251 libltdl/slist.c result = (*foreach) (slist, userdata); result 253 libltdl/slist.c if (result) result 259 libltdl/slist.c return result; result 83 maint/mocked/based-notifyfenced.c xmlNode *update, int result, xmlNode *result_data, result 95 maint/mocked/based-notifyfenced.c crm_xml_add_int(update_msg, F_CIB_RC, result); result 221 tools/crm_mon.c gboolean result = TRUE; result 240 tools/crm_mon.c result = FALSE; result 245 tools/crm_mon.c return result; result 251 tools/crm_mon.c gboolean result = TRUE; result 281 tools/crm_mon.c result = FALSE; result 286 tools/crm_mon.c return result; result 2231 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), result 2233 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); result 187 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(pcmk__output_t *out, GList/* <pe_resource_t*> */ ** result, result 199 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, result, (pe_resource_t*)gIter->data, result 214 tools/crm_resource_runtime.c *result = g_list_append(*result, rsc); result 233 tools/crm_resource_runtime.c GList * result = NULL; result 238 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 252 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 270 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 273 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, &result, rsc, rsc_id, attr_set, result 276 tools/crm_resource_runtime.c return result;