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 90 lib/common/scores.c if (score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 92 lib/common/scores.c } else if (score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 118 lib/common/scores.c if (score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 122 lib/common/scores.c } else if (score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 146 lib/common/scores.c if (score1 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 148 lib/common/scores.c if (score2 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 150 lib/common/scores.c } else if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 156 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 158 lib/common/scores.c } else if (score2 <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 160 lib/common/scores.c if (score1 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 166 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 168 lib/common/scores.c } else if (score1 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 170 lib/common/scores.c if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 176 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 178 lib/common/scores.c } else if (score2 >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 180 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 189 lib/common/scores.c if (result >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 191 lib/common/scores.c return CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 193 lib/common/scores.c } else if (result <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 195 lib/common/scores.c return -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 39 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-INFINITY"), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 40 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 41 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 63 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(B(CRM_SCORE_INFINITY) "00"), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 64 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(CRM_SCORE_INFINITY) "00"), -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 22 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 23 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 24 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 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); CRM_SCORE_INFINITY 31 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 32 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 33 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 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); CRM_SCORE_INFINITY 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); CRM_SCORE_INFINITY 41 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 42 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 43 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 49 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 50 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 51 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 57 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 58 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 59 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 60 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -CRM_SCORE_INFINITY); CRM_SCORE_INFINITY 34 lib/common/tests/scores/score2char_stack_test.c buf = score2char_stack(CRM_SCORE_INFINITY * 2, buf, 10); CRM_SCORE_INFINITY 37 lib/common/tests/scores/score2char_stack_test.c buf = score2char_stack(-CRM_SCORE_INFINITY * 2, buf, 10); CRM_SCORE_INFINITY 23 lib/common/tests/scores/score2char_test.c a = score2char(CRM_SCORE_INFINITY * 2); CRM_SCORE_INFINITY 27 lib/common/tests/scores/score2char_test.c a = score2char(-CRM_SCORE_INFINITY * 2); CRM_SCORE_INFINITY 882 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 981 lib/pacemaker/pcmk_sched_colocation.c if (constraint->score < CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 989 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 2625 lib/pacemaker/pcmk_sched_native.c resource_location(rsc, node, -CRM_SCORE_INFINITY,