pcmk__add_scores 52 include/crm/common/util.h int pcmk__add_scores(int score1, int score2); pcmk__add_scores 21 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 22 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, -1), -CRM_SCORE_INFINITY); pcmk__add_scores 23 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 0), -CRM_SCORE_INFINITY); pcmk__add_scores 24 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 1), -CRM_SCORE_INFINITY); pcmk__add_scores 25 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 31 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 32 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 33 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 34 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); pcmk__add_scores 40 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); pcmk__add_scores 41 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, -1), CRM_SCORE_INFINITY); pcmk__add_scores 42 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 0), CRM_SCORE_INFINITY); pcmk__add_scores 43 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 1), CRM_SCORE_INFINITY); pcmk__add_scores 49 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); pcmk__add_scores 50 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); pcmk__add_scores 51 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); pcmk__add_scores 57 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MAX, INT_MAX), CRM_SCORE_INFINITY); pcmk__add_scores 58 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MIN, INT_MIN), -CRM_SCORE_INFINITY); pcmk__add_scores 59 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), CRM_SCORE_INFINITY); pcmk__add_scores 60 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); pcmk__add_scores 66 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 0), 0); pcmk__add_scores 67 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 100), 100); pcmk__add_scores 68 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, 0), 200); pcmk__add_scores 69 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, -50), 150); pcmk__add_scores 977 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-constraint->score, node->weight); pcmk__add_scores 985 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(constraint->score, pcmk__add_scores 993 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-constraint->score, node->weight); pcmk__add_scores 1063 lib/pacemaker/pcmk_sched_colocation.c dependent->priority = pcmk__add_scores(score_multiplier * constraint->score, pcmk__add_scores 167 lib/pacemaker/pcmk_sched_location.c local->weight = pcmk__add_scores(local->weight, score_f); pcmk__add_scores 660 lib/pacemaker/pcmk_sched_location.c weighted_node->weight = pcmk__add_scores(weighted_node->weight, pcmk__add_scores 316 lib/pacemaker/pcmk_sched_native.c new_score = pcmk__add_scores(weight, node->weight); pcmk__add_scores 157 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(child->priority, pcmk__add_scores 332 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); pcmk__add_scores 608 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); pcmk__add_scores 987 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, score); pcmk__add_scores 1045 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(dependent->priority, pcmk__add_scores 881 lib/pengine/complex.c node->weight = pcmk__add_scores(node->weight, score); pcmk__add_scores 267 lib/pengine/failcounts.c failcount = pcmk__add_scores(failcount, char2score(value)); pcmk__add_scores 80 lib/pengine/pe_health.c *health = pcmk__add_scores(score, *health); pcmk__add_scores 176 lib/pengine/utils.c node->weight = pcmk__add_scores(node->weight, other_node->weight); pcmk__add_scores 1688 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score);