pcmk__str_in_list 1245 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 2020 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(host, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 2048 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 1033 daemons/fenced/pacemaker-fenced.c pcmk__str_in_list(node, stonith_watchdog_targets, pcmk__str_casei)); pcmk__str_in_list 121 include/crm/common/strings_internal.h gboolean pcmk__str_in_list(const gchar *s, GList *lst, uint32_t flags); pcmk__str_in_list 22 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list(NULL, NULL, pcmk__str_none)); pcmk__str_in_list 23 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list(NULL, NULL, pcmk__str_null_matches)); pcmk__str_in_list 24 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("xxx", NULL, pcmk__str_none)); pcmk__str_in_list 25 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", NULL, pcmk__str_none)); pcmk__str_in_list 34 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list(NULL, list, pcmk__str_none)); pcmk__str_in_list 35 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list(NULL, list, pcmk__str_null_matches)); pcmk__str_in_list 36 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", list, pcmk__str_none)); pcmk__str_in_list 37 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", list, pcmk__str_null_matches)); pcmk__str_in_list 49 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_star_matches)); pcmk__str_in_list 50 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_star_matches)); pcmk__str_in_list 51 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_star_matches|pcmk__str_casei)); pcmk__str_in_list 52 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("", list, pcmk__str_star_matches)); pcmk__str_in_list 63 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("xxx", list, pcmk__str_none)); pcmk__str_in_list 64 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("yyy", list, pcmk__str_none)); pcmk__str_in_list 65 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("XXX", list, pcmk__str_casei)); pcmk__str_in_list 66 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", list, pcmk__str_none)); pcmk__str_in_list 67 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list(NULL, list, pcmk__str_star_matches)); pcmk__str_in_list 80 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_none)); pcmk__str_in_list 81 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_casei)); pcmk__str_in_list 82 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_none)); pcmk__str_in_list 83 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("YYY", list, pcmk__str_casei)); pcmk__str_in_list 84 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("zzz", list, pcmk__str_none)); pcmk__str_in_list 85 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("ZZZ", list, pcmk__str_casei)); pcmk__str_in_list 97 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("xx", list, pcmk__str_none)); pcmk__str_in_list 98 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("XXX", list, pcmk__str_none)); pcmk__str_in_list 99 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("zzz", list, pcmk__str_none)); pcmk__str_in_list 100 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("zzz", list, pcmk__str_casei)); pcmk__str_in_list 207 lib/fencing/st_client.c rv = pcmk__str_in_list(node, targets, pcmk__str_casei); pcmk__str_in_list 52 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 77 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 106 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 134 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 223 lib/fencing/st_output.c if (!pcmk__str_in_list(hp->target, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 1511 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1634 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1762 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 2064 lib/pengine/bundle.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 712 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 713 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 784 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 785 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 889 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 913 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 971 lib/pengine/clone.c pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 1115 lib/pengine/clone.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1119 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); pcmk__str_in_list 273 lib/pengine/group.c gboolean parent_passes = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 274 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 320 lib/pengine/group.c gboolean parent_passes = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 321 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 407 lib/pengine/group.c if (check_parent && pcmk__str_in_list(rsc_printable_id(uber_parent(rsc)), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 409 lib/pengine/group.c } else if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 411 lib/pengine/group.c } else if (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1364 lib/pengine/native.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 1365 lib/pengine/native.c pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 626 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(location->rsc_lh), only_rsc, pcmk__str_star_matches) && pcmk__str_in_list 627 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(location->rsc_lh)), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1372 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, pcmk__str_in_list 1386 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1959 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_star_matches|pcmk__str_casei)) { pcmk__str_in_list 2059 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) && pcmk__str_in_list 2060 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(rsc)), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 2124 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2166 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2255 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2295 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2469 lib/pengine/utils.c if (pcmk__str_in_list(node->details->uname, node_list, pcmk__str_in_list 2495 lib/pengine/utils.c if (pcmk__str_in_list(rsc_printable_id(rsc), filter, pcmk__str_star_matches) || pcmk__str_in_list 2496 lib/pengine/utils.c (rsc->parent && pcmk__str_in_list(rsc_printable_id(rsc->parent), filter, pcmk__str_star_matches))) {