crm_str_to_boolean 49 include/crm/common/util.h int crm_str_to_boolean(const char *s, int *ret); crm_str_to_boolean 1010 lib/common/nvpair.c rc = crm_str_to_boolean(xml_value, &ret); crm_str_to_boolean 1241 lib/common/options.c return crm_str_to_boolean(value, NULL) == 1; crm_str_to_boolean 504 lib/common/strings.c return (crm_str_to_boolean(s, &ret) < 0)? FALSE : 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 45 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("true", NULL), 1); crm_str_to_boolean 46 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("on", NULL), 1); crm_str_to_boolean 47 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yes", NULL), 1); crm_str_to_boolean 48 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("y", NULL), 1); crm_str_to_boolean 49 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("1", NULL), 1); crm_str_to_boolean 54 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("truedat", NULL), -1); crm_str_to_boolean 55 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("onnn", NULL), -1); crm_str_to_boolean 56 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("yep", NULL), -1); crm_str_to_boolean 57 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("Y!", NULL), -1); crm_str_to_boolean 58 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("100", NULL), -1); crm_str_to_boolean 65 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("false", &ret), 1); crm_str_to_boolean 67 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("fAlSe", &ret), 1); crm_str_to_boolean 69 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("off", &ret), 1); crm_str_to_boolean 71 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("OFF", &ret), 1); crm_str_to_boolean 73 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("no", &ret), 1); crm_str_to_boolean 75 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("No", &ret), 1); crm_str_to_boolean 77 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("n", &ret), 1); crm_str_to_boolean 79 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N", &ret), 1); crm_str_to_boolean 81 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("0", &ret), 1); crm_str_to_boolean 85 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("false", NULL), 1); crm_str_to_boolean 86 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("off", NULL), 1); crm_str_to_boolean 87 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("no", NULL), 1); crm_str_to_boolean 88 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("n", NULL), 1); crm_str_to_boolean 89 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("0", NULL), 1); crm_str_to_boolean 94 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("falseee", NULL), -1); crm_str_to_boolean 95 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("of", NULL), -1); crm_str_to_boolean 96 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("nope", NULL), -1); crm_str_to_boolean 97 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("N!", NULL), -1); crm_str_to_boolean 98 lib/common/tests/strings/crm_str_to_boolean_test.c assert_int_equal(crm_str_to_boolean("000", NULL), -1); crm_str_to_boolean 266 lib/common/watchdog.c } else if (crm_str_to_boolean(sync_env, &sync_resource_startup) < 0) { crm_str_to_boolean 604 lib/pacemaker/pcmk_graph_consumer.c if ((crm_str_to_boolean(value, &can_fail) > 0) && (can_fail > 0)) { crm_str_to_boolean 424 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 86 lib/pengine/group.c if ((value_s == NULL) || (crm_str_to_boolean(value_s, &value) < 0) crm_str_to_boolean 1527 lib/pengine/unpack.c } else if (crm_str_to_boolean(member_time, &member) == 1) { crm_str_to_boolean 1606 lib/pengine/unpack.c if (crm_str_to_boolean(value_s, &value_i) == 1) {