score_s 26 include/crm/common/scores.h int pcmk_parse_score(const char *score_s, int *score, int default_score); score_s 39 lib/common/scores.c pcmk_parse_score(const char *score_s, int *score, int default_score) score_s 49 lib/common/scores.c if (score_s == NULL) { score_s 51 lib/common/scores.c } else if (pcmk_str_is_minus_infinity(score_s)) { score_s 54 lib/common/scores.c } else if (pcmk_str_is_infinity(score_s)) { score_s 57 lib/common/scores.c } else if (pcmk__str_eq(score_s, PCMK_VALUE_RED, pcmk__str_casei)) { score_s 60 lib/common/scores.c } else if (pcmk__str_eq(score_s, PCMK_VALUE_YELLOW, pcmk__str_casei)) { score_s 63 lib/common/scores.c } else if (pcmk__str_eq(score_s, PCMK_VALUE_GREEN, pcmk__str_casei)) { score_s 69 lib/common/scores.c rc = pcmk__scan_ll(score_s, &score_ll, default_score); score_s 71 lib/common/scores.c const char *c = score_s; score_s 140 lib/common/scores.c static char score_s[sizeof(PCMK_VALUE_MINUS_INFINITY)]; score_s 143 lib/common/scores.c strcpy(score_s, PCMK_VALUE_INFINITY); score_s 146 lib/common/scores.c strcpy(score_s, PCMK_VALUE_MINUS_INFINITY); score_s 150 lib/common/scores.c snprintf(score_s, sizeof(score_s), "%d", score); score_s 153 lib/common/scores.c return score_s; score_s 24 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(const char *score_s, int expected_rc, int expected_score) score_s 27 lib/common/tests/scores/pcmk_parse_score_test.c int rc = pcmk_parse_score(score_s, &score, default_score); score_s 24 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(const char *score_s, int expected_rc, int expected_score) score_s 30 lib/common/tests/xml/pcmk__xe_get_score_test.c crm_xml_add(xml, "test_attr", score_s); score_s 452 lib/pacemaker/pcmk_sched_colocation.c const char *score_s = crm_element_value(set, PCMK_XA_SCORE); score_s 454 lib/pacemaker/pcmk_sched_colocation.c if (score_s) { score_s 455 lib/pacemaker/pcmk_sched_colocation.c local_score = char2score(score_s);