char2score 193 daemons/attrd/attrd_utils.c int int_value = char2score(old_value); char2score 198 daemons/attrd/attrd_utils.c offset = char2score(offset_s); char2score 41 daemons/controld/controld_fencing.c stonith_max_attempts = char2score(value); char2score 50 include/crm/common/util.h int char2score(const char *score); char2score 640 include/crm/pengine/internal.h return char2score(pe_pref(data_set->config_hash, option)); 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"), -CRM_SCORE_INFINITY); char2score 36 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), CRM_SCORE_INFINITY); char2score 37 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), CRM_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(CRM_SCORE_INFINITY) "00"), CRM_SCORE_INFINITY); char2score 60 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(CRM_SCORE_INFINITY) "00"), -CRM_SCORE_INFINITY); char2score 66 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("1234"), 1234); char2score 67 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-1234"), -1234); char2score 646 lib/common/xml.c int_value = char2score(old_value); char2score 652 lib/common/xml.c offset = char2score(offset_s); char2score 332 lib/pacemaker/pcmk_sched_colocation.c local_score = char2score(score_s); char2score 598 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 749 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 31 lib/pacemaker/pcmk_sched_location.c score_f = char2score(score); char2score 44 lib/pacemaker/pcmk_sched_location.c score_f = char2score(attr_score); char2score 221 lib/pacemaker/pcmk_sched_location.c int score_i = char2score(score); char2score 84 lib/pacemaker/pcmk_sched_ordering.c int score_i = char2score(score); char2score 722 lib/pacemaker/pcmk_sched_promotable.c return char2score(attr_value); char2score 671 lib/pengine/complex.c (*rsc)->priority = char2score(value); char2score 781 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); char2score 786 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value); char2score 267 lib/pengine/failcounts.c failcount = pcmk__add_scores(failcount, char2score(value)); char2score 77 lib/pengine/pe_health.c int score = char2score((const char *) value); char2score 145 lib/pengine/pe_health.c score = char2score(value); char2score 470 lib/pengine/rules.c pair->score = char2score(score); char2score 395 lib/pengine/unpack.c new_node->weight = char2score(score);