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 166 daemons/controld/controld_based.c return !pcmk__strcase_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE, pcmk__strcase_any_of 228 daemons/controld/controld_execd.c if (op->params && pcmk__strcase_any_of(op->op_type, CRMD_ACTION_START, pcmk__strcase_any_of 1594 daemons/controld/controld_execd.c if (!pcmk__strcase_any_of(from_sys, CRM_SYSTEM_PENGINE, CRM_SYSTEM_TENGINE, NULL)) { pcmk__strcase_any_of 2008 daemons/controld/controld_execd.c && !pcmk__strcase_any_of(op_type, CRMD_ACTION_METADATA, CRMD_ACTION_DELETE, pcmk__strcase_any_of 2054 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 604 daemons/controld/controld_remote_ra.c if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start", pcmk__strcase_any_of 742 daemons/controld/controld_remote_ra.c if (pcmk__strcase_any_of(tmp->key, XML_RSC_ATTR_REMOTE_RA_ADDR, pcmk__strcase_any_of 454 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 501 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 530 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, pcmk__strcase_any_of 259 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 635 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", pcmk__strcase_any_of 953 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 1833 daemons/fenced/fenced_commands.c if (pcmk__strcase_any_of(check_type, "status", "dynamic-list", NULL)) { pcmk__strcase_any_of 2245 daemons/fenced/fenced_commands.c (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) { pcmk__strcase_any_of 1723 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 1049 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 890 lib/common/logging.c if (user != NULL && !pcmk__strcase_any_of(user, "root", CRM_DAEMON_USER, NULL)) { pcmk__strcase_any_of 904 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 18 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("xxx", NULL)); pcmk__strcase_any_of 20 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("", NULL)); pcmk__strcase_any_of 26 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("", "xxx", "yyy", NULL)); pcmk__strcase_any_of 28 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of(NULL, "xxx", "yyy", NULL)); pcmk__strcase_any_of 34 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 36 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); pcmk__strcase_any_of 41 lib/common/tests/strings/pcmk__str_any_of_test.c g_assert_false(pcmk__strcase_any_of("xxx", "aaa", "bbb", NULL)); pcmk__strcase_any_of 2394 lib/common/xml.c if (pcmk__strcase_any_of(name, XML_TAG_RESOURCE_REF, XML_CIB_TAG_OBJ_REF, pcmk__strcase_any_of 2447 lib/fencing/st_client.c } else if (pcmk__strcase_any_of(entry, "on", "off", NULL)) { pcmk__strcase_any_of 443 lib/pacemaker/pcmk_sched_allocate.c } else if ((interval_ms > 0) || pcmk__strcase_any_of(task, RSC_STATUS, RSC_START, pcmk__strcase_any_of 1947 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2109 lib/pacemaker/pcmk_sched_allocate.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 1223 lib/pacemaker/pcmk_sched_clone.c if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) { pcmk__strcase_any_of 1671 lib/pacemaker/pcmk_sched_constraints.c if (pcmk__strcase_any_of(action_first, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 859 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(task, "cancel", "stop", "demote", "migrate_from", pcmk__strcase_any_of 997 lib/pacemaker/pcmk_sched_graph.c if (pcmk__strcase_any_of(fence, "off", "reboot", NULL)) { pcmk__strcase_any_of 1453 lib/pacemaker/pcmk_sched_graph.c pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, NULL)) { pcmk__strcase_any_of 706 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 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 633 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { pcmk__strcase_any_of 659 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, 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 66 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 1436 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(join, CRMD_JOINSTATE_PENDING, CRMD_JOINSTATE_DOWN, NULL)) { pcmk__strcase_any_of 2277 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { pcmk__strcase_any_of 2283 lib/pengine/unpack.c if (pcmk__strcase_any_of(rc, "0", "8", NULL)) { pcmk__strcase_any_of 2286 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { pcmk__strcase_any_of 658 lib/pengine/utils.c return !pcmk__strcase_any_of(value, "standby", "demote", "stop", NULL); pcmk__strcase_any_of 703 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 726 lib/pengine/utils.c || !pcmk__strcase_any_of(role, RSC_ROLE_PROMOTED_S, pcmk__strcase_any_of 1083 lib/pengine/utils.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { pcmk__strcase_any_of 1127 lib/pengine/utils.c } else if (pcmk__strcase_any_of(value, "ignore", "nothing", NULL)) { pcmk__strcase_any_of 110 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__strcase_any_of 451 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 1687 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(rsc_action, "force-start", "force-stop", pcmk__strcase_any_of 1718 tools/crm_resource_runtime.c } else if (pcmk__strcase_any_of(class, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__strcase_any_of 1836 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(rsc_action, "force-start", "force-demote", pcmk__strcase_any_of 461 tools/crm_simulate.c if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED, NULL)) {