CRM_SCORE_INFINITY 42 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 45 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 60 lib/common/scores.c if (score_ll > CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 61 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 63 lib/common/scores.c } else if (score_ll < -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 64 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 91 lib/common/scores.c if (score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 94 lib/common/scores.c } else if (score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 124 lib/common/scores.c if ((score1 <= -CRM_SCORE_INFINITY) || (score2 <= -CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 125 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 127 lib/common/scores.c if ((score1 >= CRM_SCORE_INFINITY) || (score2 >= CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 128 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 132 lib/common/scores.c if (result >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 133 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 135 lib/common/scores.c if (result <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 136 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 35 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-INFINITY"), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 36 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 37 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 59 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(B(CRM_SCORE_INFINITY) "00"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 60 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(CRM_SCORE_INFINITY) "00"), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 18 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, -1), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 19 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 0), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 20 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-CRM_SCORE_INFINITY, 1), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 27 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 28 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 29 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, -CRM_SCORE_INFINITY), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 37 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, -1), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 38 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 0), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 39 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(CRM_SCORE_INFINITY, 1), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 45 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 46 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 47 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, CRM_SCORE_INFINITY), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 53 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MAX, INT_MAX), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 54 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MIN, INT_MIN), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 55 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 58 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 17 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(CRM_SCORE_INFINITY * 2), CRM_SCORE_INFINITY 19 lib/common/tests/scores/pcmk_readable_score_test.c assert_string_equal(pcmk_readable_score(-CRM_SCORE_INFINITY * 2), CRM_SCORE_INFINITY 1230 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1323 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1336 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1342 lib/pacemaker/pcmk_sched_colocation.c node->weight = -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 436 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 437 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 444 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 445 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 457 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 458 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 465 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 466 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 1590 lib/pacemaker/pcmk_sched_primitive.c resource_location(rsc, node, -CRM_SCORE_INFINITY,