char2score 279 daemons/attrd/attrd_utils.c int int_value = char2score(old_value); char2score 284 daemons/attrd/attrd_utils.c offset = char2score(offset_s); char2score 41 daemons/controld/controld_fencing.c stonith_max_attempts = char2score(value); char2score 49 include/crm/common/util.h int char2score(const char *score); char2score 596 include/crm/pengine/internal.h return char2score(pe_pref(data_set->config_hash, option)); char2score 25 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(NULL), 0); char2score 31 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("PQRST"), 0); char2score 32 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("3.141592"), 3); char2score 33 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("0xf00d"), 0); char2score 39 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-INFINITY"), -CRM_SCORE_INFINITY); char2score 40 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("INFINITY"), CRM_SCORE_INFINITY); char2score 41 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("+INFINITY"), CRM_SCORE_INFINITY); 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 51 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("ReD"), pcmk__score_red); char2score 52 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("GrEeN"), pcmk__score_green); char2score 53 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("yElLoW"), pcmk__score_yellow); char2score 63 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score(B(CRM_SCORE_INFINITY) "00"), CRM_SCORE_INFINITY); char2score 64 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-" B(CRM_SCORE_INFINITY) "00"), -CRM_SCORE_INFINITY); char2score 70 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("1234"), 1234); char2score 71 lib/common/tests/scores/char2score_test.c assert_int_equal(char2score("-1234"), -1234); char2score 593 lib/common/xml.c int_value = char2score(old_value); char2score 599 lib/common/xml.c offset = char2score(offset_s); char2score 304 lib/pacemaker/pcmk_sched_colocation.c local_score = char2score(score_s); char2score 557 lib/pacemaker/pcmk_sched_colocation.c score_i = char2score(score); char2score 708 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 83 lib/pacemaker/pcmk_sched_ordering.c int score_i = char2score(score); char2score 570 lib/pacemaker/pcmk_sched_promotable.c score = char2score(attr_value); char2score 603 lib/pengine/complex.c (*rsc)->priority = char2score(value); char2score 714 lib/pengine/complex.c (*rsc)->stickiness = char2score(value); char2score 719 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 560 lib/pengine/rules.c pair->score = char2score(score); char2score 395 lib/pengine/unpack.c new_node->weight = char2score(score);