pcmk__str_in_list 1204 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 1901 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(host, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 1929 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 1011 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 230 lib/fencing/st_client.c rv = pcmk__str_in_list(node, targets, pcmk__str_casei); pcmk__str_in_list 50 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 75 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 104 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 132 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 221 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 1488 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1611 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1739 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 2041 lib/pengine/bundle.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 661 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 662 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 733 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 734 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 835 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 859 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 923 lib/pengine/clone.c pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 1035 lib/pengine/clone.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1039 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 271 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 272 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 318 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 319 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 405 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 407 lib/pengine/group.c } else if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 409 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 1355 lib/pengine/native.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 1356 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 1367 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, pcmk__str_in_list 1377 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1854 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 1954 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) && pcmk__str_in_list 1955 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 2017 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2060 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2181 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2220 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2472 lib/pengine/utils.c if (pcmk__str_in_list(node->details->uname, node_list, pcmk__str_in_list 2498 lib/pengine/utils.c if (pcmk__str_in_list(rsc_printable_id(rsc), filter, pcmk__str_star_matches) || pcmk__str_in_list 2499 lib/pengine/utils.c (rsc->parent && pcmk__str_in_list(rsc_printable_id(rsc->parent), filter, pcmk__str_star_matches))) {