pcmk__str_any_of 535 daemons/based/based_callbacks.c if (pcmk__str_any_of(op, PCMK__CIB_REQUEST_PRIMARY, pcmk__str_any_of 1341 daemons/based/based_callbacks.c && pcmk__str_any_of(op, pcmk__str_any_of 121 daemons/controld/controld_cib.h return !pcmk__str_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE, pcmk__str_any_of 1862 daemons/controld/controld_execd.c && !pcmk__str_any_of(action, CRMD_ACTION_STATUS, CRMD_ACTION_NOTIFY, pcmk__str_any_of 1933 daemons/controld/controld_execd.c if (pcmk__str_any_of(operation, CRMD_ACTION_RELOAD, pcmk__str_any_of 223 daemons/controld/controld_metadata.c if (pcmk__str_any_of(p->rap_name, "password", "passwd", "user", pcmk__str_any_of 941 daemons/controld/controld_remote_ra.c } else if (pcmk__str_any_of(cmd->action, CRMD_ACTION_RELOAD, pcmk__str_any_of 1031 daemons/controld/controld_remote_ra.c return pcmk__str_any_of(action, pcmk__str_any_of 444 daemons/controld/controld_te_callbacks.c } else if (!pcmk__str_any_of(op, "delete", "move", NULL)) { pcmk__str_any_of 334 daemons/controld/controld_te_utils.c } else if (pcmk__str_any_of(kind, XML_CIB_TAG_STATE, XML_CIB_TAG_NODE, NULL)) { pcmk__str_any_of 65 daemons/execd/cts-exec-helper.c if (pcmk__str_any_of(option_name, "--notify-orig", "-n", NULL)) { pcmk__str_any_of 67 daemons/execd/cts-exec-helper.c } else if (pcmk__str_any_of(option_name, "--notify-changes", "-o", NULL)) { pcmk__str_any_of 76 daemons/execd/cts-exec-helper.c if (pcmk__str_any_of(option_name, "--param-key", "-k", NULL)) { pcmk__str_any_of 78 daemons/execd/cts-exec-helper.c } else if (pcmk__str_any_of(option_name, "--param-val", "-v", NULL)) { pcmk__str_any_of 61 daemons/fenced/cts-fence-helper.c if (pcmk__str_any_of(option_name, "--mainloop_api_test", "-m", NULL)) { pcmk__str_any_of 63 daemons/fenced/cts-fence-helper.c } else if (pcmk__str_any_of(option_name, "--api_test", "-t", NULL)) { pcmk__str_any_of 65 daemons/fenced/cts-fence-helper.c } else if (pcmk__str_any_of(option_name, "--passive", "-p", NULL)) { pcmk__str_any_of 540 daemons/fenced/fenced_commands.c if (pcmk__str_any_of(device->agent, STONITH_WATCHDOG_AGENT, pcmk__str_any_of 1390 daemons/fenced/fenced_commands.c pcmk__str_any_of(device->agent, STONITH_WATCHDOG_AGENT, pcmk__str_any_of 1397 daemons/fenced/fenced_commands.c } else if (!pcmk__str_any_of(device->agent, STONITH_WATCHDOG_AGENT, pcmk__str_any_of 3601 daemons/fenced/fenced_commands.c } else if (pcmk__str_any_of(op, T_STONITH_NOTIFY, STONITH_OP_FENCE, NULL)) { pcmk__str_any_of 139 include/crm/common/strings_internal.h bool pcmk__str_any_of(const char *s, ...) G_GNUC_NULL_TERMINATED; pcmk__str_any_of 179 lib/common/agents.c if (pcmk__str_any_of(param, PCMK_STONITH_PROVIDES, pcmk__str_any_of 186 lib/common/agents.c if (pcmk__str_any_of(param, pcmk__str_any_of 198 lib/common/agents.c return pcmk__str_any_of(param, "_action", "_timeout", "_retries", NULL); pcmk__str_any_of 51 lib/common/ipc_attrd.c return pcmk__str_any_of(command, pcmk__str_any_of 236 lib/common/ipc_controld.c || !pcmk__str_any_of(value, XML_ATTR_REQUEST, XML_ATTR_RESPONSE, NULL)) { pcmk__str_any_of 190 lib/common/ipc_pacemakerd.c return pcmk__str_any_of(command, CRM_OP_PING, CRM_OP_QUIT, NULL); pcmk__str_any_of 74 lib/common/ipc_schedulerd.c return pcmk__str_any_of(command, CRM_OP_PECALC, NULL); pcmk__str_any_of 327 lib/common/operations.c return pcmk__str_any_of((const char *) a->name, pcmk__str_any_of 473 lib/common/operations.c return pcmk__str_any_of(op, CRMD_ACTION_START, CRMD_ACTION_STATUS, pcmk__str_any_of 491 lib/common/operations.c return pcmk__str_any_of(action, "off", "reboot", "poweroff", NULL); pcmk__str_any_of 443 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); pcmk__str_any_of 462 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); pcmk__str_any_of 480 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); pcmk__str_any_of 497 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); pcmk__str_any_of 510 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); pcmk__str_any_of 522 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return); pcmk__str_any_of 535 lib/common/output_xml.c CRM_CHECK(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL), return NULL); pcmk__str_any_of 17 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of("xxx", NULL)); pcmk__str_any_of 19 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of("", NULL)); pcmk__str_any_of 25 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of("", "xxx", "yyy", NULL)); pcmk__str_any_of 27 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of(NULL, "xxx", "yyy", NULL)); pcmk__str_any_of 33 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL)); pcmk__str_any_of 40 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of("xxx", "aaa", "bbb", NULL)); pcmk__str_any_of 41 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__str_any_of("AAA", "aaa", "bbb", NULL)); pcmk__str_any_of 143 lib/common/tests/xml/pcmk__xe_foreach_child_test.c assert_true(pcmk__str_any_of(crm_element_name(xml), "node1", "node2", "node3", NULL)); pcmk__str_any_of 544 lib/common/utils.c return pcmk__str_any_of(s, CRM_INFINITY_S, CRM_PLUS_INFINITY_S, NULL); pcmk__str_any_of 1439 lib/fencing/st_client.c } else if (pcmk__str_any_of(event->operation, pcmk__str_any_of 262 lib/lrmd/proxy_common.c && pcmk__str_any_of(crm_element_value(request, PCMK__XA_TASK), pcmk__str_any_of 407 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, pcmk__str_any_of 129 lib/pacemaker/pcmk_result_code.c || pcmk__str_any_of(name, "Unknown", "CRM_EX_UNKNOWN", NULL)) { pcmk__str_any_of 1139 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, CRMD_ACTION_RELOAD, CRMD_ACTION_RELOAD_AGENT, pcmk__str_any_of 1169 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_any_of(op->op_type, CRMD_ACTION_MIGRATE, pcmk__str_any_of 1244 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(op->op_type, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__str_any_of 1470 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, RSC_STATUS, RSC_MIGRATED, RSC_PROMOTE, NULL)) { pcmk__str_any_of 1207 lib/pacemaker/pcmk_sched_instances.c if ((for_first && !pcmk__str_any_of(action->task, CRMD_ACTION_STOP, pcmk__str_any_of 1210 lib/pacemaker/pcmk_sched_instances.c || (!for_first && pcmk__str_any_of(action->task, CRMD_ACTION_PROMOTE, pcmk__str_any_of 1229 lib/pacemaker/pcmk_sched_instances.c || pcmk__str_any_of(action_name, RSC_STOP, RSC_DEMOTE, NULL)) { pcmk__str_any_of 107 lib/pacemaker/pcmk_sched_recurring.c return pcmk__str_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, pcmk__str_any_of 393 lib/pengine/clone.c if (pcmk__str_any_of((const char *)a_child->name, XML_CIB_TAG_RESOURCE, XML_CIB_TAG_GROUP, NULL)) { pcmk__str_any_of 128 lib/pengine/rules.c } else if (pcmk__str_any_of(attr, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, NULL)) { pcmk__str_any_of 2763 lib/pengine/unpack.c if (pcmk__str_any_of(task, CRMD_ACTION_START, CRMD_ACTION_STOP, pcmk__str_any_of 4173 lib/pengine/unpack.c return pcmk__str_any_of(history->task, CRMD_ACTION_STATUS, pcmk__str_any_of 4179 lib/pengine/unpack.c return !pcmk__str_any_of(history->task, CRMD_ACTION_NOTIFY, pcmk__str_any_of 293 lib/services/services_lsb.c if (!pcmk__str_any_of(action, "status", "monitor", NULL)) { pcmk__str_any_of 654 lib/services/systemd.c if (pcmk__str_any_of(state, "loaded", "masked", NULL)) { pcmk__str_any_of 935 lib/services/systemd.c if (pcmk__str_any_of(op->action, "monitor", "status", NULL)) { pcmk__str_any_of 63 tools/attrd_updater.c if (pcmk__str_any_of(option_name, "--update-both", "-B", NULL)) { pcmk__str_any_of 65 tools/attrd_updater.c } else if (pcmk__str_any_of(option_name, "--delete", "-D", NULL)) { pcmk__str_any_of 67 tools/attrd_updater.c } else if (pcmk__str_any_of(option_name, "--query", "-Q", NULL)) { pcmk__str_any_of 69 tools/attrd_updater.c } else if (pcmk__str_any_of(option_name, "--refresh", "-R", NULL)) { pcmk__str_any_of 71 tools/attrd_updater.c } else if (pcmk__str_any_of(option_name, "--update", "-U", "-v", NULL)) { pcmk__str_any_of 73 tools/attrd_updater.c } else if (pcmk__str_any_of(option_name, "--update-delay", "-Y", NULL)) { pcmk__str_any_of 88 tools/attrd_updater.c if (pcmk__str_any_of(optarg, "nodes", "forever", NULL)) { pcmk__str_any_of 90 tools/attrd_updater.c } else if (pcmk__str_any_of(optarg, "status", "reboot", NULL)) { pcmk__str_any_of 103 tools/attrd_updater.c if (pcmk__str_any_of(option_name, "-z", "--utilization", NULL)) { pcmk__str_any_of 124 tools/cibadmin.c || pcmk__str_any_of(options.cib_action, pcmk__str_any_of 142 tools/cibadmin.c return pcmk__str_any_of(scope, pcmk__str_any_of 164 tools/cibadmin.c if (pcmk__str_any_of(option_name, "-u", "--upgrade", NULL)) { pcmk__str_any_of 167 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-Q", "--query", NULL)) { pcmk__str_any_of 170 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-E", "--erase", NULL)) { pcmk__str_any_of 173 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-B", "--bump", NULL)) { pcmk__str_any_of 176 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-C", "--create", NULL)) { pcmk__str_any_of 179 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-M", "--modify", NULL)) { pcmk__str_any_of 182 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-P", "--patch", NULL)) { pcmk__str_any_of 185 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-R", "--replace", NULL)) { pcmk__str_any_of 188 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-D", "--delete", NULL)) { pcmk__str_any_of 191 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-d", "--delete-all", NULL)) { pcmk__str_any_of 195 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-a", "--empty", NULL)) { pcmk__str_any_of 199 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-5", "--md5-sum", NULL)) { pcmk__str_any_of 202 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-6", "--md5-sum-versioned", pcmk__str_any_of 243 tools/cibadmin.c if (pcmk__str_any_of(option_name, "-o", "--scope", NULL)) { pcmk__str_any_of 246 tools/cibadmin.c } else if (pcmk__str_any_of(option_name, "-A", "--xpath", NULL)) { pcmk__str_any_of 34 tools/crm_error.c if (pcmk__str_any_of(option_name, "--exit", "-X", NULL)) { pcmk__str_any_of 36 tools/crm_error.c } else if (pcmk__str_any_of(option_name, "--rc", "-r", NULL)) { pcmk__str_any_of 365 tools/crm_mon.c } else if (pcmk__str_any_of(*s, "default", "defaults", NULL)) { pcmk__str_any_of 675 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-m", "--meta", NULL)) { pcmk__str_any_of 677 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-z", "--utilization", NULL)) { pcmk__str_any_of 695 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-C", "--cleanup", NULL)) { pcmk__str_any_of 807 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-U", "--clear", NULL)) { pcmk__str_any_of 810 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-B", "--ban", NULL)) { pcmk__str_any_of 813 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-M", "--move", NULL)) { pcmk__str_any_of 816 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-q", "--query-xml", NULL)) { pcmk__str_any_of 819 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-w", "--query-xml-raw", NULL)) { pcmk__str_any_of 822 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-W", "--locate", NULL)) { pcmk__str_any_of 826 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-a", "--constraints", NULL)) { pcmk__str_any_of 830 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-A", "--stack", NULL)) { pcmk__str_any_of 841 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-g", "--get-parameter", NULL)) { pcmk__str_any_of 854 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-c", "--list-cts", NULL)) { pcmk__str_any_of 856 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-L", "--list", NULL)) { pcmk__str_any_of 858 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-l", "--list-raw", NULL)) { pcmk__str_any_of 860 tools/crm_resource.c } else if (pcmk__str_any_of(option_name, "-O", "--list-operations", NULL)) { pcmk__str_any_of 872 tools/crm_resource.c if (pcmk__str_any_of(option_name, "-p", "--set-parameter", NULL)) { pcmk__str_any_of 1054 tools/crm_shadow.c if (pcmk__str_any_of(option_name, "-w", "--which", NULL)) { pcmk__str_any_of 1057 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-p", "--display", NULL)) { pcmk__str_any_of 1060 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-d", "--diff", NULL)) { pcmk__str_any_of 1063 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-F", "--file", NULL)) { pcmk__str_any_of 1066 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-c", "--create", NULL)) { pcmk__str_any_of 1069 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-e", "--create-empty", NULL)) { pcmk__str_any_of 1072 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-C", "--commit", NULL)) { pcmk__str_any_of 1075 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-D", "--delete", NULL)) { pcmk__str_any_of 1078 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-E", "--edit", NULL)) { pcmk__str_any_of 1081 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-r", "--reset", NULL)) { pcmk__str_any_of 1084 tools/crm_shadow.c } else if (pcmk__str_any_of(option_name, "-s", "--switch", NULL)) { pcmk__str_any_of 84 tools/crm_ticket.c if (pcmk__str_any_of(option_name, "--info", "-l", NULL)) { pcmk__str_any_of 86 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--details", "-L", NULL)) { pcmk__str_any_of 88 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--raw", "-w", NULL)) { pcmk__str_any_of 90 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--query-xml", "-q", NULL)) { pcmk__str_any_of 92 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--constraints", "-c", NULL)) { pcmk__str_any_of 94 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--cleanup", "-C", NULL)) { pcmk__str_any_of 117 tools/crm_ticket.c if (pcmk__str_any_of(option_name, "--grant", "-g", NULL)) { pcmk__str_any_of 120 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--revoke", "-r", NULL)) { pcmk__str_any_of 123 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--standby", "-s", NULL)) { pcmk__str_any_of 126 tools/crm_ticket.c } else if (pcmk__str_any_of(option_name, "--activate", "-a", NULL)) { pcmk__str_any_of 303 tools/crm_ticket.c if (pcmk__str_any_of(name, "last-granted", "expires", NULL)) { pcmk__str_any_of 31 tools/iso8601.c if (pcmk__str_any_of(option_name, "--now", "-n", NULL)) { pcmk__str_any_of 33 tools/iso8601.c } else if (pcmk__str_any_of(option_name, "--date", "-d", NULL)) { pcmk__str_any_of 42 tools/iso8601.c if (pcmk__str_any_of(option_name, "--seconds", "-s", NULL)) { pcmk__str_any_of 44 tools/iso8601.c } else if (pcmk__str_any_of(option_name, "--epoch", "-S", NULL)) { pcmk__str_any_of 46 tools/iso8601.c } else if (pcmk__str_any_of(option_name, "--local", "-L", NULL)) { pcmk__str_any_of 48 tools/iso8601.c } else if (pcmk__str_any_of(option_name, "--ordinal", "-O", NULL)) { pcmk__str_any_of 50 tools/iso8601.c } else if (pcmk__str_any_of(option_name, "--week", "-W", NULL)) {