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 119 lib/common/scores.c if (score1 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 121 lib/common/scores.c if (score2 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 123 lib/common/scores.c } else if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 129 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 131 lib/common/scores.c } else if (score2 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 133 lib/common/scores.c if (score1 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 139 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 141 lib/common/scores.c } else if (score1 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 143 lib/common/scores.c if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 149 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 151 lib/common/scores.c } else if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 153 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 162 lib/common/scores.c if (result >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 164 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 166 lib/common/scores.c } else if (result <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 168 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(-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 976 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1076 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1084 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1454 lib/pacemaker/pcmk_sched_primitive.c resource_location(rsc, node, -CRM_SCORE_INFINITY,