pcmk__add_scores 49 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(CRM_SCORE_INFINITY/2, CRM_SCORE_INFINITY/2), CRM_SCORE_INFINITY); pcmk__add_scores 57 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY/2, -CRM_SCORE_INFINITY/2), -CRM_SCORE_INFINITY); pcmk__add_scores 58 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); pcmk__add_scores 64 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 0), 0); pcmk__add_scores 65 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 100), 100); pcmk__add_scores 66 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, 0), 200); pcmk__add_scores 67 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, -50), 150); pcmk__add_scores 1304 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); pcmk__add_scores 1324 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, pcmk__add_scores 1423 lib/pacemaker/pcmk_sched_colocation.c dependent->priority = pcmk__add_scores(score_multiplier * colocation->score, pcmk__add_scores 1611 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(delta, node->weight); pcmk__add_scores 1858 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = pcmk__add_scores(dependent_node->weight, pcmk__add_scores 168 lib/pacemaker/pcmk_sched_location.c local->weight = pcmk__add_scores(local->weight, score_f); pcmk__add_scores 664 lib/pacemaker/pcmk_sched_location.c allowed_node->weight = pcmk__add_scores(allowed_node->weight, pcmk__add_scores 141 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 787 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); pcmk__add_scores 1196 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); pcmk__add_scores 1281 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(dependent->priority, pcmk__add_scores 303 lib/pengine/failcounts.c fc_data->failcount = pcmk__add_scores(fc_data->failcount, pcmk__add_scores 80 lib/pengine/pe_health.c *health = pcmk__add_scores(score, *health); pcmk__add_scores 352 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score);