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 42 daemons/based/based_notify.c int result, xmlNode * result_data, result 132 daemons/based/based_notify.c xmlNode * update, int result, xmlNode * diff) result 148 daemons/based/based_notify.c if (result != pcmk_ok) { result 160 daemons/based/based_notify.c add_admin_epoch, add_epoch, add_updates, pcmk_strerror(result)); result 166 daemons/based/based_notify.c add_admin_epoch, add_epoch, add_updates, pcmk_strerror(result)); result 169 daemons/based/based_notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); result 174 daemons/based/based_notify.c int result, xmlNode * result_data, const char *msg_type) result 188 daemons/based/based_notify.c crm_xml_add_int(update_msg, F_CIB_RC, result); result 231 daemons/based/based_notify.c cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff) result 267 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 496 daemons/controld/controld_execd.c xmlNode *result, enum ra_param_flags_e param_type, result 548 daemons/controld/controld_execd.c if (result && (invert_for_xml? !accept : accept)) { result 553 daemons/controld/controld_execd.c crm_xml_add(result, param->rap_name, v); result 803 daemons/controld/controld_execd_state.c pcmk_strerror(e->result), e->id); result 806 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); result 454 daemons/controld/controld_fencing.c if ((st_event->result == pcmk_ok) && pcmk__str_eq("on", st_event->action, pcmk__str_casei)) { result 466 daemons/controld/controld_fencing.c pcmk_strerror(st_event->result), st_event->result); result 469 daemons/controld/controld_fencing.c } else if ((st_event->result == pcmk_ok) result 497 daemons/controld/controld_fencing.c if (st_event->result == pcmk_ok) { result 506 daemons/controld/controld_fencing.c st_event->target, st_event->result == pcmk_ok ? "" : " not", result 510 daemons/controld/controld_fencing.c pcmk_strerror(st_event->result), result 513 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 1192 daemons/controld/controld_remote_ra.c xmlNode *result = getXpathResult(search, 0); result 1208 daemons/controld/controld_remote_ra.c if (result) { result 1209 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 122 daemons/fenced/cts-fence-helper.c e->operation, e->origin, e->result == pcmk_ok ? "completed" : "failed", result 124 daemons/fenced/cts-fence-helper.c pcmk_strerror(e->result), e->id); result 1795 daemons/fenced/fenced_remote.c st_query_result_t *result, const char *device) result 1803 daemons/fenced/fenced_remote.c g_hash_table_insert(result->devices, strdup(device), props); result 1809 daemons/fenced/fenced_remote.c result->host, device); result 1814 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), result 1823 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "off", result 1826 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "on", result 1846 daemons/fenced/fenced_remote.c st_query_result_t *result = calloc(1, sizeof(st_query_result_t)); result 1851 daemons/fenced/fenced_remote.c CRM_CHECK(result != NULL, return NULL); result 1852 daemons/fenced/fenced_remote.c result->host = strdup(host); result 1853 daemons/fenced/fenced_remote.c result->devices = crm_str_table_new(); result 1861 daemons/fenced/fenced_remote.c add_device_properties(child, op, result, device); result 1865 daemons/fenced/fenced_remote.c result->ndevices = g_hash_table_size(result->devices); result 1866 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == result->ndevices, result 1868 daemons/fenced/fenced_remote.c ndevices, result->ndevices)); result 1870 daemons/fenced/fenced_remote.c op->query_results = g_list_insert_sorted(op->query_results, result, sort_peers); result 1871 daemons/fenced/fenced_remote.c return result; result 1897 daemons/fenced/fenced_remote.c st_query_result_t *result = NULL; result 1931 daemons/fenced/fenced_remote.c result = add_result(op, host, ndevices, dev); result 1941 daemons/fenced/fenced_remote.c call_remote_stonith(op, result, pcmk_ok); result 1950 daemons/fenced/fenced_remote.c int nverified = count_peer_devices(op, result, TRUE); result 1954 daemons/fenced/fenced_remote.c if (result && (host_is_target == FALSE) && nverified) { result 1957 daemons/fenced/fenced_remote.c call_remote_stonith(op, result, pcmk_ok); result 1968 daemons/fenced/fenced_remote.c } else if (result && (op->state == st_done)) { result 1970 daemons/fenced/fenced_remote.c result->host, result->ndevices, op->state); result 350 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) result 360 daemons/fenced/pacemaker-fenced.c crm_xml_add_int(update_msg, F_STONITH_RC, result); result 238 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 236 include/crm/common/internal.h uint64_t result = flag_group | flags; result 238 include/crm/common/internal.h if (result != flag_group) { result 247 include/crm/common/internal.h return result; result 270 include/crm/common/internal.h uint64_t result = flag_group & ~flags; result 272 include/crm/common/internal.h if (result != flag_group) { result 281 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 41 include/crm/common/strings_internal.h char **result, unsigned int *result_len); result 64 include/crm/crm.h # define __builtin_expect(expr, result) (expr) result 118 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 166 lib/cluster/membership.c remote_cache_refresh_helper(xmlNode *result, void *user_data) result 169 lib/cluster/membership.c const char *remote = crm_element_value(result, data->field); result 177 lib/cluster/membership.c state = remote_state_from_cib(result); result 420 lib/common/acl.c xmlNode **result) result 426 lib/common/acl.c *result = NULL; result 490 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 578 lib/common/ipc_server.c uint32_t max_send_size, struct iovec **result, result 588 lib/common/ipc_server.c if ((message == NULL) || (result == NULL)) { result 604 lib/common/ipc_server.c *result = NULL; result 653 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 259 lib/common/operations.c gboolean result = TRUE; result 275 lib/common/operations.c result = FALSE; result 279 lib/common/operations.c result = FALSE; result 287 lib/common/operations.c result = decode_transition_key(key, uuid, transition_id, action_id, result 291 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 1669 lib/common/patchset.c gboolean result = TRUE; result 1688 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); result 1702 lib/common/patchset.c result = FALSE; result 1707 lib/common/patchset.c if (result) { result 1712 lib/common/patchset.c CRM_CHECK(root_nodes_seen == 0, result = FALSE); result 1723 lib/common/patchset.c result = FALSE; result 1725 lib/common/patchset.c } else if (result && (digest != NULL)) { result 1734 lib/common/patchset.c result = FALSE; result 1749 lib/common/patchset.c } else if (result) { result 1753 lib/common/patchset.c return result; result 51 lib/common/strings.c scan_ll(const char *text, long long *result, char **end_text) result 91 lib/common/strings.c if (result != NULL) { result 92 lib/common/strings.c *result = local_result; result 109 lib/common/strings.c long long result; result 119 lib/common/strings.c scan_ll(text, &result, NULL); result 120 lib/common/strings.c return result; result 136 lib/common/strings.c long long result = crm_parse_ll(text, default_text); result 138 lib/common/strings.c if (result < INT_MIN) { result 141 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); result 146 lib/common/strings.c } else if (result > INT_MAX) { result 149 lib/common/strings.c crm_err("Conversion of %s was clipped: %lld", text, result); result 155 lib/common/strings.c return (int) result; result 178 lib/common/strings.c pcmk__scan_double(const char *text, double *result, const char *default_text, result 184 lib/common/strings.c CRM_ASSERT(result != NULL); result 185 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 195 lib/common/strings.c *result = strtod(text, &local_end_text); result 209 lib/common/strings.c if (fabs(*result) > DBL_MIN) { result 218 lib/common/strings.c "(using %g instead)", text, over_under, *result); result 223 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 232 lib/common/strings.c *result = PCMK__PARSE_DBL_DEFAULT; result 238 lib/common/strings.c } else if (fabs(*result) <= DBL_MIN) { result 255 lib/common/strings.c "underflow (using %g instead)", text, *result); result 262 lib/common/strings.c "'%s': %g", text, *result); result 291 lib/common/strings.c guint *result) result 300 lib/common/strings.c if (result != NULL) { result 301 lib/common/strings.c *result = default_val; result 316 lib/common/strings.c if (result != NULL) { result 317 lib/common/strings.c *result = (guint) value_ll; result 664 lib/common/strings.c char **result, unsigned int *result_len) result 708 lib/common/strings.c *result = compressed; result 21 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 24 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, NULL, NULL), ==, EINVAL); result 25 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 27 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, NULL, NULL), ==, EINVAL); result 28 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 31 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(NULL, &result, "2.0", NULL), ==, result 33 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 2.0); result 35 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("", &result, "2.0", NULL), ==, EINVAL); result 36 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 42 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 45 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, NULL, NULL), ==, EINVAL); result 46 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 48 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, NULL, NULL), ==, result 50 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 53 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("asdf", &result, "2.0", NULL), ==, result 55 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, PCMK__PARSE_DBL_DEFAULT); result 57 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("as2.0", &result, "2.0", NULL), ==, result 59 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 double result; result 67 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("2.0asdf", &result, NULL, NULL), ==, result 69 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 2.0); result 76 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 78 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("0.0", &result, NULL, NULL), ==, result 80 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 0.0); result 82 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("1.0", &result, NULL, NULL), ==, result 84 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, 1.0); result 86 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double("-1.0", &result, NULL, NULL), ==, result 88 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, -1.0); result 91 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 93 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, DBL_MAX); result 96 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 98 lib/common/tests/strings/pcmk__scan_double_test.c ASSERT_DBL_EQ(result, -DBL_MAX); result 105 lib/common/tests/strings/pcmk__scan_double_test.c double result; result 112 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); result 113 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >, DBL_MAX); result 116 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); result 117 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 double result; result 133 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 135 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >=, 0.0); result 136 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, <=, DBL_MIN); result 139 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, result 141 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, <=, 0.0); result 142 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpfloat(result, >=, -DBL_MIN); result 2749 lib/common/xml.c xmlNode *result = NULL; result 2757 lib/common/xml.c result = create_xml_node(parent, name); result 2760 lib/common/xml.c pcmk_nvpairs2xml_attrs(nvpairs, result); result 2767 lib/common/xml.c sorted_xml(child, result, recursive); result 2769 lib/common/xml.c add_node_copy(result, child); result 2773 lib/common/xml.c return result; result 2854 lib/common/xml.c xmlNode *result = input; result 2856 lib/common/xml.c if (result == NULL) { result 2863 lib/common/xml.c tag = crm_element_name(result); result 2864 lib/common/xml.c ref = crm_element_value(result, XML_ATTR_IDREF); result 2869 lib/common/xml.c result = get_xpath_object(xpath_string, top, LOG_ERR); result 2870 lib/common/xml.c if (result == NULL) { result 2879 lib/common/xml.c return result; result 180 lib/common/xpath.c xmlNode *result = getXpathResult(xpathObj, i); result 182 lib/common/xpath.c CRM_LOG_ASSERT(result != NULL); result 183 lib/common/xpath.c if (result) { result 184 lib/common/xpath.c (*helper)(result, user_data); result 193 lib/common/xpath.c xmlNode *result = NULL; result 205 lib/common/xpath.c result = get_xpath_object(xpath_full, xml_obj, error_level); result 209 lib/common/xpath.c return result; result 216 lib/common/xpath.c xmlNode *result = NULL; result 258 lib/common/xpath.c result = getXpathResult(xpathObj, 0); result 264 lib/common/xpath.c return result; result 1748 lib/fencing/st_client.c crm_element_value_int(msg, F_STONITH_RC, &(event->result)); 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 496 lib/pacemaker/pcmk_sched_allocate.c find_rsc_list(GListPtr result, pe_resource_t * rsc, const char *id, gboolean renamed_clones, result 513 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, result 516 lib/pacemaker/pcmk_sched_allocate.c return result; result 537 lib/pacemaker/pcmk_sched_allocate.c result = g_list_prepend(result, rsc); result 545 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(result, child, id, renamed_clones, partial, NULL); result 549 lib/pacemaker/pcmk_sched_allocate.c return result; result 596 lib/pacemaker/pcmk_sched_allocate.c GListPtr result = NULL; result 601 lib/pacemaker/pcmk_sched_allocate.c result = find_rsc_list(NULL, NULL, rsc_id, TRUE, FALSE, data_set); result 602 lib/pacemaker/pcmk_sched_allocate.c for (gIter = result; gIter != NULL; gIter = gIter->next) { result 610 lib/pacemaker/pcmk_sched_allocate.c g_list_free(result); result 978 lib/pacemaker/pcmk_sched_allocate.c time_t result = 0; result 982 lib/pacemaker/pcmk_sched_allocate.c result = (time_t) crm_parse_ll(shutdown, NULL); result 984 lib/pacemaker/pcmk_sched_allocate.c result = 0; result 987 lib/pacemaker/pcmk_sched_allocate.c return result? result : get_effective_time(data_set); result 1170 lib/pacemaker/pcmk_sched_clone.c enum action_tasks result = no_action; result 1193 lib/pacemaker/pcmk_sched_clone.c result = get_complex_task(child, task_mutable, TRUE); result 1200 lib/pacemaker/pcmk_sched_clone.c result = get_complex_task(child, action->task, TRUE); result 1202 lib/pacemaker/pcmk_sched_clone.c return result; result 55 lib/pacemaker/pcmk_sched_constraints.c bool result = FALSE; result 58 lib/pacemaker/pcmk_sched_constraints.c result = pe_evaluate_rules(lifetime, NULL, data_set->now, next_change); result 65 lib/pacemaker/pcmk_sched_constraints.c return result; result 1119 lib/pacemaker/pcmk_sched_constraints.c char *result = pe_expand_re_matches(score, match_data->re); result 1121 lib/pacemaker/pcmk_sched_constraints.c if (result) { result 1122 lib/pacemaker/pcmk_sched_constraints.c score = (const char *) 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 90 lib/pacemaker/pcmk_sched_native.c gboolean result = FALSE; result 193 lib/pacemaker/pcmk_sched_native.c result = native_assign_node(rsc, nodes, chosen, FALSE); result 195 lib/pacemaker/pcmk_sched_native.c return result; result 796 lib/pacemaker/pcmk_sched_native.c const char *result = "Ignoring"; result 804 lib/pacemaker/pcmk_sched_native.c result = "Cancelling"; result 832 lib/pacemaker/pcmk_sched_native.c result, key, role ? role : role2text(RSC_ROLE_SLAVE), result 26 lib/pacemaker/pcmk_sched_utilization.c int result; result 41 lib/pacemaker/pcmk_sched_utilization.c data->result--; result 43 lib/pacemaker/pcmk_sched_utilization.c data->result++; result 62 lib/pacemaker/pcmk_sched_utilization.c data->result--; result 64 lib/pacemaker/pcmk_sched_utilization.c data->result++; result 78 lib/pacemaker/pcmk_sched_utilization.c data.result = 0; result 83 lib/pacemaker/pcmk_sched_utilization.c return data.result; result 95 lib/pacemaker/pcmk_sched_utilization.c char *result = NULL; result 100 lib/pacemaker/pcmk_sched_utilization.c result = crm_itoa(crm_parse_int(current, "0") + crm_parse_int(value, "0")); result 101 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_replace(data->current_utilization, strdup(key), result); result 104 lib/pacemaker/pcmk_sched_utilization.c result = crm_itoa(crm_parse_int(current, "0") - crm_parse_int(value, "0")); result 105 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 320 lib/pengine/common.c const char *result = "<unknown>"; result 324 lib/pengine/common.c result = "ignore"; result 327 lib/pengine/common.c result = "demote"; result 330 lib/pengine/common.c result = "block"; result 333 lib/pengine/common.c result = "recover"; result 336 lib/pengine/common.c result = "migrate"; result 339 lib/pengine/common.c result = "stop"; result 342 lib/pengine/common.c result = "fence"; result 345 lib/pengine/common.c result = "standby"; result 348 lib/pengine/common.c result = "restart-container"; result 351 lib/pengine/common.c result = "reset-remote"; result 354 lib/pengine/common.c return result; result 412 lib/pengine/common.c const char *result = "<unknown>"; result 416 lib/pengine/common.c result = "no_action"; result 419 lib/pengine/common.c result = CRMD_ACTION_STOP; result 422 lib/pengine/common.c result = CRMD_ACTION_STOPPED; result 425 lib/pengine/common.c result = CRMD_ACTION_START; result 428 lib/pengine/common.c result = CRMD_ACTION_STARTED; result 431 lib/pengine/common.c result = CRM_OP_SHUTDOWN; result 434 lib/pengine/common.c result = CRM_OP_FENCE; result 437 lib/pengine/common.c result = CRMD_ACTION_STATUS; result 440 lib/pengine/common.c result = CRMD_ACTION_NOTIFY; result 443 lib/pengine/common.c result = CRMD_ACTION_NOTIFIED; result 446 lib/pengine/common.c result = CRMD_ACTION_PROMOTE; result 449 lib/pengine/common.c result = CRMD_ACTION_PROMOTED; result 452 lib/pengine/common.c result = CRMD_ACTION_DEMOTE; result 455 lib/pengine/common.c result = CRMD_ACTION_DEMOTED; result 459 lib/pengine/common.c return result; result 512 lib/pengine/common.c int result = score1 + score2; result 559 lib/pengine/common.c if (result >= CRM_SCORE_INFINITY) { result 563 lib/pengine/common.c } else if (result <= -CRM_SCORE_INFINITY) { result 568 lib/pengine/common.c crm_trace("%d + %d = %d", score1, score2, result); result 569 lib/pengine/common.c return result; result 265 lib/pengine/native.c pe_resource_t *result = NULL; result 307 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); result 308 lib/pengine/native.c if (result) { result 309 lib/pengine/native.c return result; result 1210 lib/pengine/native.c GListPtr result = NULL; result 1218 lib/pengine/native.c child->fns->location(child, &result, current); result 1224 lib/pengine/native.c result = g_list_copy(rsc->running_on); result 1227 lib/pengine/native.c && !pe_find_node_id(result, rsc->pending_node->details->id)) { result 1228 lib/pengine/native.c result = g_list_append(result, rsc->pending_node); result 1232 lib/pengine/native.c result = g_list_append(NULL, rsc->allocated_to); result 1235 lib/pengine/native.c if (result && (result->next == NULL)) { result 1236 lib/pengine/native.c one = result->data; result 1240 lib/pengine/native.c GListPtr gIter = result; result 1251 lib/pengine/native.c g_list_free(result); result 748 lib/pengine/rules.c char *p_dst, *result = NULL; result 775 lib/pengine/rules.c p_dst = result = calloc(1, len); result 796 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 3071 lib/pengine/unpack.c int result = PCMK_LRM_OP_DONE; result 3099 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3104 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3115 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3126 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3137 lib/pengine/unpack.c result = PCMK_LRM_OP_DONE; result 3149 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3153 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR_FATAL; result 3158 lib/pengine/unpack.c result = PCMK_LRM_OP_NOTSUPPORTED; result 3177 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR_HARD; result 3181 lib/pengine/unpack.c if (result == PCMK_LRM_OP_DONE) { result 3186 lib/pengine/unpack.c result = PCMK_LRM_OP_ERROR; result 3190 lib/pengine/unpack.c return result; result 3439 lib/pengine/unpack.c enum action_fail_response result = action_fail_recover; result 3442 lib/pengine/unpack.c result = action->on_fail; result 3445 lib/pengine/unpack.c return result; result 160 lib/pengine/utils.c GHashTable *result = hash; result 181 lib/pengine/utils.c other_node = pe_hash_table_lookup(result, node->details->id); result 187 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); result 203 lib/pengine/utils.c GHashTable *result = NULL; result 205 lib/pengine/utils.c result = g_hash_table_new_full(crm_str_hash, g_str_equal, NULL, free); result 209 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); result 211 lib/pengine/utils.c return result; result 843 lib/pengine/utils.c long long result = 0; result 862 lib/pengine/utils.c result = crm_time_get_seconds(now) - crm_time_get_seconds(origin); result 866 lib/pengine/utils.c result = result % interval_sec; result 869 lib/pengine/utils.c result = ((result <= 0)? 0 : interval_sec) - result; result 871 lib/pengine/utils.c result, result 875 lib/pengine/utils.c *start_delay = result * 1000; // milliseconds result 1449 lib/pengine/utils.c GListPtr result = NULL; result 1466 lib/pengine/utils.c result = g_list_prepend(result, action); result 1472 lib/pengine/utils.c result = g_list_prepend(result, action); result 1476 lib/pengine/utils.c return result; result 1536 lib/pengine/utils.c GListPtr result = NULL; result 1549 lib/pengine/utils.c result = g_list_prepend(result, action); result 1556 lib/pengine/utils.c result = g_list_prepend(result, action); result 1560 lib/pengine/utils.c result = g_list_prepend(result, action); result 1569 lib/pengine/utils.c return result; result 1575 lib/pengine/utils.c GList *result = NULL; result 1601 lib/pengine/utils.c result = g_list_prepend(result, action); result 1605 lib/pengine/utils.c return result; result 1624 lib/pengine/utils.c GList *result = NULL; result 1628 lib/pengine/utils.c result = find_actions_exact(rsc->actions, key, node); result 1630 lib/pengine/utils.c result = find_actions(rsc->actions, key, node); result 1633 lib/pengine/utils.c return result; result 975 lib/services/services.c GList *result = services__list_lsb_agents(); result 978 lib/services/services.c tmp1 = result; result 981 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 985 lib/services/services.c tmp1 = result; result 988 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 993 lib/services/services.c tmp1 = result; result 996 lib/services/services.c result = g_list_concat(tmp1, tmp2); result 1000 lib/services/services.c return result; result 1145 lib/services/services_linux.c GList *result = NULL; result 1157 lib/services/services_linux.c GList *tmp1 = result; result 1161 lib/services/services_linux.c result = g_list_concat(tmp1, tmp2); result 1165 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 205 tools/crm_mon.c gboolean result = TRUE; result 224 tools/crm_mon.c result = FALSE; result 229 tools/crm_mon.c return result; result 235 tools/crm_mon.c gboolean result = TRUE; result 265 tools/crm_mon.c result = FALSE; result 270 tools/crm_mon.c return result; result 2062 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), result 2064 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); result 159 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(GList/* <pe_resource_t*> */ ** result, pe_resource_t * rsc, const char * rsc_id, result 169 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(result, (pe_resource_t*)gIter->data, result 183 tools/crm_resource_runtime.c *result = g_list_append(*result, rsc); result 200 tools/crm_resource_runtime.c GList * result = NULL; result 205 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 219 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 237 tools/crm_resource_runtime.c return g_list_append(result, rsc); result 240 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(&result, rsc, rsc_id, attr_set, result 243 tools/crm_resource_runtime.c return result; result 231 tools/crmadmin.c reply->data.ping.result);