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(-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 1053 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1162 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1173 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score >= CRM_SCORE_INFINITY) { CRM_SCORE_INFINITY 1179 lib/pacemaker/pcmk_sched_colocation.c node->weight = -CRM_SCORE_INFINITY; CRM_SCORE_INFINITY 398 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 399 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 405 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 406 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 418 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 419 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 426 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) CRM_SCORE_INFINITY 427 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { CRM_SCORE_INFINITY 1506 lib/pacemaker/pcmk_sched_primitive.c resource_location(rsc, node, -CRM_SCORE_INFINITY,