crm_str_to_boolean 56 include/crm/common/util.h int crm_str_to_boolean(const char *s, int *ret); crm_str_to_boolean 976 lib/common/nvpair.c rc = crm_str_to_boolean(xml_value, &ret); crm_str_to_boolean 380 lib/common/options.c return crm_str_to_boolean(value, &tmp) == 1; crm_str_to_boolean 421 lib/common/strings.c crm_str_to_boolean(s, &ret); crm_str_to_boolean 20 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean(NULL, NULL), -1); crm_str_to_boolean 21 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("", NULL), -1); crm_str_to_boolean 22 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("blahblah", NULL), -1); crm_str_to_boolean 29 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("true", &ret), 1); crm_str_to_boolean 31 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("TrUe", &ret), 1); crm_str_to_boolean 33 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("on", &ret), 1); crm_str_to_boolean 35 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("ON", &ret), 1); crm_str_to_boolean 37 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yes", &ret), 1); crm_str_to_boolean 39 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yES", &ret), 1); crm_str_to_boolean 41 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("y", &ret), 1); crm_str_to_boolean 43 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y", &ret), 1); crm_str_to_boolean 45 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("1", &ret), 1); crm_str_to_boolean 51 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("truedat", NULL), -1); crm_str_to_boolean 52 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("onnn", NULL), -1); crm_str_to_boolean 53 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yep", NULL), -1); crm_str_to_boolean 54 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y!", NULL), -1); crm_str_to_boolean 55 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("100", NULL), -1); crm_str_to_boolean 62 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("false", &ret), 1); crm_str_to_boolean 64 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("fAlSe", &ret), 1); crm_str_to_boolean 66 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("off", &ret), 1); crm_str_to_boolean 68 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("OFF", &ret), 1); crm_str_to_boolean 70 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("no", &ret), 1); crm_str_to_boolean 72 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("No", &ret), 1); crm_str_to_boolean 74 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("n", &ret), 1); crm_str_to_boolean 76 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N", &ret), 1); crm_str_to_boolean 78 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("0", &ret), 1); crm_str_to_boolean 84 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("falseee", NULL), -1); crm_str_to_boolean 85 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("of", NULL), -1); crm_str_to_boolean 86 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("nope", NULL), -1); crm_str_to_boolean 87 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N!", NULL), -1); crm_str_to_boolean 88 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("000", NULL), -1); crm_str_to_boolean 263 lib/common/watchdog.c } else if (crm_str_to_boolean(sync_env, &sync_resource_startup) < 0) { crm_str_to_boolean 530 lib/pacemaker/pcmk_graph_consumer.c crm_str_to_boolean(value, &can_fail); crm_str_to_boolean 277 lib/pacemaker/pcmk_sched_colocation.c if (crm_str_to_boolean(influence_s, &influence_i) < 0) { crm_str_to_boolean 1079 lib/pengine/bundle.c if (crm_str_to_boolean(value, &bundle_data->add_host) != 1) { crm_str_to_boolean 118 lib/pengine/group.c || (crm_str_to_boolean(group_ordered, &(group_data->ordered)) < 0)) { crm_str_to_boolean 122 lib/pengine/group.c || (crm_str_to_boolean(group_colocated, &(group_data->colocated)) < 0)) {