char2score 169 daemons/attrd/attrd_utils.c int int_value = char2score(old_value); char2score 174 daemons/attrd/attrd_utils.c offset = char2score(offset_s); char2score 47 daemons/controld/controld_fencing.c stonith_max_attempts = char2score(value); char2score 48 include/crm/common/util.h int char2score(const char *score); char2score 631 include/crm/pengine/internal.h return char2score(pe_pref(scheduler->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 557 lib/common/xml.c int_value = char2score(old_value); char2score 563 lib/common/xml.c offset = char2score(offset_s); char2score 456 lib/pacemaker/pcmk_sched_colocation.c local_score = char2score(score_s); char2score 801 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 967 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 32 lib/pacemaker/pcmk_sched_location.c score_f = char2score(score); char2score 49 lib/pacemaker/pcmk_sched_location.c score_f = char2score(attr_score); char2score 222 lib/pacemaker/pcmk_sched_location.c int score_i = char2score(score); char2score 85 lib/pacemaker/pcmk_sched_ordering.c int score_i = char2score(score); char2score 752 lib/pacemaker/pcmk_sched_promotable.c return char2score(attr_value); char2score 716 lib/pengine/complex.c (*rsc)->priority = char2score(value); char2score 826 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); char2score 831 lib/pengine/complex.c (*rsc)->migration_threshold = char2score(value); char2score 304 lib/pengine/failcounts.c char2score(value)); char2score 77 lib/pengine/pe_health.c int score = char2score((const char *) value); char2score 147 lib/pengine/pe_health.c score = char2score(value); char2score 479 lib/pengine/rules.c pair->score = char2score(score); char2score 454 lib/pengine/unpack.c new_node->weight = char2score(score);