pcmk__str_in_list 1313 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(alias, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 2167 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(target, dev->targets, pcmk__str_casei)) { pcmk__str_in_list 2195 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(((alias == NULL)? target : alias), dev->targets, pcmk__str_in_list 1030 daemons/fenced/pacemaker-fenced.c pcmk__str_in_list(node, stonith_watchdog_targets, pcmk__str_casei)); pcmk__str_in_list 136 include/crm/common/strings_internal.h gboolean pcmk__str_in_list(const gchar *s, const GList *lst, uint32_t flags); pcmk__str_in_list 18 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 19 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 20 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 21 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", NULL, pcmk__str_none)); pcmk__str_in_list 30 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 31 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 32 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", list, pcmk__str_none)); pcmk__str_in_list 33 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 45 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 46 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 47 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 48 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 59 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 60 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 61 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 62 lib/common/tests/strings/pcmk__str_in_list_test.c assert_false(pcmk__str_in_list("", list, pcmk__str_none)); pcmk__str_in_list 63 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 76 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 77 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 78 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 79 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 80 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 81 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 93 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 94 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 95 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 96 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 170 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 199 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 232 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 263 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 356 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 1243 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1366 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1494 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); pcmk__str_in_list 1804 lib/pengine/bundle.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 772 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 773 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 843 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 844 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 948 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 971 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, pcmk__str_in_list 1031 lib/pengine/clone.c pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 1178 lib/pengine/clone.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 1182 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 343 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 344 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 390 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 391 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); pcmk__str_in_list 477 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 479 lib/pengine/group.c } else if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 481 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 1378 lib/pengine/native.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || pcmk__str_in_list 1379 lib/pengine/native.c pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 674 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 675 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 1432 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, pcmk__str_in_list 1446 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc, only_rsc, pcmk__str_star_matches)) { pcmk__str_in_list 2037 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 2137 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) && pcmk__str_in_list 2138 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 2202 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2238 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2333 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 2373 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_in_list 758 lib/pengine/utils.c if (pcmk__str_in_list(node->details->uname, node_list, pcmk__str_in_list 784 lib/pengine/utils.c if (pcmk__str_in_list(rsc_printable_id(rsc), filter, pcmk__str_star_matches) || pcmk__str_in_list 785 lib/pengine/utils.c (rsc->parent && pcmk__str_in_list(rsc_printable_id(rsc->parent), filter, pcmk__str_star_matches))) {