crm_str_to_boolean 55 include/crm/common/util.h int crm_str_to_boolean(const char *s, int *ret); crm_str_to_boolean 944 lib/common/nvpair.c rc = crm_str_to_boolean(xml_value, &ret); crm_str_to_boolean 178 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 16 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean(NULL, NULL), -1); crm_str_to_boolean 17 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("", NULL), -1); crm_str_to_boolean 18 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("blahblah", NULL), -1); crm_str_to_boolean 25 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("true", &ret), 1); crm_str_to_boolean 27 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("TrUe", &ret), 1); crm_str_to_boolean 29 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("on", &ret), 1); crm_str_to_boolean 31 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("ON", &ret), 1); crm_str_to_boolean 33 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yes", &ret), 1); crm_str_to_boolean 35 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yES", &ret), 1); crm_str_to_boolean 37 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("y", &ret), 1); crm_str_to_boolean 39 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y", &ret), 1); crm_str_to_boolean 41 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("1", &ret), 1); crm_str_to_boolean 47 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("truedat", NULL), -1); crm_str_to_boolean 48 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("onnn", NULL), -1); crm_str_to_boolean 49 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yep", NULL), -1); crm_str_to_boolean 50 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y!", NULL), -1); crm_str_to_boolean 51 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("100", NULL), -1); crm_str_to_boolean 58 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("false", &ret), 1); crm_str_to_boolean 60 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("fAlSe", &ret), 1); crm_str_to_boolean 62 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("off", &ret), 1); crm_str_to_boolean 64 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("OFF", &ret), 1); crm_str_to_boolean 66 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("no", &ret), 1); crm_str_to_boolean 68 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("No", &ret), 1); crm_str_to_boolean 70 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("n", &ret), 1); crm_str_to_boolean 72 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N", &ret), 1); crm_str_to_boolean 74 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("0", &ret), 1); crm_str_to_boolean 80 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("falseee", NULL), -1); crm_str_to_boolean 81 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("of", NULL), -1); crm_str_to_boolean 82 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("nope", NULL), -1); crm_str_to_boolean 83 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N!", NULL), -1); crm_str_to_boolean 84 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("000", NULL), -1); crm_str_to_boolean 259 lib/common/watchdog.c } else if (crm_str_to_boolean(sync_env, &sync_resource_startup) < 0) { crm_str_to_boolean 536 lib/pacemaker/pcmk_graph_consumer.c crm_str_to_boolean(value, &can_fail); crm_str_to_boolean 383 lib/pacemaker/pcmk_sched_colocation.c if (crm_str_to_boolean(influence_s, &influence_i) < 0) { crm_str_to_boolean 861 lib/pengine/bundle.c if (crm_str_to_boolean(value, &bundle_data->add_host) != 1) { crm_str_to_boolean 86 lib/pengine/group.c if ((value_s == NULL) || (crm_str_to_boolean(value_s, &value) < 0)