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 46 daemons/controld/controld_fencing.c stonith_max_attempts = char2score(value); char2score 27 include/crm/common/scores.h int char2score(const char *score); char2score 438 include/crm/pengine/internal.h return char2score(value); 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 551 lib/common/xml.c int old_value_i = (old_value != value)? char2score(old_value) : 0; char2score 556 lib/common/xml.c int add = (*v == '+')? 1 : char2score(++v); 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 252 lib/pacemaker/pcmk_sched_location.c int score_i = char2score(score); char2score 86 lib/pacemaker/pcmk_sched_ordering.c int score_i = char2score(score); char2score 735 lib/pacemaker/pcmk_sched_promotable.c return char2score(attr_value); char2score 749 lib/pengine/complex.c (*rsc)->priority = char2score(value); char2score 881 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); char2score 895 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value); char2score 304 lib/pengine/failcounts.c char2score(value)); char2score 78 lib/pengine/pe_health.c int score = char2score((const char *) value); char2score 148 lib/pengine/pe_health.c score = char2score(value); char2score 94 lib/pengine/rules.c score_a = char2score(score); char2score 97 lib/pengine/rules.c score_b = char2score(score); char2score 470 lib/pengine/unpack.c new_node->weight = char2score(score);