pcmk__add_scores 51 include/crm/common/util.h int pcmk__add_scores(int score1, int score2); pcmk__add_scores 17 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 18 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 19 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 20 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 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 27 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 28 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 29 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 30 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 36 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 37 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 38 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 39 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 45 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 46 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 47 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 53 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 54 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 55 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), CRM_SCORE_INFINITY); pcmk__add_scores 56 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); pcmk__add_scores 62 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 0), 0); pcmk__add_scores 63 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 100), 100); pcmk__add_scores 64 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, 0), 200); pcmk__add_scores 65 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, -50), 150); pcmk__add_scores 1072 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); pcmk__add_scores 1080 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, pcmk__add_scores 1088 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); pcmk__add_scores 1159 lib/pacemaker/pcmk_sched_colocation.c dependent->priority = pcmk__add_scores(score_multiplier * colocation->score, pcmk__add_scores 1276 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(weight, node->weight); pcmk__add_scores 167 lib/pacemaker/pcmk_sched_location.c local->weight = pcmk__add_scores(local->weight, score_f); pcmk__add_scores 667 lib/pacemaker/pcmk_sched_location.c weighted_node->weight = pcmk__add_scores(weighted_node->weight, pcmk__add_scores 132 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(child->priority, pcmk__add_scores 323 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); pcmk__add_scores 756 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); pcmk__add_scores 1166 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); pcmk__add_scores 1244 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(dependent->priority, pcmk__add_scores 880 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 124 lib/pengine/utils.c node->weight = pcmk__add_scores(node->weight, other_node->weight); pcmk__add_scores 381 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score);