char2score 170 daemons/attrd/attrd_utils.c int int_value = char2score(old_value); char2score 175 daemons/attrd/attrd_utils.c offset = char2score(offset_s); char2score 28 include/crm/common/scores.h int char2score(const char *score); char2score 21 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(NULL), 0); char2score 27 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("PQRST"), 0); char2score 28 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("3.141592"), 3); char2score 29 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("0xf00d"), 0); char2score 35 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-INFINITY"), -PCMK_SCORE_INFINITY); char2score 36 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), PCMK_SCORE_INFINITY); char2score 37 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), PCMK_SCORE_INFINITY); char2score 43 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("red"), pcmk__score_red); char2score 44 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("green"), pcmk__score_green); char2score 45 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("yellow"), pcmk__score_yellow); char2score 47 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("ReD"), pcmk__score_red); char2score 48 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("GrEeN"), pcmk__score_green); char2score 49 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("yElLoW"), pcmk__score_yellow); char2score 59 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(B(PCMK_SCORE_INFINITY) "00"), char2score 61 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(PCMK_SCORE_INFINITY) "00"), char2score 68 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("1234"), 1234); char2score 69 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-1234"), -1234); char2score 455 lib/pacemaker/pcmk_sched_colocation.c local_score = char2score(score_s); char2score 815 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 989 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 33 lib/pacemaker/pcmk_sched_location.c score_f = char2score(score); char2score 52 lib/pacemaker/pcmk_sched_location.c score_f = char2score(attr_score); char2score 251 lib/pacemaker/pcmk_sched_location.c int score_i = char2score(score); char2score 934 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value);