pcmk__strcase_any_of 668 daemons/attrd/attrd_commands.c if (pcmk__strcase_any_of(op, PCMK__ATTRD_CMD_UPDATE, PCMK__ATTRD_CMD_UPDATE_BOTH, pcmk__strcase_any_of 535 daemons/based/based_callbacks.c if (pcmk__strcase_any_of(op, CIB_OP_MASTER, CIB_OP_SLAVE, NULL)) { pcmk__strcase_any_of 45 daemons/based/based_common.c } else if (pcmk__strcase_any_of(crm_element_name(root), XML_TAG_FRAGMENT, pcmk__strcase_any_of 177 daemons/controld/controld_based.c return !pcmk__strcase_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE, pcmk__strcase_any_of 229 daemons/controld/controld_execd.c if (op->params && pcmk__strcase_any_of(op->op_type, CRMD_ACTION_START, pcmk__strcase_any_of 1610 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { pcmk__strcase_any_of 2025 daemons/controld/controld_execd.c && !pcmk__strcase_any_of(op_type, CRMD_ACTION_METADATA, CRMD_ACTION_DELETE, pcmk__strcase_any_of 2071 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { pcmk__strcase_any_of 379 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, pcmk__strcase_any_of 416 daemons/controld/controld_messages.c } else if (originated_locally && !pcmk__strcase_any_of(sys_from, CRM_SYSTEM_PENGINE, pcmk__strcase_any_of 422 daemons/controld/controld_remote_ra.c if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) { pcmk__strcase_any_of 606 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", pcmk__strcase_any_of 745 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, pcmk__strcase_any_of 452 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 499 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 528 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 302 daemons/controld/controld_te_utils.c } else if (pcmk__strcase_any_of(kind, XML_CIB_TAG_STATE, XML_CIB_TAG_NODE, NULL)) { pcmk__strcase_any_of 624 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", pcmk__strcase_any_of 882 daemons/execd/execd_commands.c && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) { pcmk__strcase_any_of 479 daemons/execd/pacemaker-execd.c if (option && !pcmk__strcase_any_of(option, "none", "/dev/null", NULL)) { pcmk__strcase_any_of 129 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { pcmk__strcase_any_of 147 daemons/fenced/fenced_commands.c if (!pcmk__strcase_any_of(action, "off", "reboot", NULL)) { pcmk__strcase_any_of 442 daemons/fenced/fenced_commands.c if (pcmk__strcase_any_of(cmd->action, "reboot", "off", NULL)) { pcmk__strcase_any_of 2427 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { pcmk__strcase_any_of 1761 daemons/fenced/fenced_remote.c if (pcmk__strcase_any_of(op->action, "off", "reboot", NULL)) { pcmk__strcase_any_of 74 lib/cib/cib_attrs.c } else if (pcmk__strcase_any_of(section, XML_CIB_TAG_OPCONFIG, XML_CIB_TAG_RSCCONFIG, pcmk__strcase_any_of 578 lib/cib/cib_attrs.c if (pcmk__strcase_any_of(scope, "reboot", XML_CIB_TAG_STATUS, NULL)) { pcmk__strcase_any_of 231 lib/cib/cib_client.c if (pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 1063 lib/cluster/cpg.c } else if (pcmk__strcase_any_of(text, CRM_SYSTEM_CRMD, CRM_SYSTEM_DC, NULL)) { pcmk__strcase_any_of 281 lib/common/attrd_client.c if (name == NULL || pcmk__strcase_any_of(name, "auto", "localhost", NULL)) { pcmk__strcase_any_of 917 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 931 lib/common/logging.c } else if (!pcmk__strcase_any_of(pwent->pw_name, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 408 lib/common/options.c return pcmk__strcase_any_of(value, "stop", "freeze", "ignore", "demote", "suicide", NULL); pcmk__strcase_any_of 149 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { pcmk__strcase_any_of 20 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", NULL)); pcmk__strcase_any_of 22 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", NULL)); pcmk__strcase_any_of 28 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("", "xxx", "yyy", NULL)); pcmk__strcase_any_of 30 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL)); pcmk__strcase_any_of 36 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 38 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 43 lib/common/tests/strings/pcmk__str_any_of_test.c assert_false(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL)); pcmk__strcase_any_of 2393 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, pcmk__strcase_any_of 2512 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { pcmk__strcase_any_of 724 lib/pacemaker/pcmk_graph_producer.c if (pcmk__strcase_any_of(fence, "off", "reboot", NULL)) { pcmk__strcase_any_of 1127 lib/pacemaker/pcmk_graph_producer.c pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, NULL)) { pcmk__strcase_any_of 418 lib/pacemaker/pcmk_sched_allocate.c } else if ((interval_ms > 0) || pcmk__strcase_any_of(task, RSC_STATUS, RSC_START, pcmk__strcase_any_of 1219 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { pcmk__strcase_any_of 694 lib/pacemaker/pcmk_sched_native.c return pcmk__strcase_any_of(name, RSC_STOP, RSC_START, RSC_DEMOTE, RSC_PROMOTE, NULL); pcmk__strcase_any_of 195 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__strcase_any_of(first, RSC_START, RSC_PROMOTE, pcmk__strcase_any_of 200 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 343 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 627 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, "cancel", "stop", "demote", "migrate_from", pcmk__strcase_any_of 270 lib/pacemaker/pcmk_sched_transition.c } else if (!pcmk__strcase_any_of(rclass, PCMK_RESOURCE_CLASS_OCF, PCMK_RESOURCE_CLASS_STONITH, pcmk__strcase_any_of 630 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { pcmk__strcase_any_of 656 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, NULL)) { pcmk__strcase_any_of 56 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, NULL)) { pcmk__strcase_any_of 26 lib/pengine/common.c return pcmk__strcase_any_of(value, "none", "custom", "only-green", "progressive", pcmk__strcase_any_of 33 lib/pengine/common.c return pcmk__strcase_any_of(value, "reboot", "poweroff", "off", NULL); pcmk__strcase_any_of 39 lib/pengine/common.c return pcmk__strcase_any_of(value, "default", "utilization", "minimal", pcmk__strcase_any_of 495 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 498 lib/pengine/common.c } else if (pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 258 lib/pengine/complex.c || pcmk__strcase_any_of(role, RSC_ROLE_STARTED_S, RSC_ROLE_UNPROMOTED_S, pcmk__strcase_any_of 65 lib/pengine/pe_output.c if (!pcmk__strcase_any_of(type, "ping", "pingd", NULL)) { pcmk__strcase_any_of 128 lib/pengine/rules.c } else if (pcmk__strcase_any_of(attr, CRM_ATTR_UNAME, CRM_ATTR_KIND, CRM_ATTR_ID, NULL)) { pcmk__strcase_any_of 899 lib/pengine/rules.c if (pcmk__strcase_any_of(op, "lt", "lte", "gt", "gte", NULL)) { pcmk__strcase_any_of 1430 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { pcmk__strcase_any_of 2274 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2280 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { pcmk__strcase_any_of 2283 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { pcmk__strcase_any_of 770 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); pcmk__strcase_any_of 815 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 838 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 1195 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 1239 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { pcmk__strcase_any_of 111 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__strcase_any_of 563 lib/services/upstart.c if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) { pcmk__strcase_any_of 381 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, pcmk__strcase_any_of 1689 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(rsc_action, "force-start", "force-stop", pcmk__strcase_any_of 1799 tools/crm_resource_runtime.c if (!pcmk__strcase_any_of(class, PCMK_RESOURCE_CLASS_OCF, pcmk__strcase_any_of 1843 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(rsc_action, "force-start", "force-demote",